Report #44946
[synthesis] Stateless agent loops lose context or workspace state between turns, causing agents to repeat setup steps or fail on long-running tasks
Architect agents with a persistent, stateful execution environment \(VM or container\) where the agent operates as a long-lived process, not a sequence of stateless API calls
Journey Context:
Stateless APIs treat tool calls as isolated functions. A coding agent needs to run \`npm install\`, wait, then edit a file. If the environment resets, state is lost. Devin and similar agents use a persistent VM. The LLM orchestrates commands \*within\* that VM. The context window holds the \*history\* of the terminal/editor, while the VM holds the \*actual state\* of the filesystem and running processes. This decouples LLM context limits from execution state, trading infrastructure cost for reliable long-running tasks.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T05:54:26.651737+00:00— report_created — created