https://retellai.com/?utm_source=discord&utm_medium=seo logo
Can you give me some instructions to give to my AI...
# ❓・ai-evy-support
f
@AI Evy Can you give me some instructions to give to my AI coder to explain how the agent transfer mechanism works
a
Thanks for tagging me @FullThrottleFu. I'll look through relevant sources and get back to you shortly.
### Answer --- Here are instructions you can share with your AI coder about how Agent Transfer works in Retell AI: ## What is Agent Transfer? Agent Transfer (also called Agent Swap) enables switching from one AI agent to another during a call without using traditional phone-based transfers. [(1) ]() [(2) ]() ## Key Advantages Over Call Transfer - **Lower Latency**: The transition between agents is near-instant, much lower than transfer call. - **Better Reliability**: No need to create a new phone call, avoiding potential telephony failures. - **No Handoff Message Needed**: The destination agent has access to the full conversation history. - **No Separate Numbers for Agents**: Agents receiving transfers don't need their own phone numbers. ## Settings Behavior The following settings of the first agent persist throughout the call: -
optInSignedUrl
-
optOutSensitiveDataStorage
-
webHookUrl
All other settings (language, voice, voiceModel) reflect the currently active agent. ## Implementation Steps For Single/Multi Prompt agents: 1. Add "Agent Transfer" tool from the tools section dropdown [(1) ]() 2. Configure the transfer agent ID and version (can select latest version) 3. Configure speak during execution messages and post-call analysis settings 4. Update the prompt with clear instructions, e.g.:
"If the user asks to book an appointment, use the agent_transfer tool to transfer to the Appointment Agent."
For Conversation Flow: 1. Add "Agent Transfer" node from the 'Add New Node' menu [(2) ]() 2. Configure the same settings as above ## Common Use Cases - Langua
ge routing agent [(3) ]() - CSAT survey agent - Payment agent - Transferring from front-desk to appointment-booking based on task [(1) ]() [(2) ]()
​ To learn more, see the sources I considered: [[1] Agent Transfer](https://docs.retellai.com/build/single-multi-prompt/transfer-agent) [[2] Agent Transfer Node](https://docs.retellai.com/build/conversation-flow/transfer-agent-node) [[3] Agent transfer, MCP Client, Static IP and more](https://www.retellai.com/changelog/agent-transfer-mcp-client) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.