differences changedmanaged-agents/self-hosted/differences
Nearest release: v2.1.330, published under an hour 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+44added
Lines−44removed
From line
12
where the diff opens
First seen
12 Nov 2026
this site's first read of the page
Recorded edits3to this page, all time
The whole hunk
from line 12, old and new numbered
/
from line 12
1212
1313## Features that only your server has
1414
15| Feature | What it does | How to set it up |
16| ------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- |
17| A choice of inference provider | The server can send model calls to a cloud provider or your own model gateway instead of the Claude API. | [Inference provider](https://platform.claude.com/docs/en/managed-agents/self-hosted/inference-provider) |
18| Single sign-on | People call the server with a token from your OpenID Connect identity provider. The server gives each caller a role from the groups in the token. The server API key keeps working. | [Single sign-on](https://platform.claude.com/docs/en/managed-agents/self-hosted/configure#single-sign-on) |
19| Your own secret manager | The server can store the secret of each new vault credential in your secret manager instead of its own database. | [Secret manager](https://platform.claude.com/docs/en/managed-agents/self-hosted/agent-identity#secret-manager) |
20| Agent identity | The server can sign a short-lived token and send it with an agent’s calls to an MCP server. The MCP server or gateway checks the token against public keys that you publish. | [Agent identity](https://platform.claude.com/docs/en/managed-agents/self-hosted/agent-identity#agent-identity) |
15| Feature | What it does | How to set it up |
16| ----- | ----- | ----- |
17| A choice of inference provider | The server can send model calls to a cloud provider or your own model gateway instead of the Claude API. | [Inference provider](https://platform.claude.com/docs/en/managed-agents/self-hosted/inference-provider) |
18| Single sign-on | People call the server with a token from your OpenID Connect identity provider. The server gives each caller a role from the groups in the token. The server API key keeps working. | [Single sign-on](https://platform.claude.com/docs/en/managed-agents/self-hosted/configure#single-sign-on) |
19| Your own secret manager | The server can store the secret of each new vault credential in your secret manager instead of its own database. | [Secret manager](https://platform.claude.com/docs/en/managed-agents/self-hosted/agent-identity#secret-manager) |
20| Agent identity | The server can sign a short-lived token and send it with an agent’s calls to an MCP server. The MCP server or gateway checks the token against public keys that you publish. | [Agent identity](https://platform.claude.com/docs/en/managed-agents/self-hosted/agent-identity#agent-identity) |
2121
2222## Features that aren’t available
2323
24| Feature | What happens | What to do instead |
25| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
26| [Cloud environments](https://platform.claude.com/docs/en/managed-agents/environments) | Only `self_hosted` environments exist. A request for a cloud environment returns a `400` error. | [Deploy self-hosted workers](https://platform.claude.com/docs/en/managed-agents/self-hosted-sandboxes-workers) for every environment. |
27| The rest of the Claude API, such as the [Messages API](https://platform.claude.com/docs/en/build-with-claude/working-with-messages) and the Models API | The server doesn’t serve it. The SDK’s calls to `/v1/messages` and `/v1/models` return a `404` error. | Send those requests to the Claude API or to your provider, from a client that doesn’t point at your server. |
28| [File session resources](https://platform.claude.com/docs/en/managed-agents/files) and the Files API | The server rejects `file` resources, and `/v1/files` doesn’t exist. `memory_store` resources work. | Put files in the worker’s working directory. See [Move data in and out of a session](https://platform.claude.com/docs/en/managed-agents/self-hosted/call-the-api#move-data-in-and-out-of-a-session). To show the model an image or a PDF, send it as `base64` in a message. |
29| [`mcp_oauth` vault credentials](https://platform.claude.com/docs/en/managed-agents/vaults) | The server rejects them when you create them, because it has no OAuth flow to refresh a token. | Store the token as a `static_bearer` credential. Update the credential with a new token before the old one expires. |
30| [Prebuilt `docx`, `pdf`, `pptx`, and `xlsx` skills](https://platform.claude.com/docs/en/managed-agents/skills) | The server rejects an agent that declares them. Only skills you upload exist. | Download their sources from the [skills repository](https://github.com/anthropics/skills) and upload them as custom skills. |
31| [Scheduled deployments](https://platform.claude.com/docs/en/managed-agents/scheduled-deployments) and [dreams](https://platform.claude.com/docs/en/managed-agents/dreams) | The server has no routes for them. | Start sessions from your own scheduler, such as a cron job. Dreams have no replacement. |
32| [Webhooks](https://platform.claude.com/docs/en/managed-agents/webhooks) | The server sends no webhooks, so a worker that starts on a webhook never starts. | Follow a session through its [event stream](https://platform.claude.com/docs/en/managed-agents/events-and-streaming), or list its events. Keep your workers running so that they can poll. |
24| Feature | What happens | What to do instead |
25| ----- | ----- | ----- |
26| [Cloud environments](https://platform.claude.com/docs/en/managed-agents/environments) | Only `self_hosted` environments exist. A request for a cloud environment returns a `400` error. | [Deploy self-hosted workers](https://platform.claude.com/docs/en/managed-agents/self-hosted-sandboxes-workers) for every environment. |
27| The rest of the Claude API, such as the [Messages API](https://platform.claude.com/docs/en/build-with-claude/working-with-messages) and the Models API | The server doesn’t serve it. The SDK’s calls to `/v1/messages` and `/v1/models` return a `404` error. | Send those requests to the Claude API or to your provider, from a client that doesn’t point at your server. |
28| [File session resources](https://platform.claude.com/docs/en/managed-agents/files) and the Files API | The server rejects `file` resources, and `/v1/files` doesn’t exist. `memory_store` resources work. | Put files in the worker’s working directory. See [Move data in and out of a session](https://platform.claude.com/docs/en/managed-agents/self-hosted/call-the-api#move-data-in-and-out-of-a-session). To show the model an image or a PDF, send it as `base64` in a message. |
29| [`mcp_oauth` vault credentials](https://platform.claude.com/docs/en/managed-agents/vaults) | The server rejects them when you create them, because it has no OAuth flow to refresh a token. | Store the token as a `static_bearer` credential. Update the credential with a new token before the old one expires. |
30| [Prebuilt `docx`, `pdf`, `pptx`, and `xlsx` skills](https://platform.claude.com/docs/en/managed-agents/skills) | The server rejects an agent that declares them. Only skills you upload exist. | Download their sources from the [skills repository](https://github.com/anthropics/skills) and upload them as custom skills. |
31| [Scheduled deployments](https://platform.claude.com/docs/en/managed-agents/scheduled-deployments) and [dreams](https://platform.claude.com/docs/en/managed-agents/dreams) | The server has no routes for them. | Start sessions from your own scheduler, such as a cron job. Dreams have no replacement. |
32| [Webhooks](https://platform.claude.com/docs/en/managed-agents/webhooks) | The server sends no webhooks, so a worker that starts on a webhook never starts. | Follow a session through its [event stream](https://platform.claude.com/docs/en/managed-agents/events-and-streaming), or list its events. Keep your workers running so that they can poll. |
3333
3434## Features that behave differently
3535
36| Feature | What’s different | What to do |
37| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
38| Claude Console | The Claude Console at platform.claude.com doesn’t show what is on your server. | Use the [console on your server](https://platform.claude.com/docs/en/managed-agents/self-hosted/console). |
39| Tool calls | A session’s model turns run even when no worker is polling its environment. 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. |
40| [Memory stores](https://platform.claude.com/docs/en/managed-agents/memory) | The API is complete. The worker, not the server, copies each attached store into the sandbox and writes changes back. See [Memory stores in self-hosted sandboxes](https://platform.claude.com/docs/en/managed-agents/self-hosted-sandboxes-memory). | Run your workers on the [latest version of `ant`](https://platform.claude.com/docs/en/cli-sdks-libraries/cli/quickstart#installation), with a writable `/mnt/memory` directory. |
41| [Custom skill](https://platform.claude.com/docs/en/managed-agents/skills#create-a-custom-skill) uploads | The server doesn’t unpack a zip archive. An upload of one returns a `400` error that says `SKILL.md not found in uploaded files`. | `ant apply` and the Python SDK’s `files_from_dir` helper work as they are. With anything else, upload the skill’s files as separate parts, and start each part’s file name with the skill’s folder, as in `my-skill/SKILL.md`. |
36| Feature | What’s different | What to do |
37| ----- | ----- | ----- |
38| Claude Console | The Claude Console at platform.claude.com doesn’t show what is on your server. | Use the [console on your server](https://platform.claude.com/docs/en/managed-agents/self-hosted/console). |
39| Tool calls | A session’s model turns run even when no worker is polling its environment. 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. |
40| [Memory stores](https://platform.claude.com/docs/en/managed-agents/memory) | The API is complete. The worker, not the server, copies each attached store into the sandbox and writes changes back. See [Memory stores in self-hosted sandboxes](https://platform.claude.com/docs/en/managed-agents/self-hosted-sandboxes-memory). | Run your workers on the [latest version of `ant`](https://platform.claude.com/docs/en/cli-sdks-libraries/cli/quickstart#installation), with a writable `/mnt/memory` directory. |
41| [Custom skill](https://platform.claude.com/docs/en/managed-agents/skills#create-a-custom-skill) uploads | The server doesn’t unpack a zip archive. An upload of one returns a `400` error that says `SKILL.md not found in uploaded files`. | `ant apply` and the Python SDK’s `files_from_dir` helper work as they are. With anything else, upload the skill’s files as separate parts, and start each part’s file name with the skill’s folder, as in `my-skill/SKILL.md`. |
4242| [Multiagent orchestration](https://platform.claude.com/docs/en/managed-agents/multiagent-orchestration) | An agent can delegate only to subagents that you list. Dynamic workflows, the advisor, and subagents that the agent defines itself aren’t available. The server accepts a `multiagent` (csharp, go: `Multiagent`) block only if its `type` is `coordinator`. The examples in Multiagent orchestration set `type` to `multiagent_20261001`, which returns a `400` error. A block with an `advisor` (csharp, go: `Advisor`) setting returns a `400` error too. | Set `multiagent` (csharp, go: `Multiagent`) to `{"type": "coordinator", "agents": [...]}`. List 1 to 20 agents in `agents` (csharp, go: `Agents`). Each entry takes one of the [forms of a predefined agent](https://platform.claude.com/docs/en/managed-agents/multiagent-orchestration#predefined-and-inline-agents). |
43| [GitHub repository](https://platform.claude.com/docs/en/managed-agents/github) session resources | The server rejects `github_repository` resources until you list their Git hosts in its settings. The server doesn’t discover skills in a repository’s `.claude/skills` directory, so attach skills to the agent. | See [Git repositories need an allowlist entry](https://platform.claude.com/docs/en/managed-agents/self-hosted/differences#git-repositories-need-an-allowlist-entry). |
44| [MCP servers](https://platform.claude.com/docs/en/managed-agents/mcp-connector) | The server connects only to the MCP hosts that you list in its settings. | See [MCP servers need an allowlist entry](https://platform.claude.com/docs/en/managed-agents/self-hosted/differences#mcp-servers-need-an-allowlist-entry). |
45| [Web tools](https://platform.claude.com/docs/en/managed-agents/tools-web-restrictions) | The `web_search` and `web_fetch` tools are off until you turn them on in the server’s settings. | See [Web tools need a server setting](https://platform.claude.com/docs/en/managed-agents/self-hosted/differences#web-tools-need-a-server-setting). |
46| [`environment_variable` vault credentials](https://platform.claude.com/docs/en/managed-agents/vaults) | The server rejects them until you turn on the egress gateway, a proxy between your sandboxes and the internet. | See [Environment variable credentials](https://platform.claude.com/docs/en/managed-agents/self-hosted/agent-identity#environment-variable-credentials). Without the gateway, give your sandbox the CLI and API credentials it needs through your own tooling. |
47| Custom tool results | The server sends the model the whole text of a custom tool result. If a result is too large for the model’s context window, the server still answers with `200`, and the session then ends with a `session.error`. | Shorten long results in your client before you send them. |
48| MCP tool results | The server cuts a result that is larger than its `mcp.max_result_bytes` setting, which is 100 KiB by default. It tells the model that the result was cut, and the rest is lost. The hosted service cuts long results too, but can [save the full result to a file](https://platform.claude.com/docs/en/managed-agents/mcp-connector#mcp-tool-output-handling) for a session in a cloud sandbox. | To change the limit, set `mcp.max_result_bytes` in the [settings file](https://platform.claude.com/docs/en/managed-agents/self-hosted/configuration-reference#where-settings-go). |
49| Images and documents sent by URL | The server accepts an `image` or `document` block with a `url` source, but the model never sees it, and there is no error. The same happens to an `image` block with a `file` source. | Send the data as `base64`, or as `text` for a document. |
50| The `rescheduling` session status | The server retries a model call that fails for a temporary reason and reports each attempt on the event stream, as the hosted service does. The session’s status stays `running` between attempts, so a `statuses[]=rescheduling` filter matches no sessions. | Read retries from the event stream. |
51| Session metadata, with a model gateway | If the server’s `inference.credentials.assertion.forward_metadata` setting lists session metadata keys, an update that adds, removes, or changes one of them returns a `400` error. | Set those keys when you create the session. For the setting, see [Short-lived gateway tokens](https://platform.claude.com/docs/en/managed-agents/self-hosted/configuration-reference#short-lived-gateway-tokens). |
43| [GitHub repository](https://platform.claude.com/docs/en/managed-agents/github) session resources | The server rejects `github_repository` resources until you list their Git hosts in its settings. The server doesn’t discover skills in a repository’s `.claude/skills` directory, so attach skills to the agent. | See [Git repositories need an allowlist entry](https://platform.claude.com/docs/en/managed-agents/self-hosted/differences#git-repositories-need-an-allowlist-entry). |
44| [MCP servers](https://platform.claude.com/docs/en/managed-agents/mcp-connector) | The server connects only to the MCP hosts that you list in its settings. | See [MCP servers need an allowlist entry](https://platform.claude.com/docs/en/managed-agents/self-hosted/differences#mcp-servers-need-an-allowlist-entry). |
45| [Web tools](https://platform.claude.com/docs/en/managed-agents/tools-web-restrictions) | The `web_search` and `web_fetch` tools are off until you turn them on in the server’s settings. | See [Web tools need a server setting](https://platform.claude.com/docs/en/managed-agents/self-hosted/differences#web-tools-need-a-server-setting). |
46| [`environment_variable` vault credentials](https://platform.claude.com/docs/en/managed-agents/vaults) | The server rejects them until you turn on the egress gateway, a proxy between your sandboxes and the internet. | See [Environment variable credentials](https://platform.claude.com/docs/en/managed-agents/self-hosted/agent-identity#environment-variable-credentials). Without the gateway, give your sandbox the CLI and API credentials it needs through your own tooling. |
47| Custom tool results | The server sends the model the whole text of a custom tool result. If a result is too large for the model’s context window, the server still answers with `200`, and the session then ends with a `session.error`. | Shorten long results in your client before you send them. |
48| MCP tool results | The server cuts a result that is larger than its `mcp.max_result_bytes` setting, which is 100 KiB by default. It tells the model that the result was cut, and the rest is lost. The hosted service cuts long results too, but can [save the full result to a file](https://platform.claude.com/docs/en/managed-agents/mcp-connector#mcp-tool-output-handling) for a session in a cloud sandbox. | To change the limit, set `mcp.max_result_bytes` in the [settings file](https://platform.claude.com/docs/en/managed-agents/self-hosted/configuration-reference#where-settings-go). |
49| Images and documents sent by URL | The server accepts an `image` or `document` block with a `url` source, but the model never sees it, and there is no error. The same happens to an `image` block with a `file` source. | Send the data as `base64`, or as `text` for a document. |
50| The `rescheduling` session status | The server retries a model call that fails for a temporary reason and reports each attempt on the event stream, as the hosted service does. The session’s status stays `running` between attempts, so a `statuses[]=rescheduling` filter matches no sessions. | Read retries from the event stream. |
51| Session metadata, with a model gateway | If the server’s `inference.credentials.assertion.forward_metadata` setting lists session metadata keys, an update that adds, removes, or changes one of them returns a `400` error. | Set those keys when you create the session. For the setting, see [Short-lived gateway tokens](https://platform.claude.com/docs/en/managed-agents/self-hosted/configuration-reference#short-lived-gateway-tokens). |
5252
5353## Features that need a server setting
5454
from line 71
7171* It must use `https`, unless the MCP server is on the loopback address.
7272* If its host is a name that resolves only to private or reserved addresses, your server refuses to connect by default. Pick the fix that fits your case:
7373
74| Your case | Fix |
75| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ |
76| The address is in `10.0.0.0/8`, `172.16.0.0/12`, or `192.168.0.0/16`, and you control the name’s DNS records | Keep the name, and also list it under `mcp.private_hostnames` in the settings file. |
77| Any other case | Use the IP address in place of the name, in the URL and on the allowlist. The MCP server’s certificate must name that address. |
74| Your case | Fix |
75| ----- | ----- |
76| The address is in `10.0.0.0/8`, `172.16.0.0/12`, or `192.168.0.0/16`, and you control the name’s DNS records | Keep the name, and also list it under `mcp.private_hostnames` in the settings file. |
77| Any other case | Use the IP address in place of the name, in the URL and on the allowlist. The MCP server’s certificate must name that address. |
7878
7979### Git repositories need an allowlist entry
8080
from line 112
112112
113113While the tools are off, what happens to an agent depends on the `web_search` and `web_fetch` entries in its toolset:
114114
115| The toolset has | What happens |
116| ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------- |
117| No entry for either tool | The agent runs without the tools, and no error says so. |
118| An entry that only turns its tool off, such as `{"name": "web_fetch", "enabled": false}` | The same. |
115| The toolset has | What happens |
116| ----- | ----- |
117| No entry for either tool | The agent runs without the tools, and no error says so. |
118| An entry that only turns its tool off, such as `{"name": "web_fetch", "enabled": false}` | The same. |
119119| An entry that leaves its tool on, or that sets its domain lists, content limit, or location | The server refuses to save the agent, or to start a session for it. |
120120
121121Which web tools exist also [depends on your inference provider](https://platform.claude.com/docs/en/managed-agents/self-hosted/differences#differences-that-depend-on-your-inference-provider).
from line 126
126126
127127The `web_search` and `web_fetch` rows apply after you [turn the web tools on](https://platform.claude.com/docs/en/managed-agents/self-hosted/differences#web-tools-need-a-server-setting). Until then, neither tool works under any provider.
128128
129| Feature | Works when `inference.provider` is | Under the other values | What to do |
130| ----------------------------------------------------------------------- | ------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
131| `web_search` tool | `anthropic`, `vertex`, `foundry` | The server never offers the tool to the model. Agents still save and run, and still list the tool, but the model can’t call it. | Give the agent a custom tool or an MCP server that searches. |
132| `web_fetch` tool | `anthropic`, `foundry` | The same as for `web_search`. | Give the agent a custom tool or an MCP server that fetches pages. |
133| `inference_geo` (java, php: `inferenceGeo`; csharp, go: `InferenceGeo`) | `anthropic` | The server refuses to save an agent that sets it. | Remove `inference_geo` (java, php: `inferenceGeo`; csharp, go: `InferenceGeo`) from the agent. |
134| Fast mode (`speed: "fast"`) | Depends on the provider and on the agent’s model | An agent that sets it has to pass two checks.<br />**When you save the agent:** The server’s model catalog must list the agent’s model as one that accepts fast mode. Otherwise, the server refuses to save the agent.<br />**On each turn:** If the provider doesn’t serve fast mode for that model or deployment, the turn ends with an error. | Remove `speed` (csharp, go: `Speed`) from the agent. See [Models that accept fast mode](https://platform.claude.com/docs/en/managed-agents/self-hosted/differences#models-that-accept-fast-mode). |
129| Feature | Works when `inference.provider` is | Under the other values | What to do |
130| ----- | ----- | ----- | ----- |
131| `web_search` tool | `anthropic`, `vertex`, `foundry` | The server never offers the tool to the model. Agents still save and run, and still list the tool, but the model can’t call it. | Give the agent a custom tool or an MCP server that searches. |
132| `web_fetch` tool | `anthropic`, `foundry` | The same as for `web_search`. | Give the agent a custom tool or an MCP server that fetches pages. |
133| `inference_geo` (java, php: `inferenceGeo`; csharp, go: `InferenceGeo`) | `anthropic` | The server refuses to save an agent that sets it. | Remove `inference_geo` (java, php: `inferenceGeo`; csharp, go: `InferenceGeo`) from the agent. |
134| Fast mode (`speed: "fast"`) | Depends on the provider and on the agent’s model | An agent that sets it has to pass two checks.<br />**When you save the agent:** The server’s model catalog must list the agent’s model as one that accepts fast mode. Otherwise, the server refuses to save the agent.<br />**On each turn:** If the provider doesn’t serve fast mode for that model or deployment, the turn ends with an error. | Remove `speed` (csharp, go: `Speed`) from the agent. See [Models that accept fast mode](https://platform.claude.com/docs/en/managed-agents/self-hosted/differences#models-that-accept-fast-mode). |
135135
136136Under `anthropic`, the server asks for the Claude API’s [server-side fallback](https://platform.claude.com/docs/en/build-with-claude/refusals-and-fallback#server-side-fallback) by default. When a safety classifier declines a request, another Claude model, possibly a less capable one, can then answer it. Anthropic picks the model, and no event reports the change, but a read of the session shows that model’s ID. To turn fallback off, set `inference.model_fallback: false`. Under the other providers, such a request ends the turn with a refusal.
137137
No line in this hunk matches that.