---
id: "anthropic-effective-harnesses-long-running-agents"
title: "Effective harnesses for long-running agents"
creator: "Anthropic"
creator_url: "https://www.anthropic.com/engineering/effective-harnesses-for-long-running-agents"
url: "https://www.anthropic.com/engineering/effective-harnesses-for-long-running-agents"
level: "advanced"
level_max: null
category: "context-engineering"
subcategory: "loop-engineering"
region: "West"
license: "closed"
license_scope: "linked-resource"
models: ["claude"]
source_date: "2025-11-26"
date_added: "2026-10-18"
---

[Context Engineering](/context-engineering/index.md)

# Effective harnesses for long-running agents

by [Anthropic](https://www.anthropic.com/engineering/effective-harnesses-for-long-running-agents)

[Read the original →](https://www.anthropic.com/engineering/effective-harnesses-for-long-running-agents)

Harness design for agents that work across many context windows.

This article addresses continuity when an agent's work spans multiple context windows. It focuses attention on the surrounding execution setup rather than assuming a larger prompt will solve persistence problems.

Level: [Advanced](/levels/index.md#advanced)
Models: claude
Category: [Context Engineering](/context-engineering/index.md)
Tags: [build-log](/tags/build-log/index.md), [harness](/tags/harness/index.md)
Source date: 2025-11-26
Added: 2026-10-18
Last verified: 2026-10-18
Status: ok
Prerequisites: Requires implementation experience or critical reading of technical methods and system trade-offs.
Subcategory: [loop engineering](/context-engineering/loop-engineering/index.md)
Region: West
Original language: en
Access: free
Resource reuse: closed: No general open-reuse grant established from the inspected page. Closed is the conservative index bucket, not a legal finding; the resource is publicly readable. [Facet definitions](/about/index.md#facets)

Summary in our own words. Rights remain with the original creator. [Credit and correction policy](/about/index.md#credit-policy).

[Plain-text Markdown copy](/context-engineering/loop-engineering/anthropic-effective-harnesses-long-running-agents/index.md)
