Get startedGet started for free

Supervisor agents

This exercise is part of the course

Multi-Agent Systems with LangGraph

View Course

Exercise instructions

Run the first two cells to install the libraries and re-define the tools

  • Create an agent called "researcher" with the wikipedia_tool and stock_data_tool tools, and an "analyst" agent with the python_repl_tool tool.
  • Define and compile a supervisor agent graph that delegates tasks to the "researcher" and "analyst" agents.
  • Visualize your supervisor agent graph and experiment with your magnificent creation!


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

Start Exercise