Primary sources
- Effective harnesses for long-running agents · Anthropic (accessed 09/20/2026)
One question followed across the site: what is in front of the model this turn, and who decided to put it there. The answers run from a written instruction to a note a session leaves for the next one.
The model works from the context actually supplied to this request. These are different ways to assemble it.
Choose relevant evidence and instructions within the available context.
BoundaryMore context can add distractors and cost.
Persist useful facts or state, then retrieve what this request needs.
BoundaryStored memory can be stale, wrong, or inappropriate to retain.
Carry progress, blockers, and inspectable artifacts into the next session.
BoundaryA summary alone is not an action receipt or proof the task finished.
A focused business & team operations example. Additional perspectives appear where they provide a useful contrast.
Tracing which information reaches each model request and why it was included.
Follow the information available at a particular step and compare it with the wider task history. Inspect what changes after truncation, retrieval, or summarization.
Resume an investigation after conversation summarization.
Before/after context trays, omitted evidence, restored constraints, and a corrected supported answer.
The setting makes the example concrete. Carry the underlying pattern into your own work; adapt the sources, tools, and level of oversight to your task.
Resume an investigation after conversation summarization.
Authored case. Select any record below; nothing is sent to a model.What changed: Establish the facts supplied for this version of the task.
The model cannot rely on details that are absent from its current input unless another mechanism retrieves them. A summary may drop unresolved conditions.
Describe your task to your own model and use What the model sees as a reference. Ask whether it fits, which alternatives meet the same automation needs, and how you would implement and check the result.
For a normal inference request, a language model works from learned parameters and the supplied context. Files, past conversations, and tool results become available through the surrounding system.
Ask what is stored, who selects it, and what is actually included now.
| Mechanism | What it contributes | What you still decide |
|---|---|---|
| Prompting | Instructions, examples, output contract | What success means |
| Context assembly | Material supplied for this call | Relevance, order, access, budget |
| Retrieval | Selected material from a collection | Search, source identity, evidence coverage |
| Memory | Information retained for later use | What to store, update, expire, or delete |
| Skills | Reusable procedures and resources | When to load them and their authority |
| Checkpoints | State across sessions | What is durable and how to resume |
Retrieval selects material, not necessarily truth. Sources can contain instructions, errors, obsolete policy, or malicious text. Distinguish source material from instructions that govern the task.
A summary can lose a qualification. Keep a route back to original records when omitted detail could change the answer. Summaries and structured records can coexist.
Memory is useful within sessions too. A long conversation can use external state. Applications can save task records deterministically, and agents at several levels can select what to remember. Model-directed memory is not exclusive to level 7.
A note is not the whole environment. Resuming work can require files, tool state, action receipts, permissions, and unfinished-task records. Restore and inspect them before relying on the last summary.
Supply a current policy and a conflicting remembered fact. Does the system notice the conflict and preserve provenance? Remove the relevant source. Does it admit the gap?
Relevant, sufficient context is the target. More tokens can add cost and distractions; a large context window does not guarantee useful attention to every fact. Caching behavior and pricing vary by provider.
Last reviewed 09/20/2026. Pages unreviewed for 90 days are flagged for another pass.