[ ABORT TO HUD ]
SEQ. 1

Agents, Environments & Sessions

🤖 Managed Agents20 min1400 BASE XP

Managed Agent Architecture

Building production agents requires managing environments, tools, state, and execution loops. Anthropic's agent architecture patterns provide a standardized blueprint for deploying persistent agents.

Core Agent Primitives

PrimitiveDefinitionRole
Model & InstructionsSystem prompt + reasoning modelStrategic decision maker
Tool SuiteJSON Schemas for functions, APIs, and sandboxesExecution capabilities
Session MemoryPersistent conversation state and workspace contextContextual continuity

September 2026 Update: The 'auto' Permission Policy

In the September 10, 2026 update to Claude Managed Agents, Anthropic introduced the auto permission setting. Previously, developers configured tools with either static allow or synchronous ask human-confirmation gates. With auto, the Anthropic execution harness evaluates each outgoing tool or MCP call against contextual threat profiles, parameter bounds, and historical drift in real time. Low-risk read-only commands proceed automatically, while write/destructive actions pause the session and generate a verified approval request.

SOE & AOE Operational Runbook for Claude Agents

For enterprise-grade Standard Operating Environments (SOE) and AI Operations Engineering (AOE), production deployments should enforce:

  • SOE Baseline: Standardize runtime environment variables (ANTHROPIC_API_KEY, ANTHROPIC_BASE_URL), pin SDKs (@anthropic-ai/sdk >= 0.39.0), enforce Zero Data Retention (ZDR) contracts on corporate workspaces, and scope outbound network egress via private proxies.
  • AOE Tool Gatekeeping: Deploy the auto policy across all third-party MCP connectors, pair with real-time audit logging via OpenTelemetry, enforce exponential backoff with full jitter on 429 rate-limit responses, and set deterministic max_turn limits to prevent runaway iteration loops.
SYNAPSE VERIFICATION
QUERY 1 // 3
What is the recommended approach for handling tool errors in an agentic loop?
Crash the process immediately
Return a tool_result with is_error: true and clear diagnostic information so the model can self-correct
Hide the error and return empty string
Restart the entire conversation