Models
November 26, 2025

Effective harnesses for long-running agents

Anthropic shows how to make long-running AI agents work reliably by using an “initializer” agent to scaffold projects and a “coding” agent to make incremental, well-documented, tested progress across sessions.

Anthropic addresses the challenge of AI agents forgetting context between sessions a major obstacle for long-running tasks like building software over hours or days.

Their solution uses a two-agent harness: an initializer agent sets up the project environment, creating a git repo, init scripts, a structured feature list and a progress log; then a coding agent works incrementally, implementing one feature per session, running end-to-end tests, committing clean code, and updating progress.

This disciplined, engineering-style workflow prevents agents from “one-shotting” tasks or prematurely marking projects as complete enabling reliable, multi-session progress.

#
Anthropic

Read Our Content

See All Blogs
Gen AI

How OpenAI and Amazon Bedrock are building a next generation AI orchestration platform for enterprise AI

Deveshi Dabbawala

March 5, 2026
Read more
LLM Models

Why LLM benchmarking on leaderboards is not enough for enterprise AI

Deveshi Dabbawala

March 3, 2026
Read more