Skip to content
  1. Home
  2. AI tools
  3. LangGraph

LangGraph

Low-level Python framework for stateful, long-running agents

What it is

A Python orchestration library for building agents as graphs of steps with persisted state. It provides durable execution, checkpointing and human-in-the-loop hooks rather than ready-made agents; a JS/TS sibling exists in a separate repo. For engineers who want fine control over agent control flow.

Good for

  • Build an agent that survives restarts
  • Add human approval steps to a workflow
  • Model multi-step agent logic as a graph

Install or run

pip install -U langgraph

Command as given in the project README. Read the repository before you run anything on your machine.

What you need

Python; an LLM provider API key

Worth knowingDeliberately low-level: you assemble the agent yourself, so expect more code than with higher-level frameworks.

Sources

The summary is ours, written from the README. Spotted an error? See how we work.

More for coding

See the topic →
  • opencode

    anomalyco/opencode

    Open-source AI coding agent with a terminal UI and desktop app

    ToolGitHub stars: 227k
  • Claude Code

    anthropics/claude-code

    Anthropic's terminal coding agent; this repo hosts issues and plugins

    ToolGitHub stars: 156k
  • Spec Kit

    github/spec-kit

    GitHub's toolkit for spec-driven development with coding agents

    ToolGitHub stars: 150k
  • Codex CLI

    openai/codex

    OpenAI's terminal coding agent that runs locally on your machine

    ToolGitHub stars: 135k