How do AI agents work together as a team?
One agent doing everything gives weaker answers. An agent team splits the work: a lead agent talks to the person and hands specific tasks to specialists, each set up to do one job well.
┌─▶ Specialist: Billing expertWhatsApp ─▶ Lead agent ┼─▶ Specialist: Swahili writer └─▶ Specialist: Order trackerBuild a team
Section titled “Build a team”- Add an AI Agent for the lead and turn on Autonomous mode. Handing work to specialists needs it.
- Add another AI Agent for each specialist.
- Drag from the lead’s specialists output to each specialist.
- In each specialist, fill in:
- Role: a short name, for example “Billing expert”.
- When to use: when the lead should call it. The lead picks a specialist by this description, so be specific, for example “Questions about invoices, payments, refunds and M-Pesa receipts”.
- System prompt: the specialist’s own instructions and knowledge.
The lead’s panel shows the specialists it leads, for example Leads 3 of 5 specialists.
- Up to 5 specialists per lead.
- One level only. A specialist can’t have specialists of its own.
- A specialist has no other connections. It only works when the lead calls it, and never runs on its own in the workflow’s order.
- Shared budget: the whole team shares one budget per run, 40 actions and 5 minutes. When it’s spent, the run stops cleanly.
- Approvals still apply. Anything a specialist sends or pays goes through the same approvals as the lead.
- Memory: specialists don’t save long-term memory by default, because the lead holds the conversation. Turn on Use memory in a specialist if it should remember.
When a team helps
Section titled “When a team helps”- Different knowledge: a support lead with billing, delivery and product specialists.
- Different languages or tone: a lead with English and Swahili writers.
- Different tools: a lead that delegates “find the order” to a specialist with store access, and “draft the reply” to a writer with none.
If one agent with a clear prompt handles the job well, keep one. Teams cost more per conversation.
Example template
Section titled “Example template”WhatsApp Customer Support AI Team in English and Swahili is a lead agent with specialists for different kinds of customer questions.
Questions
Can AI agents work together?
Yes. A lead agent hands specific tasks to up to 5 specialist agents connected to its specialists output.
How does the lead pick a specialist?
By each specialist's When to use description, so make it specific, for example "Questions about invoices, payments and refunds".
Is there a limit on what a team can do?
Yes. The whole team shares one budget per run: 40 actions and 5 minutes. Approvals still apply to every specialist.