Documentation ¶ Overview ¶ Command agent-subagent nests one agent inside another as a tool via agent.AsTool: the outer agent delegates research questions to an inner agent bound to its own prompt, each invocation running in an isolated session. Source Files ¶ View all Source files main.go Click to show internal directories. Click to hide internal directories.