Orchestrate a Multi-Agent System
In this notebook, we will make a multi-agent web browser: an agentic system with several agents collaborating to solve problems using the web! It will be a simple hierarchy, using aManagedAgent
object to wrap the managed web search agent:
Installation
openai/gpt-4o-mini
using the LiteLLMModel
class.
Create a Web Search Tool
For web browsing, we can already use our pre-existingDuckDuckGoSearchTool
. However, we will also create a VisitWebpageTool
from scratch using markdownify
. Here’s how:
Build Our Multi-Agent System
We will now use the toolssearch
and visit_webpage
to create the web agent.