AI GLOSSARY · AGENTS AND AGENT TOOLING

LangGraph

Markdown version · Wikidata Q132393291

Definition

LangGraph is a framework and runtime from LangChain for building long-running, stateful agents. Developers define a workflow as a graph of shared state, nodes and edges.

Also called: lang graph, langgraph ai, langgraph agents, LangGraph framework, LangGraph Python.

In plain language

LangGraph is a toolkit for programmers who build AI agents that need to do more than answer once. Instead of one long script, the developer draws the work as a map: steps, and the rules for which step comes next. The tool remembers where a run has got to, so a task can pause for a person to check something and carry on afterwards, or restart after a failure. A typical use is a support assistant that drafts a reply, waits for approval, then sends it. It is a library for developers, not a ready-made assistant. It adds concepts to learn, and a simple task may not need it at all.

Technical definition

LangGraph's documentation calls it a low-level orchestration framework and runtime for long-running, stateful agents. Workflows are defined as graphs of shared state, nodes and edges, and deterministic steps can be mixed with model-driven ones. The overview lists durable execution by checkpointing state so a run can resume after failures or pauses, human-in-the-loop pauses to inspect or edit state, short-term and longer-term memory, streaming and persistence. The page states that LangGraph does not require LangChain. According to IBM, cycles, which are loops in the graph, are essential for agent runtimes.

Worked examples in this catalogue

Catalogue examples point at a skill, guide or coding tool listed on this site, with what to run and what you see. An example marked illustrative describes the item from its own documentation; it was not executed for this page. Platform Scores are our assessment under a published method, not a safety guarantee.

  1. Guide · Illustrative, not executed

    How to Build an AI Agent: A Minimal Tool Loop

    What you see
    A minimal agent in one Python file: a loop that sends tools to the model, runs each requested tool and stops at a hard cap on iterations.
    Why it exercises the concept
    A graph runtime organises steps and loops like this one with explicit state. Building the bare loop once shows what such a framework is organising.
  2. Skill by Anthropic · Illustrative, not executed

    claude-api 13/100 · grade FScored · Method v0.2 · How we score

    What you see
    A reference for building applications on the Claude API and the Anthropic SDKs across several languages.
    Why it exercises the concept
    Agents can also be built by calling a model API directly. This reference covers that route, which is the baseline a framework such as LangGraph adds structure to. It does not cover LangGraph.
  3. Skill by Jesse Vincent · Illustrative, not executed

    subagent-driven-development 30/100 · Provisional, not yet measuredScored · Method v0.2 · How we score

    What you see
    Executes a plan by handing independent tasks to separate subagents.
    Why it exercises the concept
    This is one way a coding agent splits work into steps. LangGraph is a different mechanism for structuring steps in application code, so the skill is a contrast case, not an example of LangGraph.

How it shows up when you use agents

You meet LangGraph in the code of projects that run an AI agent as a service, and in tutorials about agents that pause for approval. If a coding agent edits such a project, it must read how that project defines its graph: the state, the nodes and the edges that decide what runs next. The project's documentation describes checkpoints, so state can be saved and a run resumed.

What breaks when this is misunderstood: people treat LangGraph as the agent itself, when it is the runtime that organises the steps. Another failure is adding a graph to a task that one model call would handle. A third is forgetting that a loop in the graph needs a stopping rule, or the run can continue longer than intended.

Next action: write the workflow as a list of steps and the conditions between them before choosing a tool. If a person must approve a step, that is where human-in-the-loop pauses matter. For the general idea see AI agent framework, and for its sibling library see LangChain.

Common confusions

  • LangGraph versus LangChain. LangGraph's docs say it does not require LangChain, and describe LangChain as the agent framework and LangGraph as the orchestration runtime.
  • LangGraph versus an agent. An agent is the behaviour. LangGraph is one way to build and run it.
  • Graph versus chain. A graph can branch and loop. A fixed sequence of steps cannot loop back.
  • Myth. You need a framework to build an agent. A model API and a loop can be enough for a small task.

Terms that mention LangGraph

4 terms mention this one

More in Agents and agent tooling

Next steps

  1. How to Build an AI Agent: A Minimal Tool Loop The long-form guide.
  2. claude-api A skill that exercises it.
  3. AI agent framework Related term.
  4. LangChain Related term.
  5. All glossary terms A to Z and by family.

Sources

Definitions are written by Skill Almanac from these sources and were checked against them on 2026-11-24. Wikipedia is never the only source.

Review record

Last verified

Drafted by claude-sonnet-5-5; sources and example targets checked by claude-haiku-5-5 source check; claude-sonnet-5-5 editor pass on 2026-11-24. Last verified .

This entry is still in review, so it is not listed in search engines yet.

Change log (2)
  • : First version.
  • : Verifier pass: applied verifier corrections to wording and attributions.