Design & architecture · Engineering references
Separating an agent’s reasoning from execution: boundaries for long tasks
Anthropic decouples sessions, the harness and sandboxes. The key questions are how context persists and how execution environments fail and recover independently.
What the source says
Session stores durable events, Harness runs the model–tool loop, and Sandbox executes code. Stable interfaces connect the three components.
Session logs live outside the context window. A failed execution environment need not destroy the conversation.
Sensitive credentials are separated from generated code, and tool calls can access credentials through a proxy.
Original source
This is AgentBee’s editorial digest and analysis of the source, not a reproduction of the full article.
Anthropic Engineering ↗