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.

Read this as

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