Post-mortem: why in-memory agent state graphs failed in 24/7 production, and the disk-backed fix

Remarkable_Plant7820 · reddit · 2026-09-04

After running autonomous LLM agents around the clock, the author details three failure modes of in-memory state graphs (LangGraph/CrewAI style): context-window degradation driving cost and prompt drift, async exceptions corrupting the whole runtime graph, and total state loss on crashes.

They open-sourced Samantha with the fixes:

Code and architecture docs on GitHub.

Original post →

More from coding & agent

coding & agent channel →