MulaiMulai sekarang secara gratis

Your first 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

  • Loop through each tool and print its .name and .description attributes.
  • Define a list containing all three tools, bind the tools with the LLM to make it tool-aware, and complete the llm_node() function so it invokes the LLM on the messages in state.
  • Construct a linear graph that passes inputs from START into the LLM, then into the tools, then to the END node.


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