Long-Running Agents
AI-generated summary of reporting by Oreilly AI ML Blog. Read the original for the full story.
Why it matters
Agents that run for days instead of one chat session change what can be delegated, but the article is an engineering pattern survey rather than a product or tool.
This article explains 'long-running agents': AI programs that keep working on a goal for hours, days or weeks instead of one chat session. Today's agents forget earlier work and declare tasks finished too soon, because they fit everything into one context window (the model's short-term memory). New designs store plans and progress notes in files, so a fresh session can pick up where the last one stopped. It matters for programmers and researchers handing over big jobs like migrations or multi-day research sweeps.
Addy Osmani's piece argues that delegation economics shifted once agents could run autonomously for 10+ hours: Anthropic reported 30+ hours of autonomous coding, including an 11,000-line Slack-style app. Cursor, Anthropic and Google (via its Gemini Enterprise Agent Platform) are productising the same pattern. Companies adopting these patterns could clear long-standing backlogs; those ignoring them compete on labour economics that changed. No vendor costs or pricing are given.
The article surveys three design constraints: finite context windows with 'context rot', no persistent state between sessions, and models' positive self-grading bias. Patterns include the bash-script Ralph loop (state in prd.json and progress.txt), Anthropic's brain/hands/session split where sessions are append-only event logs cutting time-to-first-token by ~60% at p50 and >90% at p95, and Cursor's planner/worker/judge architecture. Cursor found a GPT model outperformed Opus for extended work because Opus stopped early. No benchmark evaluation of the overall approach is provided.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
Ralph loop Claude Managed Agents Cursor 3 Composer 2 Agent Runtime METR time horizon metric Project Vend
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
Code-driven AI illustrations are more useful than images from dedicated image models
Code-driven AI illustrations let designers edit assets directly in code, saving time on iteration and ensuring consistency, which is a game-changer for teams that need rapid, reusable visual content.
Speculative Decoding Makes Tool Calls Faster. Agents Need a Cache.
Speed improvements in speculative decoding mean agents can execute tool calls faster, reducing latency for real-time applications.
OpenGame: turn your local coding agent into a full-stack game studio
Developers with a local coding agent can now scaffold full playable 3D games, art, music, testing, publishing, instead of only refactoring code, opening a path from hobby coding to shippable mini-games.
Let Claude Code or any agent tap, type, and read your real phone
Agents can now close the mobile testing gap by driving and reading a real phone themselves, with nothing installed on the device.