Subagents are specialized agents that can autonomously execute complex tasks on your behalf. They have their own context, tool access, and decision-making capabilities, making them ideal for sophisticated multi-step operations.
Kiro includes a default subagent that can handle general-purpose tasks. When you assign a task to a subagent, the default subagent is used unless you specify a custom agent configuration.
You can spawn subagents using your own agent configurations. This allows you to create specialized subagents tailored to specific workflows:
> Use the backend agent to refactor the payment module
To use a custom agent as a subagent, reference it by name when assigning tasks. The subagent will inherit the tool access and settings from that agent's configuration.
Subagents run in a separate runtime environment. Some tools available in normal chat are not yet implemented in subagents.
Available tools:
read - Read files and directorieswrite - Create and edit filesshell - Execute bash commandsNot available:
web_search - Web researchweb_fetch - Fetch URLsintrospect - CLI infothinking - Reasoning tooltodo_list - Task trackinguse_aws - AWS commandsgrep - Search file contentsglob - Find files by pattern| Issue | Solution |
|---|---|
| Subagent not starting | Verify the task description is clear and actionable |
| Missing tool access | Check if the required tool is available in subagent runtime (see table above) |
| Incomplete results | Provide more specific instructions or break into smaller tasks |
Subagents