Ownership properties
The child’s private capabilities are not exposed to the parent merely because the directory is nested.
Discovery rules
Framework behavior
Check recursive discovery and portable graph behavior before choosing the layout.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Give a SubAgent its own instructions, tools, MCP connections, skills, and sandbox.
subagents/researcher/
├── agent.py
├── instructions.md
├── tools/
├── mcp/
├── skills/
├── sandbox/
└── subagents/ ADK-only recursive discovery
| Resource | Child can own it? | Inherited from parent? |
|---|---|---|
instructions.md | Yes | No |
tools/ | Yes | No |
mcp/ | Yes | No |
skills/ | Yes | No |
sandbox/ | Yes | No |
plugins/ | No | No |
extensions/ | No | Root-owned |
models/ and lib/ | No | Root namespace |
| Rule | Result |
|---|---|
agent.py export matches the folder name | Stable SubAgent identity |
| Supported child folders are discovered by location | No manual capability list |
| Unsupported root-only folder is populated | Compilation fails |
| Parent references the child | Harnest wires the composition |