Humans sometimes need to talk to an other human instead of an AI, yeah I know sounds weird right? But turns out this could be quite beneficial for customer satisfaction. Superagent enables this by offering a specific tool we call
Prerequisites: This tutorial expects you to have configured an LLM and created an Agent
- Create a
HAND_OFFtool. This tool will make sure to trigger and ask the user if they want to speak to a human.
- Invoke the Agent to test the hand-off
That's it, you can now run arbitrary code whenever the human hand-off is triggered.