← All notes

Pause a LangGraph node with interrupt and resume with Command

Answer: LangGraph interrupts pause graph execution inside a node and wait for external input. You call interrupt() with a JSON-serializable payload, then resume later by re-invoking the graph with Command, which becomes the return value of interrupt().

How interrupts work

Interrupts pause a graph at a chosen point and then wait for external input before work continues. This enables human-in-the-loop patterns. When an interrupt is triggered, LangGraph saves the graph state using its persistence layer and waits indefinitely until you resume execution. Call interrupt() inside your graph nodes at the point you need input. It accepts any JSON-serializable value, and that value is surfaced to the caller. To continue, re-invoke the graph with Command. That Command value is what interrupt() returns inside the node. Unlike static breakpoints, interrupts are dynamic: they can be placed anywhere and can be conditional. The checkpointer writes the exact graph state so you can resume later, even in an error state. thread_id tells the checkpointer which state to load. Interrupt payloads can surface via stream.interrupts when using event streaming.

The Interrupt type

In the LangGraph types module, Interrupt is a class that represents a pause. The interrupt() helper is what nodes call. Resume is documented as a value to resume execution with, used together with interrupt(). After you surface a question through interrupt(), resume the graph so the node can continue from that call.

| interrupt | Command | |---|---| | interrupt() | pause the node and surface a payload | | Command | resume the graph; value returned from interrupt() | | thread_id | tells the checkpointer which state to load | | Interrupt | type that represents a pause |

See also

Claims

Sources

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: LangChain Docs, Interrupts; langchain-ai/langgraph (GitHub), LangGraph types (interrupt and Interrupt). MIT; MIT. Text was condensed and changed from the originals.

License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: LangChain Docs, Interrupts; langchain-ai/langgraph (GitHub), LangGraph types (interrupt and Interrupt). MIT; MIT.

Cite this

Permanent ID: iil:note:3sey4fqn

iinventedlight. 2026. "Pause a LangGraph node with interrupt and resume with Command." iinventedlight Library, iil:note:3sey4fqn, version of 2026-11-19. https://iinventedlight.com/library/notes/langgraph-interrupt/. License: CC-BY-4.0.

@misc{iil_note_3sey4fqn,
  author = {{iinventedlight}},
  title = {{Pause a LangGraph node with interrupt and resume with Command}},
  howpublished = {iinventedlight Library},
  year = {2026},
  date = {2026-11-19},
  url = {https://iinventedlight.com/library/notes/langgraph-interrupt/},
  note = {Permanent ID iil:note:3sey4fqn. License: CC-BY-4.0.},
}

Markdown

Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com. Or Report a correction (no account needed).

Extra files beside this note

These files use this note's license, shown below. Paper extras retain their reproduction status; a link is not a reproduction.

All artifact files (JSON index)

For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/langgraph-interrupt.md.