Skip to main content
Use a flat file for a small SubAgent that needs only its definition.
subagents/researcher.py exports an AgentDefinition named researcher.

Flat SubAgent properties

Move the SubAgent into a folder when it needs private instructions or capabilities.

Folder-owned SubAgents

Create a separate capability boundary for the child agent.