Multi-agent voice AI splits one phone line across focused agents. A router picks the specialist, and the call moves there with the conversation so far. For teams that want to own the platform, Dograh, the open-source AI voice agent platform you can self-host or run on Dograh Cloud, does this with Transfer To Agent.
Key Takeaways
- Split an agent when jobs need their own tools, rules or voice.
- Give each destination one tool with a firing condition no other tool shares.
- Dograh passes the full labeled transcript at handoff, with no summary call.
One agent that does everything gets harder to change with every job you add. This guide covers when to split it and how the router and the handoff should work, then builds the whole chain in Dograh, an open-source AI voice agent platform, with a test plan.
When one agent should become several
Split when the jobs pull the agent in different directions. A sign is a prompt that keeps growing, where a fix for returns breaks something in billing. Another is tools that only one job uses, such as a refund tool the order-status part of the call should never touch. Different voices or languages for different callers point the same way, and so does a team where different people own different parts of the line.
LiveKit says the handoff pattern "shines when there are 3+ distinct domains". Read that as guidance on fit, not a rule. Two jobs with very different tools can justify a split, and five jobs that share the same lookup may not.
The pattern also replaces something callers dislike. A router agent that asks "What can I help you with today?" does the work of an IVR menu without making anyone press keys or listen to a list. Language works the same way, with a router that hands Spanish speakers to a Spanish agent, which our post on language switching in voice agents covers.
When to keep a single agent
More agents mean more handoffs, and each handoff is a moment the caller waits and something can go wrong. LiveKit's advice is to skip the triage layer when there is only one specialist, and we agree. A router in front of a single specialist adds a ringer and a second greeting for no gain.
Keep jobs together when they need each other within a single answer. If confirming a delivery date needs the order lookup and the returns policy in the same sentence, a split forces a handoff in the middle of a thought. Keep it as one agent, or move the shared part into a tool both agents can call.
A single agent can still route without moving the caller. Edges between nodes in one agent handle "this part of the call, then that part", and a node can carry its own tools. Our post on AI call routing shows when node routing is enough and when a router agent earns its place.
Design the router agent
The router's only job is to choose. Keep it short, with a greeting, one question about what the caller needs, and one tool per destination. It answers nothing itself beyond small clarifying questions, because every extra job it takes on makes routing harder to predict.

