MulaiMulai sekarang secara gratis

Another agent!

Latihan ini adalah bagian dari kursus

Multi-Agent Systems with LangGraph

Lihat Kursus

Petunjuk latihan

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.


Latihan interaktif praktis

Ubah teori menjadi tindakan dengan salah satu latihan interaktif kami.

Mulai berolahraga