Another agent!
This exercise is part of the course
Multi-Agent Systems with LangGraph
Exercise instructions
Run the first two cells to install the libraries and re-define the tools
- Create handoff tools to handoff tasks to the researcher and analyst agents,
transfer_to_researcher
andtransfer_to_analyst
, respectively. - Create two agents to manage the research and analyst tools, named
"researcher"
and"analyst"
, that will have access to the task tools and handoff tools. - Create the swarm graph from the
research_agent
andanalyst_agent
, ensuring the workflow starts with the researcher agent.
Note: If you’re running DataLab in Restricted Mode, this exercise isn’t supported yet. We’re actively working on making it available in the future.
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
