Supervisor agent
A Supervisor agent step keeps the customer while it asks specialist agents for help in the background. Its specialists are its Consult connections. The supervisor decides who to ask, asks them one after another or at the same time, and combines their answers into one reply.
When to use it
Section titled “When to use it”- A customer asks about a home loan top-up and an insurance cover in one call, and each needs its own specialist.
- A travel booking needs answers from a fares agent, a baggage agent and a visa agent.
- An internal assistant pulls facts from a policy agent and a claims agent before replying.
When not to use it
Section titled “When not to use it”- The request should move to one specialist who then owns the conversation. Use Router agent.
- A person must join the conversation. Use Human agent. An agent cannot consult a human in the background.
- No customer is involved. Use Task agent, with Parallel if you need several at once.
Settings
Section titled “Settings”| Setting | What it does |
|---|---|
| Agent | Required. The agent from your library that supervises. |
| Most consultations per request | 1 to 10. Default: 3. |
| Ask specialists | parallel (default) or sequential. |
| Combine answers | summarise (default), best_answer or all. |
| Time limit | When it passes, the error path is taken. |
What it produces
Section titled “What it produces”- A single Next when the supervisor finishes, and an error path.
steps.<step id>: what the supervisor reported when it finished.
Example
Section titled “Example”A bank answers combined product questions in chat.
Channel inbound (web chat) → Supervisor agent (advisor) consult → Conversational agent (loans) consult → Conversational agent (insurance)→ End