Tutorial: persist LangGraph checkpoints to disk for crash recovery
11/25/2026 — 11/25, 21:17·1 sources (all)·1 reports (all)
Key takeaways
- Building a multi-step blog-writing agent, the author hit state loss after service restarts, wasting tokens from earlier steps. He mirrored L…
Background & analysis
On November 25, 2026, a post on DEV Community described how a multi-step writing agent was modified to survive crashes. The author, building an agent that writes blog posts, ran into a problem: when the service restarted, the process state was lost entirely, and the tokens spent on earlier steps were wasted. In the specific case described, the agent had reached step 6 of 8, with research finished, a draft written, and a cover image downloaded, but after the server restarted it responded like a fresh session, asking how it could help, and the author had to pay again for steps 1 through 5.
AI-generated from 1 reports · updated 4 days ago
- Heat index
- 25
- All sources
- 1
- All reports
- 1
- First seen
- 4 days ago
Reports on this story headlines open the original
After a server restart wiped an eight-step agent run and forced him to pay for the first five steps twice, the author mirrored LangGraph's in-memory checkpoints to disk so the run can resume where it died. The post walks through the code and the atomic-write detail that keeps a mid-write crash from corrupting the file.
DEV Community · AIAI score 52
Other stories people are talking about
- Heat index 763RisingOpenAI countersues Apple over trade secrets and supplier pressure14 sources
- Heat index 367SurgeAnthropic Denies Claims Claude Sabotages ML Research5 sources
- Heat index 293Musk says Google is interested in renting more compute from SpaceX5 sources
- Heat index 166RisingGoogle ships Workspace MCP servers and CLI, mandating agent access path2 sources
- Heat index 166Claude Code adds /ship command for automated PR review3 sources
How is heat calculated?About the methodHide
Heat counts how many independent sources covered a story in the last 48 hours: one source counts once no matter how many posts it published, decaying with a 24-hour half-life. What ranks first is what many people are talking about.
This page aggregates public feeds. Headlines and summaries are machine-organized and remain the property of the original authors; verify important facts at the source. If you believe a headline or summary infringes your rights, email the contact address in the footer with the page URL and basis of your claim, and we will remove or replace it after review.
- Surge
- Discussion rising fast
- New
- First report within 6 hours
- Rising
- Still gathering discussion

