This repository has been archived on 2026-06-13. You can view files and clone it, but cannot push or open issues or pull requests.
anvillm/kiro-cli
Levi Neely 96876ea6c8
Add output discipline enforcement (bd-nk8) (#13)
- OUTPUT_PROTOCOL.md: shared protocol injected at session start for all backends
- anvillm-hook: injects OUTPUT_PROTOCOL.md via Kiro agentSpawn
- claude/agent/anvillm-agent.md: Output Protocol section (Claude session-start equivalent)
- bot-templates: Output Protocol block in Conductor and Taskmaster contexts
- anvillm-communication skill: structured body schemas for all message types
- install-hooks.sh: also installs anvillm-agent.md to ~/.claude/agents/
- kiro-cli/README.md: install instructions for prompt files

Co-authored-by: Levi Neely <lkn@darkstar.example.net>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-23 21:48:58 +01:00
..
agent Make skills command conditional: use agent-prompt/agent-skills if available 2026-02-19 15:30:56 +01:00
mcp Add env field to MCP config for consistency 2026-02-18 21:44:42 +01:00
README.md Add output discipline enforcement (bd-nk8) (#13) 2026-02-23 21:48:58 +01:00
SKILLS_PROMPT.md Fix bead claim bug 2026-02-21 09:42:19 +01:00
install-mcp.sh Add Kiro CLI MCP server configuration 2026-02-18 19:57:14 +01:00

README.md

Kiro CLI Integration

This directory contains configuration for integrating AnviLLM with Kiro CLI.

Installation

MCP Server

Install the AnviLLM MCP server to enable agent communication tools:

./kiro-cli/install-mcp.sh

This configures the anvilmcp MCP server in ~/.kiro/settings/cli.json, providing tools:

  • read_inbox - Read messages from agent's inbox
  • send_message - Send messages to other agents or user
  • list_sessions - List all active sessions
  • set_state - Set agent state (idle, running, etc.)

Agent Configuration

The agent configuration is in ./kiro-cli/agent/anvillm-agent.json and includes hooks that:

  • Set agent state to running when prompts are submitted
  • Set agent state to idle when stopped

To use this agent configuration, copy it to your Kiro agents directory:

cp ./kiro-cli/agent/anvillm-agent.json ~/.kiro/agents/

Prompt Files

Copy the session-start prompt files so hooks can inject them:

mkdir -p ~/.kiro
cp ./kiro-cli/SKILLS_PROMPT.md ~/.kiro/SKILLS_PROMPT.md
cp ./OUTPUT_PROTOCOL.md ~/.kiro/OUTPUT_PROTOCOL.md

The agentSpawn hook injects both files at session start to set output discipline and skill discovery context.

Requirements

  • anvilmcp binary must be in PATH (built from cmd/anvilmcp)
  • anvilsrv daemon must be running
  • jq for installation scripts