How to do Agent Handoff? #405
-
Hi, I'm trying to create a scenario where 1 human can hold a conversation with 2 AIs using Realtime Agents, and I'm hoping to implement that via handoffs. But I don't see any classes related to Realtime Agents. May I ask if that is something that is currently supported? Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Well, the Agents SDK isn't something that is re-implemented in this plugin, but something you should be easily able to do on your own by wrapping your own Agent class. Once you've got that setup you're pretty much gonna do what they have in that example but in c#. You'll want to create a custom tool with a custom data structure that contains all of the relevant information you want to hand-off. You can choose to pass off just the relevant information or a full summary of the whole conversation so far. |
Beta Was this translation helpful? Give feedback.
Well, the Agents SDK isn't something that is re-implemented in this plugin, but something you should be easily able to do on your own by wrapping your own Agent class.
Once you've got that setup you're pretty much gonna do what they have in that example but in c#. You'll want to create a custom tool with a custom data structure that contains all of the relevant information you want to hand-off. You can choose to pass off just the relevant information or a full summary of the whole conversation so far.