Rightshold™ Sign up
Open betalive and open to everyoneEvidence Delivery$99 / 30 days · Offers are open — review the exact terms and the payment options shown on the service page before accepting.No token, everany ‘Rightshold token’ is not ours

Answers · AI evidence

Anthropic now lets us run Claude Managed Agents ourselves. Our security review wants to know: where do the session transcripts live, what still goes to Anthropic, how long is history kept, and can we treat that history as an audit trail of what the agents did?

Last updated

TL;DR: With self-hosted Claude Managed Agents (launched November 12, 2026; access through your Anthropic account team) you run the server (cma-server), its PostgreSQL 16+ database and the sandboxes, so agents, sessions and session history are stored in your database, not at Anthropic. Without a database configured, the server keeps everything in memory and a restart erases it. What still leaves your network is each model call: the conversation so far, including prompts, tool inputs and tool results, goes to the inference provider you choose (the Claude API unless you point it at Amazon Bedrock, Claude Models on Google Cloud, Microsoft Foundry or your own gateway). Calls to the Claude API also carry session, agent and environment ID headers that can't be switched off, plus a User-Agent naming the server version. Anthropic has no remote access to the server or its log. History stays until you delete it; the server never deletes sessions for age, and a delete doesn't reach backups, exported logs or traces, or memory stores. It's your record, in a database your admins can change, so on its own it isn't independent evidence.

What should I check, step by step?

1. Configure PostgreSQL 16 or later before running real sessions: without a database the server holds agents, sessions and history in memory, and a restart erases them.

  1. Decide where model calls go: the Claude API, Amazon Bedrock, Claude Models on Google Cloud, Microsoft Foundry or your own gateway. Each call carries the conversation so far, so that provider's data agreement covers it.
  2. Tell your security team the three Claude API headers (anthropic-managed-agents-session-id, -agent-id, -environment-id) can't be turned off; they carry IDs, not content, but the IDs encode creation time.
  3. Set a retention policy yourself: sessions and history stay until you delete them, archived or not, and a delete doesn't reach database backups, exported logs and traces, or memory stores.
  4. Point the server's OpenTelemetry variables at your collector if you want traces and metrics; the server writes its log to standard error and keeps no log files of its own.
  5. Keep the environment key out of agent sandboxes and run one deployment per tenant or trust level: an environment key can read events and post tool results in every session in its environment.

Who stores Claude Managed Agents session history when you self-host?

Anthropic's documentation splits Managed Agents into sandboxes (where an agent's tools run commands and work on files) and the service (the API, the agent loop, and storage for agents, sessions and session history). With cloud sandboxes Anthropic hosts both. With self-hosted sandboxes you host the sandboxes and Anthropic still runs the service. With self-hosted Managed Agents you host both, and the model runs at Anthropic or at a provider you choose.

What does self-hosted Claude Managed Agents send outside your network?

The server connects only to a listed set of destinations: your inference provider, its database, the MCP servers and Git hosts you allow, an OpenTelemetry collector, identity providers, a secret manager or key service if configured, and any other service you configure. It connects to Anthropic only when the Claude API is the inference provider. Anthropic issues none of the credentials the server accepts and has no remote access to the server or its log.

How long does self-hosted Claude Managed Agents keep session history?

Sessions and their history stay in your database until you delete them; the server doesn't delete a session because of its age, archived or not. Archiving stops new events and keeps the history. Deleting through the API removes the session and its history from your database, though the server keeps the session's ID, and the server can refuse to delete a running session.

Is self-hosted Claude Managed Agents session history an audit trail?

It's a complete working record of each session, kept by you. That's useful for review and incident work, and Anthropic's announcement notes the record of each step can be exported over OpenTelemetry. But it lives in a database that your own administrators can edit or prune, and the self-hosting pages don't describe signing or hash-chaining of the history. For an auditor or a counterparty, the question is whether anyone outside your team could tell if a row changed.

How do I ask Rightshold about this (free, no key)?

Add the MCP server https://www.rightshold.com/mcp to Claude, Cursor, ChatGPT, Grok or VS Code, then ask: “We closed a self-hosted Managed Agents session that changed production config. Record a receipt with the session id, the agent id, the time window and the SHA-256 of the exported session event list.”

One-click setup

{
  "tool": "record_action",
  "arguments": {
    "action_type": "ai_session.history_exported",
    "outcome": "success",
    "occurred_at": "2026-11-22T15:00:00Z",
    "client_event_id": "cma-export:<session id>",
    "summary": "Self-hosted Claude Managed Agents session <session id> (agent <agent id>, environment <environment id>), 2026-11-22T13:05Z to 14:20Z, status idle then archived; full event list exported from our PostgreSQL store; inference provider Claude API; changed production config in repo infra/<path>",
    "action_sha256": "<sha256 of the exported session events JSON>"
  }
}

Rightshold isn't affiliated with Anthropic. Details are from Anthropic's documentation pages 'Self-hosted Claude Managed Agents', 'Data and access in self-hosted Claude Managed Agents' and 'Session operations', the Claude Platform release notes (November 12, 2026) and Anthropic's announcement article, all read November 22, 2026. The product is in private beta and can change; check the current docs and your release's operator guide before relying on these details.

What are the sources?

Related

Not legal advice. JSON · Markdown · All answers

Get a free API key in one call

No card and no email needed. 100 free credits; the license and policy checks stay free without a key.

curl -s -X POST https://www.rightshold.com/v1/accounts/signup -H "Content-Type: application/json" -d '{"accept_terms":true}'
export RIGHTSHOLD_API_KEY=rs_...   # the api_key from the reply (shown once)
curl -s https://www.rightshold.com/v1/licenses/check -H "Authorization: Bearer $RIGHTSHOLD_API_KEY" \
  -H "Content-Type: application/json" -d '{"license":"MIT","intended_use":{"commercial_use":true}}'