What a sub-agent is
A sub-agent is a helper with its own instructions, model and tools. Its tools can be the knowledge base (one knowledge base per sub-agent), a datastore it writes to, or actions in a connected app. Sub-agents are how your main agent gets any of these abilities.
Templates
Start from Knowledge Base, Datastore Entry, Third-Party Integration, Blank Helper or Post-Conversation Analyst, then rewrite the instructions in plain English.
Test and pin
Run the sub-agent in the playground to see which app actions it reaches for, then pin the exact actions it may use — up to 15 per app.
When it runs
- Mid-conversation: in website chat and browser voice, the main agent calls a sub-agent when the conversation needs it. Each run can take up to 5 tool steps.
- By your team: from the live inbox, a teammate can run any sub-agent privately, including on Telegram threads, and copy the answer into a reply.
- After the conversation: pick a sub-agent as the post-conversation analyst to fill the outcome fields you define and use its tools.
Sub-agents don't run inside Telegram conversations yet.
Least privilege
A sub-agent can only use the tools you attached. One sub-agent can be added to several agents, and one agent can use many sub-agents.
Logged and metered
Every run is recorded on the conversation: the request, the tools used and the answer. Knowledge searches, datastore writes and integration calls count toward your plan; when one runs out, that tool is hidden from the helper.
Related docs