AI MOOC
✦ Grow togetherInvite 3 friends, earn 1 month of membership · Up to 12 monthsInvite friends →

Free learning library / Anthropic · Justin Young

Effective Harnesses for Long-Running Agents

Use feature lists, progress records and end-to-end checks to help agents continue development across sessions.

Technical article · Long-running agents and context management · English original; the Chinese guide is a learning summary, not a full translation

Who it is for

For developers familiar with agent tools who are designing coding tasks that span sessions.

What you can learn

In a web-development example, an initial session prepares a feature list and environment. Later sessions review progress and Git history, advance one feature and leave notes; end-to-end tests check actual behavior. The authors present one experimental approach, with multi-agent roles and other domains left for further study.

Try it first

For a small project without sensitive data, list three verifiable features and record current state, next steps and test results. Have a fresh session use those materials to resume and check one feature.

Free access and conditions

The English article is free to read without signing in. Published in November 2025, its example uses the Claude Agent SDK for web development; results may not generalize to every task. Running examples may require paid model API or compute resources.

Source and rights

Check Anthropic’s terms for the article and separately verify licenses for example code and third-party components.

Source: Anthropic · Justin Young

Related learning resources

Continue learning: Free courses on AI MOOC

Read now