Get startedGet started for free

One-line agents

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

  • Re-create your agent built with conditional edges using LangGraph's high-level create_react_agent() syntax, calling the agent "finance_assistant".
  • Re-run the visualization and chatbot code and compare it to what you found previously.


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