Superagent 03 - Nested Agents
AI Summary
Summary: Setting Up Nested Agents with Super Agents
- Introduction
- Demonstrating the setup of nested agents using super agents.
- Nesting can be done through SDKs or UI.
- Creating a German-Speaking Agent
- First, create a basic German-speaking agent using a wizard.
- The agent is a large language model that answers in German.
- Optionally, tools or documents can be added.
- Creating a German Agent Tool
- Create a tool named “German agent tool” for answering questions in German.
- Set the type to super agent and select the German agent from the dropdown.
- The tool is now ready to be used.
- Creating an Orchestration Agent
- Create another agent that will use the German agent tool.
- Enable the German agent tool in the orchestration agent’s toolbox.
- Configure the orchestration agent to use attached tools for translating English to German.
- Finalizing and Testing
- Choose a model, add an API key, and name the orchestration agent.
- Run the orchestration agent and test by translating “hello world” to German.
- The nested agent should successfully translate the query.
- Conclusion
- Multiple nested agents can be created and equipped with various tools and documents.
- These are then attached to an orchestration agent to function together.