The agents frontmatter property defines the custom agents that the current agent can invoke as subagents. It establishes the delegation boundary for an orchestrator or other coordinating agent.
The tools property grants operational capabilities such as file access, terminal commands, MCP tools, or the agent invocation tool itself. It does not identify the specific custom-agent profiles available for delegation. The mcp-servers property configures external MCP servers; it does not define subagent membership.
Handoffs are user-facing transitions from one custom agent to another. They are useful for moving a conversation from planning to implementation but are not the configuration mechanism for an agent’s available subagent array. The target field identifies an execution target or context and is unrelated to delegation membership.
For a reliable orchestration design, include only the required specialized agents in the agents list and ensure the parent agent has the appropriate agent-invocation capability.
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit