Picture a job you hand to an AI agent. It reads 400 receipts, pulls out the date, the shop and the total, and writes each row into a spreadsheet. It gets through 299 of them, and then the machine reboots for a security patch.
An agent with no saved state starts again at receipt one. An agent that keeps a checkpoint opens its own notes, sees where it stopped, and carries on. That gap is the subject here.
I have not run any of this. What follows comes from reading the repo, the release notes and the docs, which is why the label here is read the code, not run. A review that implies hands-on use it never had is a lie with good manners.
It follows the argument I made in Handing Over the Keys, where I set out ten rules for letting an AI act for you. One of them was that a permitted action should be reversible. Durable state is what makes reversible possible for a long job, because you cannot undo work you cannot find.
What LangGraph is, and what changed this week
LangGraph is a Python library from the people who make LangChain, and it builds an agent as a graph of steps. You install it with pip, and what you get is the dull part that keeps an agent alive. It gives you a place to keep state, a way to pause and ask a human, and a way to find the step that went wrong. The repo carried 44,119 stars when I read it on 2026-10-30, which tells you it is the common choice.
The licence is MIT, so you can read the code, change it, and ship it in your own product. It runs on your own machine, needs no account, and never phones home. That last part is worth holding on to.
The newest release I could read is 1.2.18, published on 2026-10-26, with one change that matters here. The default snapshot interval for its delta channel fell from 1,000 updates to 100, so a long thread reads faster and takes more disk. The same release mends two faults that were quietly losing work. A run stopped by an interrupt or by the recursion limit now streams its last checkpoint. An error handler can now recover on every path, not just some.
A checkpoint is a save file
A checkpoint is a save file for work in progress, the same thing a game writes before a boss fight. LangGraph writes one after each step, keyed to a thread id, and the thread id is the slot name on the memory card. Hand the next run the same id, and it starts from the last save.
LangGraph keeps two kinds of memory, and the persistence docs are clear about which is which. Checkpointers keep the state of one thread, so they are short-term memory for a single job. Stores keep facts across threads, so they are long-term memory about the person using it. A receipt-sorting job needs the first. A helper that remembers your preferred currency needs the second.
Where it goes is your decision, and that is the interesting part. In memory is fast and gone when the process restarts, which the docs say plainly. A SQLite file suits a laptop, and Postgres is what you want if the job has to survive a reboot.
Why an ordinary person should care
Most people will never write one of these graphs, so here is why it still matters. A long job done by an AI is now something you buy. It reads your invoices or drafts replies to your mail. The question you cannot ask from outside is what happens to the work when the service hiccups.
If the state lives in a file on a machine you control, the work is still there, in a form you can open. You can read the last save and decide whether to let the agent continue. If the state lives only inside somebody’s platform, you start again or you open a ticket. This is the same argument as the last ten years of rented software, and it has not improved with age.
A second reason is about trust rather than ownership. The save is the audit. An agent that leaves a trail of them can be inspected after it does a strange thing, because each step is a record with a time. An agent that keeps its working memory in a variable has nothing to inspect once the process dies. So durable state is not only about resuming. It is the gap between a system you can question and one you can only restart.
The case for it
It is the common answer, and being common has a value that people like me skip. When a library is used by this many people, the awkward questions have been asked already, and the answers sit in the checkpointer guide. That includes the one where a thread id grows past the width of a database column.
The shutdown work is real engineering rather than a roadmap. You hand a run a control object, ask it to stop, and catch an exception that says it saved before it quit. The fault tolerance page is honest that the stop is cooperative. It lands between steps and never in the middle of one, so a long network call finishes first, and then you resume with the same settings. Someone who has watched a real shutdown go wrong wrote that.
The case against it
The costs are real, and the first one is that you inherit somebody else’s decisions. Your state sits in a shape the library defines, in tables the library creates, under a version number that moves on its own schedule. The checkpoint package shipped 4.3.1 on the same day as 1.2.18. When that shape changes, the move is yours to work out, because the library’s job ends at writing the save.
The second cost is that durability is a promise about your machines, not about the library. A save in Postgres is only as safe as the Postgres you run, and a backup you have never restored is a rumour. The docs also warn that saves pile up over a long chat, so the fix is a retention policy you write. Nobody ships that part for you.
The third cost is the docs, and this is where a framework you do not control shows its seams. The project’s own readme still links a page called durable execution, and when I fetched that address I was served the persistence overview instead. The older address, langchain-ai.github.io/langgraph, now answers with a single line saying the docs have moved. None of this is malice. It is what happens when a company rearranges its site faster than the links can follow.
The fourth cost is the one I would weigh heaviest if I were choosing today. The open library is the floor, and the ceiling is a paid platform. Tracing, deployment and the visual debugger are sold as LangSmith, and the library works without them. But the moment you want to see what your agent did on Tuesday, the easy path points at an invoice. That is a familiar shape, and it ends in the same place.
Where it is likely heading
My guess, and it is only a guess, is that the resume contract becomes ordinary. Picking work back up after a crash is not a feature anyone should shop for. The other projects in this lane will copy the shape within a year or two, and resuming will stop being the reason to choose it.
The likelier fight is over the save format itself. If those tables stay plain tables in a Postgres you own, leaving stays cheap, and the library has to earn its place at every release. If they drift into something only one company’s tooling can read, the lock forms quietly and nobody notices until the move. I would watch the schema, not the star count.
What you can do now
If you run any long job with an AI in it, ask three things of whatever you use. Where does the state go when the process dies? Can I open it with psql or sqlite3 and read it? Can I restore it on a machine that has never seen this software before?
If you write these things, the checkpointer guide is worth an hour.
Two straight answers and one honest maybe is a system you can keep. Three shrugs is a demo.
