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
HomeDocsSearch
Search the documentation

766 pages for runs.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.

permission-policies Claude Developer Platform · in the page managed-agents/permission-policies …) for the event flow. | | `auto` | The server evaluates each call and runs it, denies it, or pauses for your approval. See [Let the server evaluate each call with `auto`](https://platform.claude.com/d… quickstart Claude Developer Platform · in the page managed-agents/quickstart …with the CLI is recommended for local development. For code that runs in CI or on a server with an identity provider, set up [Workload Identity Federation](https://platform.claude.com/docs/en/man… reference Claude Developer Platform · in the page managed-agents/reference …document content. | | `user.interrupt` | Stop the agent while it runs. It ends no [workflow run](https://platform.claude.com/docs/en/managed-agents/workflow-runs#interrupt-a-session-with-runs-ope… scheduled-deployments Claude Developer Platform · in the page managed-agents/scheduled-deployments …onse includes a deployment object with a populated `schedule.upcoming_runs_at` with the next upcoming fire times, to confirm your schedule was set correctly. ```json { "id": "depl_01xyz", "status… secure-deployment Claude Developer Platform · in the page managed-agents/secure-deployment …n | Recommended | | ----- | ----- | ----- | | [Choose where the agent runs](https://platform.claude.com/docs/en/managed-agents/secure-deployment#choose-where-the-agent-runs) | Cloud or self-hosted san… secure-deployment-monitoring Claude Developer Platform · in the page managed-agents/secure-deployment-monitoring …sessions you no longer need. To limit what an agent can do before it runs, see [Secure your Managed Agents deployment](https://platform.claude.com/docs/en/managed-agents/secure-deployment). ## Optio… secure-deployment-risks Claude Developer Platform · in the page managed-agents/secure-deployment-risks …s://www.anthropic.com/engineering/managed-agents). | Part | Where it runs | What limits it | | ----- | ----- | ----- | | Agent loop | Anthropic’s servers | The tool set, permission policies, and budg… self-hosted Claude Developer Platform · in the page managed-agents/self-hosted …remise data center. You host the service and the sandboxes. The model runs at Anthropic or at a provider that you choose. Managed Agents has two parts that you can host: * **Sandboxes:** The contain… self-hosted-data-and-access Claude Developer Platform · in the page managed-agents/self-hosted-data-and-access …the inference provider offers the web search and web fetch tools, it runs them. The server makes no connection of its own for them. The tools are off until you turn them on in the server’s settings.… spawn.sh: called once per claimed work item Claude Developer Platform · in the page managed-agents/self-hosted-sandboxes …uts and outputs still flow to Anthropic's control plane (where Claude runs) so the model can see results and determine what to do next. The agent's [skills](https://platform.claude.com/docs/en/managed… self-hosted-sandboxes-custom-tools Claude Developer Platform · in the page managed-agents/self-hosted-sandboxes-custom-tools …om/docs/en/managed-agents/tools#custom-tools) are tools your own code runs: the agent emits an `agent.custom_tool_use` event and waits for a matching `user.custom_tool_result`. Your worker can be that… self-hosted-sandboxes-memory Claude Developer Platform · in the page managed-agents/self-hosted-sandboxes-memory …eate the parent directory and make it writable by the user the worker runs as: ```bash sudo mkdir -p /mnt/memory && sudo chown "$USER" /mnt/memory ``` Don’t create any store’s directory yourself. Th… self-hosted-sandboxes-operations Claude Developer Platform · in the page managed-agents/self-hosted-sandboxes-operations …## Stop workers gracefully A worker that is canceled while a session runs shuts that session down before it exits, as it does when you [stop a session](https://platform.claude.com/docs/en/managed-age… self-hosted-sandboxes-per-session Claude Developer Platform · in the page managed-agents/self-hosted-sandboxes-per-session …rm on AWS: beta --- In the sandbox-per-session pattern, each session runs in a fresh sandbox, which can have its own filesystem, resource limits, and network controls. To compare it with the other pa… self-hosted-sandboxes-reference Claude Developer Platform · in the page managed-agents/self-hosted-sandboxes-reference …eta:worker poll` | Claims work items from the environment’s queue and runs each session in process. With `--on-work`, calls your script for each work item instead. | | `ant beta:worker run` | Handles… self-hosted-sandboxes-security Claude Developer Platform · in the page managed-agents/self-hosted-sandboxes-security …endpoints. --- In every environment, Anthropic secures the parts it runs: session and work queue integrity, multitenant isolation, and agent-context minimization. When you self-host sandboxes, the f… self-hosted-sandboxes-workers Claude Developer Platform · in the page managed-agents/self-hosted-sandboxes-workers …m.claude.com/docs/en/managed-agents/self-hosted-sandboxes#quickstart) runs one `ant` CLI worker that polls continuously and runs every session in one process. This page helps you choose a deployment p… agent-identity Claude Developer Platform · in the page managed-agents/self-hosted/agent-identity …r-policy.json`, and attach the policy to the identity that the server runs as. * **Google Cloud Secret Manager:** Run the commands in the comments of `gcp-secret-manager-role.yaml`. * **Azure Key Vaul… then: histchars= HISTFILE=/dev/null ant beta:worker poll --workdir /workspace Claude Developer Platform · in the page managed-agents/self-hosted/call-the-api …/self-hosted/kubernetes). * **Access to the server:** If someone else runs the server, ask them for its address and how to authenticate. If they use single sign-on, see [Let developers log in from a t… configuration-reference Claude Developer Platform · in the page managed-agents/self-hosted/configuration-reference …`64` | `store.backend: postgres` only. The most turns that one server runs at once. The minimum is `1`. The server keeps extra slots for subagent turns alone. Their number is a quarter of this value,… configure Claude Developer Platform · in the page managed-agents/self-hosted/configure …d changes only what that caller created | Lists them, reads them, and runs sessions in them | `developer` and `user` have the same access. A caller with either role: * **Can’t see a resource that so… console Claude Developer Platform · in the page managed-agents/self-hosted/console …on a worker, so select an environment that a worker is polling. [What runs where](https://platform.claude.com/docs/en/managed-agents/self-hosted#what-runs-where) says what a worker is. With no worker,… differences Claude Developer Platform · in the page managed-agents/self-hosted/differences …onment. The first tool call then waits, with no error, until a worker runs it. | If a session stops at a tool call, check that a worker is polling its environment. | | [Memory stores](https://platform… inference-provider Claude Developer Platform · in the page managed-agents/self-hosted/inference-provider …ay’s own registration. A token for another resource would let whoever runs the gateway act as the server there. The token is issued to the server’s own Azure identity, set up as for Microsoft Entra I… kubernetes Claude Developer Platform · in the page managed-agents/self-hosted/kubernetes …kes an empty Google Kubernetes Engine (GKE) cluster to a session that runs a tool in a sandbox pod. It uses the two Helm charts in the release archive, which run the whole stack on the cluster: * **`… quickstart Claude Developer Platform · in the page managed-agents/self-hosted/quickstart …already downloaded the release archive. ``` If you’re an agent that runs these steps for a person: * **Release archive:** Ask the person where the archive is. Only they can download it. * **Claude… upgrade Claude Developer Platform · in the page managed-agents/self-hosted/upgrade …TGRES_USER` and `$POSTGRES_DB` as they are. The text in single quotes runs inside the `postgres` container, which holds the names of its role and its database in those variables. The stack keeps… session-observability Claude Developer Platform · in the page managed-agents/session-observability …ts, stream responses, and interrupt or redirect your session while it runs. </Card> <Card title="Session budgets" icon="coins" href="https://platform.claude.com/docs/en/managed-agents/budgets">… session-operations Claude Developer Platform · in the page managed-agents/session-operations …flow run](https://platform.claude.com/docs/en/managed-agents/workflow-runs#while-a-run-is-open) is still open, so `idle` alone doesn’t mean that the work is done. See [Know when the work is done](http… session-threads Claude Developer Platform · in the page managed-agents/session-threads …flow run](https://platform.claude.com/docs/en/managed-agents/workflow-runs) creates session threads too. ## Primary thread and session threads The **session-level event stream** (`/v1/sessions/{sess… sessions Claude Developer Platform · in the page managed-agents/sessions …version, pass an object. This lets you control exactly which version runs and stage rollouts of new versions independently. <CodeGroup> ```bash cURL curl -fsSL https://api.anthropic.com/v1/sessi… skills Claude Developer Platform · in the page managed-agents/skills …s/github), a scan of the repository’s root `.claude/skills` directory runs at session start. Each skill found there becomes available to the agent. You don’t need to upload these skills or add them to… tools Claude Developer Platform · in the page managed-agents/tools …ged Agents also supports custom, user-defined tools. Your application runs these tools separately and returns the results to Claude, which uses them to continue the task. To give the agent tools from… tools-web-restrictions Claude Developer Platform · in the page managed-agents/tools-web-restrictions …gent that called it * The current lists of the agent that the session runs The settings combine as follows: | Setting | How it combines | | ----- | ----- | | `allowed_domains` | The tool can reach a… webhooks Claude Developer Platform · in the page managed-agents/webhooks …ads) opened: an additional agent called by the agent that the session runs is starting work, or the session’s [advisor](https://platform.claude.com/docs/en/managed-agents/multiagent-orchestration#give… migration-guide Claude Developer Platform · in the page models/fable-5-2/migration-guide …expressly authorized by Anthropic. If your organization or workspace runs Claude Opus 5.5 under Legacy ZDR, enable 30-day retention for a workspace or contact your Anthropic account team before you s… whats-new-fable-5-2 Claude Developer Platform · in the page models/fable-5-2/whats-new-fable-5-2 …gineering/prompting-claude-fable-5-2#say-who-owns-the-code). * **Long runs of tool calls can pass with little user-facing text.** The model might also make its first tool call without saying what it’s… migration-guide Claude Developer Platform · in the page models/haiku-5-5/migration-guide …rns-unchanged). 10. Handle `stop_reason: "refusal"`. Claude Haiku 5.5 runs safety classifiers that can decline a request, and it has no server-side fallback. See [Safeguard refusals](https://platform.… migration-guide Claude Developer Platform · in the page models/opus-5-5/migration-guide …nd ``` </CodeGroup> ## Handle thinking in every response Thinking runs on every Claude Opus 5.5 request, so every response can start with `thinking` blocks, and `max_tokens` covers thinking plus t… whats-new-opus-5-5 Claude Developer Platform · in the page models/opus-5-5/whats-new-opus-5-5 …thinking` blocks back unmodified in tool-use loops. Code that already runs on Claude Opus 5 with thinking on needs no change. See [Thinking](https://platform.claude.com/docs/en/build-with-claude/think… Models overview Claude Developer Platform · in the page models/overview …capability is a different check. It reports whether code that Claude runs in the code execution tool can call the request’s other tools, as in [programmatic tool calling](https://platform.claude.com/… migration-guide Claude Developer Platform · in the page models/sonnet-5-5/migration-guide …?(Anthropic::Models::TextBlock) end ``` </CodeGroup> ## Thinking runs by default On Claude Sonnet 5.5, a request with no `thinking` field runs with [adaptive thinking](https://platform.claude.co… whats-new-sonnet-5-5 Claude Developer Platform · in the page models/sonnet-5-5/whats-new-sonnet-5-5 …uild-with-claude/preserved-thinking/prefix-checks). The prefix check runs on the Claude API and on [some cloud platforms](https://platform.claude.com/docs/en/build-with-claude/preserved-thinking#feat… overview Claude Developer Platform · in the page release-notes/overview …A session starts the first time on a UTC day that Claude successfully runs a Bash command, creates a file, or edits a file in the chat. It ends when that day ends. * **Previous rule:** A chat counte… claude-opus-4-7 Claude Developer Platform · in the page release-notes/system-prompts/claude-opus-4-7 …that saying less and giving shorter replies is safer for the user and runs less risk of causing potential harm. Claude cares about safety and does not provide information that could be used to create… mitigate-jailbreaks Claude Developer Platform · in the page test-and-evaluate/strengthen-guardrails/mitigate-jailbreaks …o constrain the response to a simple classification. Claude Haiku 5.5 runs [safety classifiers](https://platform.claude.com/docs/en/build-with-claude/refusals-and-fallback) that can decline the screen… reduce-latency Claude Developer Platform · in the page test-and-evaluate/strengthen-guardrails/reduce-latency …aude-haiku-5-5#use-effort-to-control-thinking). The following example runs it at `low`, the cheapest and fastest level, and leaves room in `max_tokens` for thinking: <CodeGroup> ```bash cURL # Fo… Use Claude Code with a screen reader Claude Code CLI · in the page accessibility …vironment variable or setting on the remote machine where Claude Code runs. The first line Claude Code prints confirms the mode: `[Screen Reader Mode: on via flag]`, `[Screen Reader Mode: on via env]… Set up Claude Code for your organization Claude Code CLI · in the page admin-setup …claude.com/docs/en/desktop-wsl.md). The session's Claude Code process runs inside the distribution, so it resolves managed settings through the WSL discovery path above: Windows-only sources don't rea… Escalate hard decisions with the advisor tool Claude Code CLI · in the page advisor …returns guidance that Claude applies before continuing. The advisor runs server-side on Anthropic's infrastructure as a [server tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/ad…
Feedback