Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

self-hosted-sandboxes-reference changedmanaged-agents/self-hosted-sandboxes-reference

Nearest release: v2.1.334, published 11 hours before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.

Recorded here
Lines+3added
Lines−2removed
From line 10 where the diff opens
First seen 2 Oct 2026 this site's first read of the page
Recorded edits18to this page, all time

The whole hunk

from line 10, old and new numbered
/
lines
from line 10
1010 betaHeader: managed-agents-2026-04-01
1111 zdr:
1212 eligibility: not-eligible
13 note: Not eligible for ZDR, except for self-hosted Managed Agents. Sessions are stateful resources; transcripts persist until you delete them.
13 note: Not eligible for ZDR, except for self-hosted Managed Agents under Legacy ZDR. Sessions are stateful resources; transcripts persist until you delete them.
1414 supportedModels:
1515 - claude-fable-5-2
1616 - claude-mythos-5-2
from line 129
129129| ----- | ----- |
130130| `tools` (go: `ToolsFunc`) | A factory that receives the session’s `AgentToolContext` and returns the tool list. Defaults to the standard agent toolset. |
131131| `max_idle` (typescript: `maxIdleMs`; go: `MaxIdle`) | How long the worker waits while a session is idle before it finishes with the session. Idle time with a [`requires_action` stop reason](https://platform.claude.com/docs/en/managed-agents/events-and-streaming#respond-when-the-session-goes-idle) does not count. Defaults to 60 seconds. To wait 5 minutes, set it to `300` (typescript: `300_000`; go: `anthropic.Ptr(5 * time.Minute)`). To turn the limit off, set it to `None` (typescript: `0`; go: `new(time.Duration)`). |
132| `max_concurrent_calls` (typescript: `maxConcurrentCalls`; go: `MaxConcurrentCalls`) | How many tool calls of a session can run at the same time. Defaults to 1, so calls run one at a time. With a higher value, the calls of different [session threads](https://platform.claude.com/docs/en/managed-agents/session-threads) run concurrently, so your tools must be safe to call concurrently. The calls of one thread still run one at a time. To turn the limit off, set it to `None` (typescript: `null`; go: `-1`). |
132133| `memory_sync_interval` (typescript: `memorySyncIntervalMs`; go: `MemorySyncInterval`) | The shortest time between two syncs of the attached memory stores while the session runs. The worker checks the interval after each call to a tool that runs in your sandbox, not on a timer. Defaults to 15 seconds. See [Sync interval](https://platform.claude.com/docs/en/managed-agents/self-hosted-sandboxes-memory#sync-interval). |
133134| `memory_sync_deletions` (typescript: `memorySyncDeletions`; go: `MemorySyncDeletions`) | Whether files the agent deletes locally are also deleted from the store. See [Deletions](https://platform.claude.com/docs/en/managed-agents/self-hosted-sandboxes-memory#deletions). |
134135 
from line 311
310311 
311312### Session tool runner
312313 
313`client.beta.sessions.events.tool_runner()` (typescript: `client.beta.sessions.events.toolRunner()`; go: `client.Beta.Sessions.Events.NewToolRunner()`) takes a tool list as `tools` (go: `Tools`). To build that list, set up `AgentToolContext` yourself and call `beta_agent_toolset_20260401(env)` (typescript: `betaAgentToolset20260401(ctx)`; go: `agenttoolset.BetaAgentToolset20260401(env)`):
314`client.beta.sessions.events.tool_runner()` (typescript: `client.beta.sessions.events.toolRunner()`; go: `client.Beta.Sessions.Events.NewToolRunner()`) takes the same [`max_concurrent_calls` (typescript: `maxConcurrentCalls`; go: `MaxConcurrentCalls`)](https://platform.claude.com/docs/en/managed-agents/self-hosted-sandboxes-reference#environment-worker) option as `EnvironmentWorker`. It also takes a tool list as `tools` (go: `Tools`). To build that list, set up `AgentToolContext` yourself and call `beta_agent_toolset_20260401(env)` (typescript: `betaAgentToolset20260401(ctx)`; go: `agenttoolset.BetaAgentToolset20260401(env)`):
314315 
315316<CodeGroup exclude="shell, csharp, java, php, ruby">
316317 <CodeGroupItem language="cURL">
Feedback