# Agent checkpointing

Canonical page: https://www.theglitch.ai/ai-glossary/agent-checkpointing

Saving the state of an agent’s run at a known step so the work can be inspected or resumed later.

[Agent checkpointing, common card \#255 in The Glitch AI glossary: Saving the state of an agent’s run at a known step so the work can be inspected or resumed later.](https://www.theglitch.ai/images/cards/glossary/agent-checkpointing.png?v=691717fca9eb238c)

GLS 255 · common

Also called: Workflow checkpointing.

For: Builders

## Why it matters

A half-finished job needs more than a chat transcript. The next run needs to know which inputs were processed, where their results are and which step comes next.

## In practice

A report has three sections. After drafting the first two, save their text, the report ID and the pending section name. Restart using that checkpoint. A simple recovery test is whether the first two drafts stay identical and the run produces the missing third section.

## Watch for

A saved draft cannot tell you whether an email was delivered just before a crash. Before retrying a send, check the delivery record to avoid sending it twice.

## How it compares

- [Agent harness](https://www.theglitch.ai/ai-glossary/agent-harness): The harness orchestrates the whole agent lifecycle; checkpointing is the persistence mechanism inside the harness that saves step snapshots for pause, replay and resume.

- [Agent memory](https://www.theglitch.ai/ai-glossary/agent-memory): Agent memory stores reusable knowledge across unrelated tasks; checkpointing saves exact execution state for one running job so it resumes cleanly after an interruption.

## Related terms

[Agent harness](https://www.theglitch.ai/ai-glossary/agent-harness) · [Context compaction](https://www.theglitch.ai/ai-glossary/context-compaction) · [Agent memory](https://www.theglitch.ai/ai-glossary/agent-memory) · [Agent observability](https://www.theglitch.ai/ai-glossary/agent-observability) · [Workflow](https://www.theglitch.ai/ai-glossary/workflow)

## Try it here

[Diagnose an agent failure](https://www.theglitch.ai/learn/agent-failure-modes) · [Build your first agent](https://www.theglitch.ai/learn/first-agent)

## Sources

- [LangGraph · Persistence and checkpoints](https://docs.langchain.com/oss/python/langgraph/persistence)

Use in an AI agent: connect MCP at https://www.theglitch.ai/mcp and call get\_glossary\_term with agent-checkpointing, or read the [Markdown edition](https://www.theglitch.ai/ai-glossary/agent-checkpointing.md).

Definition updated 2026-11-28.

[The Ultimate AI Glossary (2027): every term](https://www.theglitch.ai/ai-glossary)

---

Site: [The Glitch](https://www.theglitch.ai) · [About Rabin](https://www.theglitch.ai/about) · [Agent guide](https://www.theglitch.ai/agent.md)