The model routes on tool names and descriptions, so that is where the rules go. Name each tool after its destination and describe exactly when it should fire, with a condition no other tool shares. For our example, the Orders tool reads like this.
Name: Transfer to Orders
Description: Hand the call to the orders agent when the caller asks where an
order is, when it will arrive, or wants to change a delivery.
Do not call it for returns, refunds or damaged items.
What this does: It tells the model exactly which calls go to Orders and names the nearby case that does not, so a "my parcel arrived broken" call is left for the Returns tool.
In the router's prompt, follow four rules from Dograh's tool guidance. A turn is either spoken words or a tool call, never both. The router does not announce the transfer, since the handover message does that. Every destination has a mutually exclusive condition. And the prompt ends with success criteria that name which tool fires for which outcome, and state that exactly one transfer should ever fire. Add a fallback too. When nothing fits after one clarifying question, the router keeps helping or hands the caller to a person.
Check: Read each tool description next to the others. Any call you can imagine should match exactly one of them.
Open Source Alternative to Vapi / Retell
Self-hosted voice agent platform — no per-minute fees
dograh-hq/dograh
Star on GitHub
What carries over at the handoff
Context is the part callers notice. Nobody wants to give their order number twice. There are two ways to carry it. LiveKit recommends passing a structured summary of intent, details, sentiment and actions taken, and Deepgram's multi-agent example has a small, fast model write a summary so each agent starts fresh. A summary is short and focused, but it is a generated text, so a detail it drops is gone for the next agent, and it adds a model call at the moment of handoff.
Dograh passes the transcript instead. The destination receives one message with a heading such as Conversation with previous agent "Reception":, with caller and agent speech labeled, no minimum number of turns and no summary call during the transfer. Anything the caller says while the destination is being prepared is included and marked. After several handoffs, the earlier agents' history stays in the same transcript. The source agent's prompts, tool calls and tool results are filtered out, so its private instructions never reach the next agent, while spoken text that came with a tool call stays.
The cost of the transcript is length. A long call hands over a long history, so tell the destination's prompt to use it and not to ask again for what the caller already gave.
Each destination brings its own prompt, tools, language model and voice, which is how a returns agent can sound different from reception. Our post on using different models in one voice agent covers that choice. The call keeps its speech-to-text service. When both agents use the same provider, model and connection, Dograh tries to apply the destination's language settings to it, and some services keep their first settings for the whole call.
What the caller hears during the handoff
A handoff has three moments, and you control the first and the last. First, the current agent speaks the Handover message in its own voice, such as "Let me put you through to our returns team. One moment." Leave it empty for a silent handover, and write it in the language the destination speaks, since the default line is English.
Second, the caller hears a ringer while Dograh prepares the destination agent. Third, the destination opens according to the setting When the destination agent picks up, its greeting mode, which offers three choices.
Play its greeting, then wait suits an agent whose greeting already asks what the caller needs, though the caller may feel they are starting over. Continue the conversation skips the greeting and replies straight from the history, which suits an agent that also answers its own phone number and should not introduce itself twice. Introduce itself, then continue says a fixed Introduction in the destination's voice, such as "Hi, this is Returns. My colleague has filled me in.", and then carries on. For an agent that only takes handoffs, that last choice is usually the best, because the caller hears who picked up without repeating anything.
Build Reception, Orders and Returns in Dograh
Build the destinations first, because each tool stores the agent it points at. These steps follow the published Dograh docs. Run them on a trial server before production. The Transfer to Agent page lists every setting used here.
On Dograh Cloud, and on a self-hosted install connected to a free Dograh account, new agents start in the Agent Builder. You can also start from a blank canvas.
The Agent Builder runs on Dograh's hosted models, so on a server with no internet access you build on the canvas. Either way, the transfer tools are set up on the Tools page.
- Create the Orders agent and the Returns agent, each with its own prompt, tools and voice. In each prompt, add a line that the caller has already spoken to a colleague and should not be asked to repeat themselves.
- Open Tools in the sidebar, select Create Tool and choose Transfer To Agent. Set Tool Name to Transfer to Orders, paste the description from above, pick the Orders agent under Transfer to agent, write the Handover message and pick Introduce itself, then continue with a short Introduction.
- Create a second tool, Transfer to Returns, the same way, with a description that covers returns, refunds and damaged items and names order questions as the case it skips.
- Create the Reception agent. Write the short router prompt from the section above, then attach both tools to its node under Tools.
- Publish all three agents, then point your phone number's Inbound workflow at Reception.
Check: Reception's node lists both tools, and each tool shows the right destination agent.
Join the Dograh Community
Dograh is an OSS alternative to Vapi. Join our Slack community for queries, releases, best practices & community interactions.
Keep every agent in the chain on a cascade model
Transfer To Agent runs on cascade agents, the ones with separate speech-to-text, language and voice models. It works on every cascade call, including browser test calls, which makes handoffs quick to try. Build the router and every specialist on cascade models.
A speech-to-speech agent, one realtime model that hears and speaks, keeps the caller instead. The tool still appears, but it answers "Transferring to another agent is not available on this call. Continue helping the caller yourself.", so the agent carries on and the call never drops. If a specialist needs a speech-to-speech model for its own part, let it take calls on its own number rather than as a handoff target.
Transfer To Agent vs Transfer Call
The two tools move the caller to different places. The choice follows who should answer, another agent or a person.
| Transfer To Agent | Transfer Call | |
|---|---|---|
| Who answers | Another Dograh agent | A person, a queue or another phone system |
| What they get | A labeled transcript of the conversation | No conversation by default, optional spoken introduction on Twilio |
| Where it runs | Any cascade call, including web calls | Twilio, Telnyx, Plivo, Cloudonix and Asterisk ARI calls |
| How it connects | The caller stays on the same call throughout | Dograh calls the destination first and connects the caller only when someone answers |
Most lines need both. A router hands callers between agents, and each specialist carries a Transfer Call tool for the cases a person must handle, as our guide to building an AI customer support agent sets up. The person answering never sees the agents' transcript, so write the details to your helpdesk first. Our call transfer and human handoff guide covers that side.
Test the handoffs before callers do
Test routing with the calls that sit between destinations. Use Test Agent in the browser on Reception and try clear cases first, then the hard ones, such as "my order arrived broken" or "I want to return something I haven't received yet". Each should reach exactly one agent, and the second one should not re-ask the order number.
Then test the failure cases. Ask something neither tool covers and check the fallback. Say two things at once, such as a return and a delivery question, and check that only one transfer fires. Then call the real number with Phone Call to hear the ringer and the introduction on phone audio.
If something goes wrong, the result usually names it. "A transfer is already under way" means two tools fired, so tighten the descriptions. A destination that introduces itself and then waits is set to Play its greeting, then wait, so switch it. A destination that sometimes skips its introduction under Continue the conversation should move to Introduce itself, then continue. And if the model picks the wrong destination, fix the tool descriptions before you touch the prompt.
Check: Every test call reaches one agent, the caller never repeats a detail, and the fallback works when nothing fits.
Glossary
- Router agent
- A short first agent whose only job is to learn what the caller needs and hand the call to the right specialist agent.
- Handover message
- The line the current agent speaks in its own voice just before a handoff, such as 'Let me put you through to returns.'
- Greeting mode
- How a destination agent opens after a handoff. In Dograh it plays its greeting, continues the conversation, or introduces itself and continues.
- Cascade agent
- An agent built from separate speech-to-text, language and voice models. Dograh's agent handoffs run on cascade agents.

