Get startedGet started for free

Your first agent!

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

  • 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.


Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise