I Put Together an Anthropic Agent Reading List—Start with Crash Recovery
A user online threaded Anthropic's Agent infrastructure docs into a reading path organized around five questions. After reading the whole list, the chapter most likely to be skipped may be the one you should read first.
A user online recently was tuning their own Agent project and, along the way, reorganized Anthropic's Engineering Blog, Research, and Claude Cookbook into a reading path. The path revolves around five questions: how to recover after a task is interrupted, how to maintain information continuity across Sessions, how multiple Agents collaborate across processes and machines, how to dynamically and safely call external capabilities, and how to verify that an Agent's execution process is actually reliable.
After reading it, one counterintuitive takeaway: most lists start with Context Engineering, but if the goal is production, figuring out crash recovery first may be more important.
Always-on Agent Does Not Mean a Permanently Running Process
The term Always-on Agent is easy to misunderstand. Anthropic states it directly in the article: it describes the user experience, not the process state. The Agent sleeps most of the time and wakes up every so often to do work. Each segment of work is called a Run; a Run executes within a Session, writes state back when done, and goes back to sleep.

Five primitives support this loop: Event Inbox, Timers, Memory, Permissions, and Outbox. Looking at each one, every primitive corresponds to a specific failure scenario.
Event Inbox solves out-of-order and lost events. If every event source directly called the Agent, two events arriving at the same time would start two competing Runs, and if the process crashed, the event would be gone. The correct approach is to write all events into the inbox first, and have a Worker pull work from the inbox. One detail worth remembering: an Inbox can have only one active Worker at a time, preventing two Runs from doing duplicate work or overwriting each other.

Timers come in two types: follow-up is an alarm the Agent sets for itself, and schedule is a recurring task set by the user. Timers are stored in a separate table; a scheduler polls them and then inserts events into the Event Inbox, rather than directly starting a Run.

Memory has a simple rule: store only things the Agent can no longer look up. If some information is already in the issue tracker, just store a pointer. Concretely, it is split into several types of files: user instructions are loaded on every Run, while user notes and task progress are loaded by index and expanded only when needed.

Permissions is the highest-risk part. A Run holds user permissions and no one is watching, so credentials should live in a proxy outside the Agent environment, and tool calls need to be automatically classified and able to pause for human approval. The Deferred tool call mechanism is quite clever: when user confirmation is needed, the Run simply ends, the Session is saved to disk, and when the user's response comes back, it continues as a new event, so the Worker is not blocked.
Outbox is responsible for sending messages. Most Agents can just use a single send tool to send directly; only when you need to control sending cadence or recover from send failures do you need a separate outbox and dispatcher.

Only when the five primitives are put together does that loop form: timers and the inbox start a Run; the Run works within a Session using Memory and Permissions; the Outbox sends results out; and the user's reply becomes an event again.

Three Easily Confused Concepts in Context Engineering
Compaction, Tool-result Clearing, and Memory are often conflated. Anthropic's article is clear: Compaction compresses the current context; Tool-result Clearing removes tool results that are no longer needed; Memory is responsible for preserving information across Sessions. They solve different problems and cannot simply be replaced wholesale by one Memory Store.

Also, as the number of MCP Tools grows, how to dynamically discover tools and reduce the Tokens consumed by tool definitions becomes part of Context Engineering. Stuffing all tool definitions into the system prompt at once is not a sustainable approach.
Agent Memory Is More Than a Vector Database
The truly difficult part of long-term memory was summarized by a user online as four actions: Memory Formation, Consolidation, Correction, and Dreaming. How information is formed, merged, corrected, and updated is each more complex than storing it in a vector database.
Anthropic also mentions Contextual Retrieval: adding context to Chunks and then combining Embedding, BM25, and Reranking to improve retrieval over long documents.
Multi-Agent Parallelism Does Not Equal High Efficiency
Anthropic's Multi-Agent Research System uses an Orchestrator-Workers architecture: a main Agent splits tasks, sub-Agents execute in parallel, and results are aggregated at the end. But there is an easily overlooked point: parallelism does not guarantee higher efficiency. Task decomposition, context isolation, inter-Agent communication, result aggregation, and error handling all introduce additional costs.
One more easily confused point is worth calling out: this system demonstrates experience with task division among multiple Agents, not a general-purpose A2A communication protocol. If you really want to build distributed Agents, message protocols, Mailbox, authentication, state synchronization, and reliable delivery are all indispensable.
Tool and Skill Are Two Different Abstractions
Tools provide concrete execution capabilities, while Skills encapsulate the processes, knowledge, and resources needed to complete a certain type of task. As the tool ecosystem expands, Tool Registry, Dynamic Discovery, Progressive Disclosure, and Programmatic Tool Calling become important.
Eval and Security Are Unavoidable in Production
Agent Eval should look not only at the final answer, but also at the execution trajectory, tool selection, task state changes, and whether it can recover after an interruption. As for Security, don't expect to rely on a few rules written in the Prompt; it needs to be implemented through Permission, Sandbox, Trust Boundary, and Policy Enforcement.
The Most Easily Skipped Part Is Exactly Persisting State to Disk and Recovering It
A user online mentioned a very concrete observation in a reply: if you only do context and memory, a crash after about twenty minutes means starting over. Tool results and key file changes must be recorded step by step, and evals and trajectories should not be filled in after the fact; otherwise, one failure means rerunning the whole segment.
This observation matches Anthropic's experience with long-task Harnesses. They wrote a claude-progress.txt file and combined it with git history so that each new Session can quickly figure out how far the previous shift got. The inspiration is very simple: look at how reliable software engineers hand off work each day.
They also split tasks into individual features, stored the feature list in JSON, and marked all initial states as failing. Why JSON instead of Markdown? Because models are less likely to mess up JSON arbitrarily.
Testing is also a big pitfall. Without explicit requirements, Claude will self-test with unit tests and curl, then declare the feature complete, even though it actually does not work end to end. Only after explicitly requiring it to use browser automation tools and click through like a real user did performance improve noticeably.

An Advanced Version of the Harness: Generator plus Evaluator
In a later article, Anthropic took another step forward. Inspired by GANs, they designed a multi-Agent structure with a Generator plus an Evaluator. In front-end design, four scoring criteria are defined first: design quality, originality, craftsmanship, and functionality. Design quality and originality are weighted higher, because Claude's default performance on craftsmanship and functionality is already decent; the problem often lies in mediocre design.
For full-stack development, the architecture becomes three Agents: Planner, Generator, and Evaluator. The Planner expands a one-sentence prompt into a complete product spec; the Generator implements it Sprint by Sprint; and the Evaluator uses Playwright to open the running application and test the UI, API, and database state like a user.
Here is a concrete example: generating a 2D retro game maker.
Solo mode ran for 20 minutes and cost $9. When opened, the interface worked, but the layout wasted space, the workflow was rigid, and most importantly, the game would not run. Entities appeared on the screen, but input had no effect at all. Digging into the code revealed that the wiring between entity definitions and the game runtime was broken.



The full Harness ran for 6 hours and cost $200. The Planner expanded the one-sentence prompt into 16 features and 10 Sprints, including sprite animation, behavior templates, sound effects and music, AI-assisted sprite and level generation, and shareable game export.




The cost differed by more than 20x, and the gap in output quality was obvious at a glance. However, they also mention that Claude is by default a poor QA Agent. In early runs, the Evaluator could find real issues and then convince itself that they were not serious and approve them anyway. It took several rounds of prompt tuning to make it picky.
As Models Get Stronger, the Scaffolding Must Be Reexamined
Anthropic itself raised a reflexive question: every Harness component encodes an assumption about what the model cannot do on its own. Once the model is upgraded, those assumptions may quickly become outdated. After Opus 4.6 came out, they removed the Sprint structure and changed the Evaluator from scoring every Sprint to a single final check, because the model itself could already sustain longer continuous tasks.
But this does not mean Harnesses will disappear. In their words, the space of interesting Harness combinations will not shrink; it will only move. The job of an AI engineer is to keep finding the next useful combination.
Looking at the whole list, what is most worth reading first is probably not Context Engineering, but that easily overlooked reminder: first make sure you can resume after a crash, then talk about running for a long time.
发布时间: 2026-12-02 03:28