Subagents
Subagents
.kimi-code/agents/*.md
Vendor docs
frontmatter
| name | type | required | meaning | concept | |
|---|---|---|---|---|---|
| description | string | yes |
What the agent does, shown to the main Agent when it picks a sub-agent. Write it to guide delegation decisions
|
docs ↗ | |
| disallowedTools | string |
Denylist with the same syntax and matching rules, applied after `tools`
|
docs ↗ | ||
| name | string |
Unique kebab-case identifier; defaults to the file name without its extension. A file with a missing or non-kebab-case name is skipped with a warning
|
docs ↗ | ||
| override | string |
Whether the file may replace a same-name built-in Agent; defaults to `false`. `--agent-file` does not need it
|
docs ↗ | ||
| subagents | string |
Sub-agent allowlist, same syntax as `tools`. Omit to inherit the built-in default (`coder`, `explore`, `plan`); a lone `*` allows every type. The main agent's effective list also includes every discovered custom agent
|
docs ↗ | ||
| tools | string |
Tool allowlist (`Read`, `Bash`); MCP tools match as globs (`mcp__github__*`). YAML list or comma-separated string; omit or use a lone `*` to allow all tools, `tools: []` disables all tools
|
docs ↗ | ||
| whenToUse | string |
Extra hint describing when the agent should be used
|
docs ↗ |