When deploying agents to LangSmith, the server provides a built-in Postgres-backed checkpointer that handles state persistence across graph runs. You can replace this with your own BaseCheckpointSaver implementation to use a different storage backend. You provide a path to an async context manager that yields aDocumentation Index
Fetch the complete documentation index at: https://docs.langchain.com/llms.txt
Use this file to discover all available pages before exploring further.
BaseCheckpointSaver instance, and the server manages its lifecycle automatically.
Define the checkpointer
Starting from an existing LangSmith application, create a file that defines an async context manager yielding your custom checkpointer. If you are beginning a new project, you can create an app from a template using the CLI.Test against the conformance suite
Most open source checkpointer implementations do not yet implement all the operations required by Agent Server. Before configuring your checkpointer, validate it against the conformance test suite to ensure compatibility. Install the package:Configure langgraph.json
Add the checkpointer key to your langgraph.json configuration file. The path points to the async context manager you defined earlier.
Start server
Test the server out locally:Capabilities
The server checks your checkpointer for base (required) and extended (optional) capabilities at startup. If an extended capability is missing, the server either uses a fallback or disables the corresponding feature.Base capabilities (required)
| Method | Description |
|---|---|
aput | Store a checkpoint |
aput_writes | Store pending writes |
aget_tuple | Retrieve a checkpoint |
alist | List checkpoints |
adelete_thread | Delete a thread |
Extended capabilities (optional)
| Method | Description | Fallback if missing |
|---|---|---|
adelete_for_runs | Delete checkpoints for specific runs | Rollback multitask strategy unavailable |
acopy_thread | Copy a thread | Slow fallback (re-inserts checkpoints one by one) |
aprune | Prune thread history | Thread history pruning unavailable |
Deploying
You can deploy this app as-is to LangSmith or to your self-hosted platform.Next steps
- Use a custom store to replace the built-in long-term memory store.
- Learn about persistence and memory in LangGraph.
Connect these docs to Claude, VSCode, and more via MCP for real-time answers.

