In short.
Start a session is a developer guide to running Claude Managed Agents, but it assumes existing agent and environment resources and describes a beta API. It explains how to create a session, start work through events, choose an agent version and override configuration for one session. Its most consequential details concern replacement rather than merging of overrides, inference geography, persistent transcripts and budgets that stop new model requests only after the crossing request finishes. Prices, runtime reliability and task quality are not established; no examples were executed.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage includes the complete documentation page at [https://platform.claude.com/docs/en/managed-agents/sessions.md], including its beta and retention notices, supported-platform and model metadata, all language examples, creation options, validation limits, overrides, budgets, vault authentication and task-starting behavior. Every linked page is excluded, including agent setup, environments, detailed budgets, vault registration, data residency, streaming, session operations and scheduled deployments. No live API behavior, installed SDK compatibility, task outcome, performance or billing was tested.
The overview
Identity
The resource is Anthropic's Start a session documentation for Claude Managed Agents, supplied at [https://platform.claude.com/docs/en/managed-agents/sessions.md]. It is a feature guide with HTTP, CLI and SDK examples.
A session is an instance of an agent operating within an environment. It references separately created agent and environment resources and retains conversation history across interactions. The page marks the feature as beta on the Claude API, Claude Platform on AWS and Claude Models on Google Cloud with Anthropic management.
Assessment
This guide is useful when you already have an agent and environment and need to connect them to application tasks. It explains several integration details that could otherwise cause surprises: creating a session alone does not start agent work, overrides replace entire fields, and budgets must be attached at creation.
It provides substantial guidance on session creation, but a complete application also needs agent setup, environment configuration, response streaming and operational handling. Those subjects are delegated to linked pages whose contents are outside this resource. Production reliability, performance and task success are not established.
Users
The primary audience is developers integrating persistent agent tasks into software. Beginners get an explanation of the relationship between agents, environments, sessions and events; experienced developers get configuration semantics, validation limits and request examples.
It is particularly relevant to teams managing agent rollouts, experimenting with models or tools, or applying per-session spending limits. Readers unfamiliar with API authentication and the prerequisite resources will need additional setup guidance.
Capabilities
The guide documents creating sessions with the latest agent version or a specified version, starting work immediately through initial_events, and overriding an agent's model, system prompt, tools, MCP servers or skills for one session. Overrides leave the underlying agent resource and its versions unchanged.
It also covers pinning the geography serving model requests, attaching a list-cost budget and supplying vault_ids for MCP tools that require OAuth credentials. The documentation says Anthropic manages token refresh for those credentials.
Examples cover cURL, the ant CLI, Python, TypeScript, C#, Go, Java, PHP and Ruby. Equivalent functionality is illustrated across these interfaces, but compatibility with particular installed SDK versions is unknown.
Using it
Requirements
Session creation requires an agent reference and an environment_id. The HTTP examples authenticate with an API key and specify anthropic-version: 2026-10-21 and anthropic-beta: managed-agents-2026-04-01. The page does not establish account eligibility requirements or minimum CLI and SDK versions.
The agent must have a model. The page lists supported model identifiers, and its override examples include claude-sonnet-5-5 and claude-opus-5-5. Skills require the read tool. Authenticated MCP tools additionally require a vault containing the relevant stored OAuth credentials.
An explicit inference_geo must satisfy the workspace's allowed_inference_geos. The page describes validation against workspace settings but does not explain how to configure those settings.
Mechanism
Sessions use events to drive execution. Creating a session without initial_events registers it and starts provisioning the environment's sandbox, but does not start agent work. Sending a user event starts the task. Alternatively, a non-empty initial_events list creates the session directly in running status.
Initial events are validated and persisted in order before the creation response returns. Validation is all-or-nothing: an invalid event rejects the request without creating a session. An empty list behaves like an omitted list. Seeded events are not echoed in the creation response; retrieve them through the session's event list.
Passing an agent ID string selects its latest version at creation. A versioned object chooses a specific version. The creation response exposes the effective agent configuration, including any overrides, alongside the base agent ID and version.
Setup
Create the agent and environment separately, then submit their identifiers to POST https://api.anthropic.com/v1/sessions. Choose whether the session should use the latest agent version, a pinned version or a configuration override.
Attach any desired budget during creation and include vault_ids when authenticated MCP tools need them. Add initial_events to start work in the same request, or later send a user.message through the session's events endpoint.
Language-specific serialization matters. For example, the PHP example warns that ordinary array handling can omit null values, so explicitly clearing the system prompt requires the illustrated array-access approach. Ruby uses system_ for that override field. The page links elsewhere for streaming responses and handling tool confirmations.
Example
The page's introductory task asks the agent to list files in its working directory. Supply your existing agent ID and environment ID, then include one initial_events entry with type user.message and a text content block containing that request. According to the documentation, this starts the agent loop during session creation.
To give that session a $1.25 list-cost allowance, add a budget with type limit and max_list_cost containing amount "125" and currency "USD". This is an example allowance, not an estimate of the task's actual cost. The documented behavior has not been executed or verified, and completing the task depends on the configured agent tools and environment.
Assessment & evidence
Limitations
initial_events accepts at most 50 events and supports only user.message and user.define_outcome. It rejects system.message, tool-response events and interrupts at creation. At most one outcome definition is allowed, and it requires a rubric. More than 100 file-sourced document blocks across the list returns 400; a request body over 32 MB returns 413.
Overrides replace values in full rather than merging them. A tools override must therefore include every desired tool. A model override also replaces effort and inference_geo settings: omitting effort uses the model's default, while omitting inference_geo clears the agent's pin and follows the workspace default.
The model cannot be cleared. Tools cannot be cleared while effective skills remain configured. MCP servers cannot be cleared while effective tools still reference them through mcp_toolset entries. Unsupported effort levels also produce an error.
Response-stream handling, recovery behavior, session-status details and operational deletion procedures are not explained here. Runtime latency, reliability and output quality were not assessed.
Reasoning
Version pinning is useful when an application needs deliberate agent rollouts: the documented versioned reference controls which agent version a new session uses. It does not establish reproducible model outputs or prove that a task will succeed.
Session-only overrides provide a documented way to try a different model or tool configuration without publishing another agent version. Because overrides replace complete fields, reviewing the resolved configuration is a sensible integration step, particularly when effort settings or inference geography matter.
The budget and retention rules materially affect suitability. A task requiring an exact maximum final charge or zero retained transcripts cannot assume those requirements are satisfied by the ordinary hosted-session behavior described here.
Alternatives
Within this API, you can separate session creation from task submission or combine them with initial_events. The separate approach supports creating the session before supplying work; the combined approach starts the task with one creation request.
Configuration choices include following the latest agent version, pinning a version, or applying overrides to a base version. The page also points to scheduled deployments for recurring runs, but their implementation details are outside this resource.
No competing services, comparative benchmarks or alternative agent frameworks are evaluated. This page cannot establish which platform offers better cost, reliability or task performance.
Evidence
The evidence consists of the complete Start a session documentation page, including feature metadata, explanations, validation rules and examples. Its source address is [https://platform.claude.com/docs/en/managed-agents/sessions.md]. The supplied source revision is sha256:ee5249426c20d83bb74d78dae8a5526b60936a907c199028b2ed9ebe6fc76af5.
The page supports statements about documented API behavior. No commands, API requests or SDK examples were executed. There are no observed task results, billing measurements or performance benchmarks. The contents of linked pages are excluded.
Access & freshness
Costs
Actual operating cost is unknown. The page provides no unit prices, representative task costs or free-tier details. Its budget uses list cost, meaning consumption valued at public list rates; it does not establish how that amount relates to a particular account's final bill.
Budget amounts are whole US cents encoded as strings, and USD is the only supported currency. Once the running list cost reaches the limit, the session stops issuing new model requests and becomes idle with stop reason budget_reached. The request that crosses the limit finishes first, so final list cost can exceed the configured amount.
A budget can be attached only when creating the session. An attached budget can later be changed or removed, but a session created without one cannot acquire one later. The detailed rules for what counts toward cost and for multiagent budgeting are outside this page.
Rights
The supplied page does not state a redistribution licence for its text or code examples. Commercial-use permissions, output ownership and applicable service terms are not established by this evidence.
The feature metadata says sessions are stateful and transcripts persist until deletion. It marks Managed Agents as ineligible for zero data retention, or ZDR, except for self-hosted Managed Agents. The page does not explain that exception's conditions or establish deletion timing and backup-retention behavior.
Freshness
The supplied page was captured on 14 November 2026 at 19:03:43.078 UTC. It identifies the feature as beta, specifies beta header managed-agents-2026-04-01 and uses anthropic-version: 2026-10-21 in its HTTP examples.
Those header values identify API conventions rather than a stated publication or last-updated date. No last-updated date is supplied. Availability, supported models, SDK compatibility and behavior after the captured version remain unknown.
Actions
Before integrating, establish access to the beta feature and create the required agent and environment. Choose an agent-version strategy, decide whether to start immediately with initial_events and attach a budget at creation if spending control is needed.
When applying overrides, include the complete intended values and explicitly preserve any required effort or inference geography. Check tool dependencies before clearing skills, tools or MCP servers.
Confirm that persistent transcripts meet your data-handling requirements, obtain current pricing and service terms, and consult the linked documentation for response streaming, tool confirmations and session operations. Validate those behaviors in your own environment before relying on them.
