Checkpnt: crash recovery and state for AI agents
Persist an agent’s execution state and resume it from exactly where it stopped, with SQLite or Redis.
| Checkpnt | |
|---|---|
| Class | State persistence for AI agents |
| Language | Python 3.11 or newer |
| Version | 0.1.0 |
| Licence | Business Source License 1.1; Apache 2.0 from 1 January 2029 |
| Repository published | May 2026 |
| Install | pip install checkpnt |
| Source | GitHub |
An agent running a multi-step process accumulates tool results, decisions and coordination context in memory. A crash, restart, hot reload or deployment destroys it. Checkpnt saves that execution state so the agent can resume at the same position.
The licence makes this source-available software: production use is permitted, including inside your own applications, but not offering it, or a substantially similar product, as a commercial hosted service.
The problem it answers
The project cites LangGraph issue 5790, filed in August 2025, in which state was lost whenever the development server reloaded. The maintainers closed it as intended behaviour. The repository includes a script that reproduces the problem.
Five operations
| Operation | What it does |
|---|---|
| save | Persists state at any point in execution |
| restore | Resumes from the saved position, with integrity verified |
| handoff | Transfers state between agents and keeps the parent chain |
| timeline | Returns the execution history, newest first |
| expire | Deletes a checkpoint now, or after a set lifetime |
async with Client.sqlite() as client:
checkpoint_id = await client.save(agent_id="processor", framework=Framework.LANGGRAPH, execution_state=state)
checkpoint = await client.restore(checkpoint_id)Design
Checkpoints are immutable. There is no update operation: each new state creates a checkpoint linked to its parent, which makes it possible to return to any earlier state, branch from it and reconstruct the history. Every restore verifies a SHA-256 hash.
- Layer 5 Coordination protocol between agents (planned)
- Layer 4 State comparison between runs (planned)
- Layer 3 Replay from any checkpoint (planned)
- Layer 2 Resume across frameworks (planned)
- Layer 1 Crash recovery: five operations, two backends (version 0.1)
Backends and frameworks
| Item | Status in 0.1 |
|---|---|
| SQLite backend | Supported, for local development |
| Redis backend | Supported, for production |
| LangGraph adapter | Supported |
| Custom frameworks | Supported |
| CrewAI and AutoGen adapters | Planned for 0.2 |