Self-hosted AI agents and data residency: what still leaves on every step
Anthropic's self-hosted Claude Managed Agents beta moves the agent server, its Postgres session store, the sandboxes and the credentials into your cloud. The model still runs at the endpoint you choose, and each model call carries the conversation so far, tool results included. Your residency answer is set by that inference route, its region and its retention terms.
What does self-hosted Claude Managed Agents run in your cloud?
Anthropic opened self-hosted Claude Managed Agents as a private beta on 12 November 2026, with access through your Anthropic account team. In Anthropic's announcement, you operate the Managed Agents server, its database and the workers that run shell and file tools, and session history lives in your database. Credentials can sit in your own secrets manager, and the record of each agent step exports over OpenTelemetry. Help Net Security adds that the proxy which attaches those credentials covers MCP tools and supported API calls only, so anything else the agent reaches needs its own review.
Developers Digest, in its coverage of the docs, names the parts: cma-server, which serves the API and runs the agent loop, PostgreSQL 16 or later, the workers, a console and a cma-server-admin CLI, with production installs through Helm charts. As with any beta, the APIs and deployment requirements can change before general availability. Pricing and the names of beta customers have not been disclosed, according to AI Weekly.
For a security questionnaire this is a real change. The store of record for agent sessions becomes a database you operate, under your own encryption and backup policy.
Which part of a self-hosted agent still leaves your network?
The model call leaves. "Claude itself still runs outside the customer's network," Help Net Security writes: prompts go out and completions come back. You choose where they go. Anthropic lists Anthropic directly, Amazon Bedrock, Google's Agent Platform, Microsoft Foundry or your own gateway, and Developers Digest reports these as the values of an inference.provider setting (anthropic by default, then bedrock, vertex, foundry and gateway).
Tool calls leave your network too, to the hosts on your allowlist, and each carries what that tool needs. The model call is the one route that carries the whole conversation, every time.
What data goes to the model on each step of an agent run?
For each model call, the conversation so far goes to the configured inference provider, tool inputs and tool results included, according to Developers Digest and ai-tldr. Calls to the default provider also carry session, agent and environment IDs. Take an illustrative claims-review agent inside an insurance administration product, with three steps.
First it reads the policy record, with the claimant and the policy terms. The model call that chose that tool carried the system prompt and the task, and the record comes back as a tool result written to Postgres. Next it calls a pricing API. The model call that asks for the price now carries the system prompt, the task and the whole policy record. Last it drafts a decision, and this call carries all of that plus the pricing result. The draft comes back as the reply.
By the final call, the model endpoint has received every field the agent read. The session table sits in your Postgres, and its content has also travelled to the inference route, one call at a time.
What is stored, what is sent, on each step
An illustrative three-step run: what your cloud keeps, and what each model call carries across the boundary.
What should your data residency answer say?
Your customer is asking where their data goes, and the exact answer is the route the model calls take: who serves the model, where, and what they keep. Anthropic's 12 November announcement says zero data retention covers these requests "in the same way as any other Messages API call." AlphaSignal states the general rule: prompts and model responses "remain subject to the networking, retention, and compliance terms of that route."
Self-hosting the harness moves where session data is stored. The model route decides where it goes.
Many vertical SaaS teams have already picked a route for their hosted AI features, with a provider, a region and a contract their customers have seen. If the agent calls the model through that same route, your residency answer can reuse the wording customers already accepted. If it calls a different one, the answer needs a second line, and the customer will ask why.
If you answer the security questionnaire
Name the inference route, its region and its retention terms in the residency answer. Then list every place session content is written in your cloud, including the trace sink and backups, with an owner and a retention period for each. The server, database and firewall rules are yours to patch under this model.
Where else does agent session data land in your cloud?
Agent session data lands in more places than one database. Each step is logged with its tool call and result and exported over OpenTelemetry, so the trace sink holds the same content as the session table. Application logs that capture tool results hold it again, and backups of either hold it a third time. If your traces are shared across customers, the tenant isolation questions apply to this sink too.
Under this model the server, the database and the firewall rules are yours to run, patch and configure, Help Net Security and AI Weekly report, and ai-tldr says the docs advise running workers in disposable containers or VMs. Older copies count as well. NEAR AI disclosed on 9 November 2026 that the chat history and logs of 18 agents on an older deployment, outside its confidential computing environment, had been taken, and that two customers' API keys had turned up in logs, as The Hacker News and The Block report.
How do you map an agent workflow for a security questionnaire?
Two columns per step settle most of this conversation: what is stored and where, and what is sent and to whom. Here is the illustrative run, filled in. Copy the columns, fill one row per step for one workflow you ship, and send the table to your CISO.
Residency worksheet for one agent workflow
Illustrative. Copy the columns for one workflow you ship.
| Step | What the step adds | Stored where | What the model call carries |
|---|---|---|---|
| 1 | Policy record (claimant, policy terms), read by a tool | Postgres session history; trace sink | System prompt and task, to the inference route (provider, region, retention terms) |
| 2 | Pricing API result | Postgres session history; trace sink | Same route, now with the policy record |
| 3 | Decision draft, written from both results | Postgres session history; trace sink | Same route, now with the policy record and pricing result |
| Your workflow: fill one row per step | |||
On every row: application logs that capture tool results, and backups of Postgres and the trace sink, hold each step too.
Then take the regulated fields one at a time and ask whether each needs to reach a model at all. Many do not: an ID can stand in for a name, and a computed band often does the job of a raw figure. Where a step needs the field and the field has to stay inside your boundary, that step belongs on a model you serve there, next to the session store. Serving a model yourself has its own cost and latency arithmetic, which we worked through in self-hosted LLM versus API.
When a customer asks where their data goes, what does your answer name today?
Anonymous. One vote per browser.
Where SynOS fits
SynOS installs in your cloud and keeps customer data, traces, training data and model weights inside that boundary. Because it trains domain-specific open-weight models there, you can choose to run the steps that touch regulated fields on a model served inside the same boundary as the session store, and route the other steps as you do today.
Questions about self-hosted AI agents and data residency
Does self-hosted Claude Managed Agents keep my data in my environment?
Session history and the workers that run tools stay in your environment and, if you choose, your credentials stay in your own secrets manager, according to Anthropic's announcement of 12 November 2026. Model calls go to the endpoint you choose, and each one carries the conversation so far, tool inputs and results included.
Does zero data retention cover self-hosted agent calls?
Anthropic says zero data retention applies to these requests in the same way as any other Messages API call. Confirm it in your own agreement, and say in your residency answer which route the calls take and what it keeps.
Can I route model calls through my own gateway?
Yes. A customer gateway is one of the listed routes, alongside Anthropic, Amazon Bedrock, Google's Agent Platform and Microsoft Foundry. Whatever sits behind the gateway decides where the data goes.
What should a data residency answer for an AI agent include?
Name the inference route, its region and its retention terms. Then list every place session content is written in your cloud, including the trace sink, application logs and backups, with an owner and a retention period for each.
Sources
- Self-hosted Claude Managed Agents keeps agent credentials in your environment, Help Net Security (12 November 2026, Anamarija Pogorelec; Claude running outside the customer's network, the credential proxy's scope, and who runs and patches the server, database and firewall rules)
- Self-Hosted Claude Managed Agents: What You Run and What You Lose, Developers Digest (12 November 2026; the component names, the
inference.providervalues and the per-call payload, from the docs; the author did not run the software) - Self-hosted Claude Managed Agents: run the whole agent service in-house, ai-tldr (12 November 2026; the per-call payload and the advice to run workers in disposable containers or VMs)
- Anthropic lets enterprises self-host the Claude agent control plane, AlphaSignal (about 13 November 2026; the route terms quote)
- Anthropic opens self-hosted Claude Managed Agents in private beta, AI Weekly (13 November 2026; the private beta, OpenTelemetry export, pricing and beta customers undisclosed)
- Operate Claude Managed Agents inside your security perimeter, Anthropic and the self-hosted docs (12 November 2026; the announcement: the private beta, the server, database and workers you operate, the model routes, zero data retention, secrets manager and OpenTelemetry export. We could not open the docs page; the component names and the per-call payload come from Developers Digest and ai-tldr)
- SGLang RCE Exploit Breaches NEAR AI, Steals Data From 18 Agents and About 100 Users, The Hacker News (10 November 2026; the 18 agents' chat history and logs on an older deployment, and the API keys in logs)
- NEAR AI says SGLang vulnerability exposed user account details in security breach, The Block (10 November 2026; the disclosure on Monday 9 November, and the older deployment outside the confidential computing environment)