LangGraph examples
This folder contains examples demonstrating stateful workflows and agent routing with LangGraph.
Requirements
- Python 3.10+
- An OpenAI API key set as an environment variable (
OPENAI_API_KEY)
Examples
basic_agent/: Basic single-node stateful graph agent.review_workflow/: Graph workflow with explicit review states.checkpointed_resume/: Resuming graph runs from saved checkpoints.human_in_the_loop/: Pausing graph execution for human approval.multi_agent_router/: Routing execution across multiple specialized agents.
Running the examples
Each example is in its own folder and contains a README.md with instructions on how to run it.