Converts all Agency agents into Kimi Code CLI agent specifications. Each agent
becomes a directory containing agent.yaml (agent spec) and system.md (system
prompt).
- Kimi Code CLI installed
# Generate integration files (required on fresh clone)
./scripts/convert.sh --tool kimi
# Install agents
./scripts/install.sh --tool kimiThis copies agents to ~/.config/kimi/agents/.
Use the --agent-file flag to load a specific agent:
kimi --agent-file ~/.config/kimi/agents/frontend-developer/agent.yamlcd /your/project
kimi --agent-file ~/.config/kimi/agents/frontend-developer/agent.yaml \
--work-dir /your/project \
"Review this React component for performance issues"ls ~/.config/kimi/agents/Each agent directory contains:
~/.config/kimi/agents/frontend-developer/
├── agent.yaml # Agent specification (tools, subagents)
└── system.md # System prompt with personality and instructions
version: 1
agent:
name: frontend-developer
extend: default # Inherits from Kimi's built-in default agent
system_prompt_path: ./system.md
tools:
- "kimi_cli.tools.shell:Shell"
- "kimi_cli.tools.file:ReadFile"
# ... all default toolsAfter modifying source agents:
./scripts/convert.sh --tool kimi
./scripts/install.sh --tool kimiEnsure you've run convert.sh before install.sh:
./scripts/convert.sh --tool kimiMake sure kimi is in your PATH:
which kimi
kimi --versionValidate the generated files:
python3 -c "import yaml; yaml.safe_load(open('integrations/kimi/frontend-developer/agent.yaml'))"