Aan de slagGa gratis aan de slag

Another agent!

Deze oefening maakt deel uit van de cursus

Multi-Agent Systems with LangGraph

Cursus bekijken

Oefeninstructies

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 and transfer_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 and analyst_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.


Praktische interactieve oefening

Zet theorie om in actie met een van onze interactieve oefeningen.

Begin met trainen