Expand description
Subagent configuration schema and parsing
Subagents are specialized AI agents that can be invoked for specific tasks. Built-in subagents are shipped with the binary.
§Built-in subagents include:
- explore: Fast read-only codebase search
- plan: Research for planning mode
- general: Multi-step tasks with full capabilities
- code-reviewer: Code quality and security review
- debugger: Error investigation and fixes
Structs§
- Subagent
Config - Complete subagent configuration
- Subagent
Frontmatter - YAML frontmatter parsed from subagent markdown file
- Subagents
Config - Configuration for the subagent system in vtcode.toml
Enums§
- Subagent
Model - Model selection for subagent
- Subagent
Parse Error - Errors that can occur when parsing subagent configurations
- Subagent
Permission Mode - Permission mode for subagent tool execution
- Subagent
Source - Source location of a subagent definition
Functions§
- discover_
subagents_ in_ dir - Discover all subagent files in a directory
- load_
subagent_ from_ file - Load subagent from a markdown file