Your first agent!
Questo esercizio fa parte del corso
Multi-Agent Systems with LangGraph
Istruzioni dell'esercizio
Run the first two cells to install the libraries and re-define the tools
- Loop through each tool and print its
.nameand.descriptionattributes. - 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 instate. - Construct a linear graph that passes inputs from
STARTinto the LLM, then into the tools, then to theENDnode.
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.
Esercizio pratico interattivo
Passa dalla teoria alla pratica con uno dei nostri esercizi interattivi
Inizia esercizio