Agent state lives everywhere but nowhere: article argues for deterministic state machines

blaizedsouza · x · 2026-11-30

An article by JoshARosen argues that without some form of agent state machine, you're entirely at the mercy of model nondeterminism—letting the model decide what actions to take and when. It maps where agent state actually lives: the LLM's context window, harness memory/session history, the sandbox filesystem, app-managed state objects, persisted graph checkpoints, and orchestrator event histories—often spread across several with no single source of truth. The takeaway: agents need deterministic scaffolding to constrain nondeterministic models.

Original post →

More from coding & agent

coding & agent channel →