Claude Managed Agents and its credential vaults¶
Type: tool. Status: watching (2026-11-21): read and compared; the service is not used, and no idea is taken up yet.
Claude Managed Agents is Anthropic's hosted agent harness: Anthropic runs the agent loop, the tools and, by default, the sandbox, and keeps the sessions. This page sets it beside how our agents run on our own hosts, and reads its rules for credentials point by point against ours. How these pages are built: index.
Independent origin
The owner developed this workflow independently of Managed Agents. Managed Agents launched in
April 2026, before this repository's first commit (2026-09-27), but nothing in the workflow
cites it: the repository first mentions it on 2026-11-19, in the build-path line of the
references (docs/references.md) (#900). Where the two agree, they arrived at the same practice
separately.
Beta
Managed Agents is in beta, and Anthropic says its behaviour may change between releases. Every statement about it on this page is as read on 2026-11-21.
Sources¶
All read on 2026-11-21, as the Markdown versions of the pages (the address with .md
appended). The service was not tried; no account or key was created.
- Anthropic's documentation:
- Overview: the four concepts, when to use it, the beta, the data limits.
- Secure your Managed Agents deployment, especially Keep credentials in vaults: the settings, most important first.
- Pages these two link: Authenticate with vaults, Choosing an agent environment, Self-hosted Managed Agents, Security risks and sandbox boundaries, Scheduled deployments, the GitHub page's token permissions, and the Managed Agents section of the pricing page. The pages Cloud environment setup and Self-hosted sandboxes were fetched and searched, not read whole.
- Docker's documentation on Docker Sandboxes credentials, for how our sandboxes' proxy injects a secret.
- Critics, listed under Critical assessment. The New Stack's launch article (thenewstack.io) was not readable here (HTTP 403).
Where the sources differ, or differ from what was expected:
- The overview names self-hosted Managed Agents as an exception to "no zero data retention" only. For HIPAA it lists no exception: not eligible, for every part of Managed Agents.
- The GitHub page asks for a fine-grained token with minimal permissions, and in the same
section lists the classic scopes (
repo,public_repo) each action needs.
What it does¶
Four concepts (overview):
- Agent: the model, system prompt, tools, MCP servers and skills, created once and referenced by its ID.
- Environment: where the sessions run.
- Session: a running agent in an environment, doing one task.
- Events: what the application and the agent exchange (user turns, tool results, status). The application streams the agent's work and can steer it with more messages or interrupt it.
What Anthropic hosts. The agent loop, prompt caching and compaction, the built-in tools (bash, file operations, web search and fetch, MCP), and the sessions with their history, sandbox state and outputs (overview). The loop, the session history and the vault secrets stay outside the sandbox by design (risks).
Cloud or self-hosted (choosing an environment, self-hosted):
| Option | Sandbox | Service and history | Model |
|---|---|---|---|
| Cloud environment (default) | Anthropic: a fresh Linux container per session | Anthropic | Anthropic |
| Self-hosted sandbox | yours: a worker program you run carries out the tool calls | Anthropic | Anthropic |
| Self-hosted Managed Agents (on request) | yours | yours, with your own database | Anthropic or a provider you choose |
With a self-hosted sandbox the sandbox's files stay with you, but the conversation and every tool result still reach the service. Vault credentials for environment variables do not work there yet.
Scheduled runs. A deployment starts sessions on a cron schedule with a time zone, to the minute, each with its own budget; an unrecoverable start error pauses the deployment (scheduled deployments).
Access and limits. It needs a Claude API key and a beta header, and is enabled for every API account. MCP tunnels and "dreaming" are in a narrower research preview that needs an access request. Sessions are kept server-side until deleted, so Managed Agents is not eligible for zero data retention, except self-hosted, and not for HIPAA cover (overview). Billing is the API's token rates plus $0.08 per hour that a session is running (pricing).
How it relates to ours¶
Our side: coordinators and workers as Claude Code sessions on a Linux host, each repository in a Docker Sandbox (a microVM whose proxy injects the tokens), or natively on a host without Docker Sandboxes. A row whose our side rests on an open issue says "planned".
Running agents¶
| # | Managed Agents | Verdict | Our side |
|---|---|---|---|
| 1 | An agent is a stored definition—model, prompt, tools, MCP servers, skills—that sessions reference by ID (overview) | different | The agent is Claude Code itself; its rules come as plugins from this repository's marketplace, and the coordinator picks the model per issue (plugins, workflow: the coordinator) |
| 2 | The agent loop runs on Anthropic's servers, outside the sandbox; only the tools run inside (risks) | different | Claude Code, loop included, runs inside the sandbox's VM, or as a user unit on a host without Docker Sandboxes; only the model is remote (linux-host.md). This is what makes credential row 5 differ |
| 3 | A cloud environment gives each session a fresh container; sessions share no files (choosing an environment, risks) | different | One long-lived sandbox per repository holds the coordinator and all its workers, each worker in its own worktree (linux-host.md, parallel-work.md) |
| 4 | A self-hosted sandbox keeps the files on your infrastructure while the service stays at Anthropic (choosing an environment) | different | Everything but the model call runs on our host: sessions, transcripts, worktrees (parallel-work.md) |
| 5 | limited networking with the exact hosts the agent needs; an omitted setting may mean unrestricted (secure) |
same | The sandboxes reach only sbx's balanced profile plus one reviewed list of hosts, changed only by pull request (network-allowlist.md). A host without Docker Sandboxes: row 15 |
| 6 | In a multiagent session the agents share the sandbox, its files and the vault credentials; a stronger split needs separate sessions, environments and vaults (secure) | same | The coordinator and its workers share one sandbox and its proxy secrets; the split between them is by worktree and rule, not by credential (linux-host.md) |
| 7 | Sessions persist server-side and resume after pauses; the full event history can be fetched (overview) | different | Transcripts stay on the host or in the VM. The coordinator writes its tasks and the owner's decisions to a state file and rebuilds from it after a compaction (coordinator decision, #793); a restarted unit resumes the coordinator's last session (workflow: the coordinator, linux-host.md) |
| 8 | The application steers a running agent with more messages or interrupts it (overview) | same | The owner steers any session through Remote Control from the app; the coordinator messages its workers (parallel-work.md) |
| 9 | Permission policies per tool—allow, ask, or auto, where the server judges each call (secure) |
same | Claude Code's permission modes (the home session runs in auto), an allow list for the coordinator's unattended tools, and hooks guard merges and destructive commands (linux-host.md, parallel-work.md) |
| 10 | Untrusted input—tickets, web pages, repository files—is kept away from powerful tools; a mounted repository's CLAUDE.md and skills load as instructions with no review (secure) |
different | Issue text is data by rule, and a worker that finds an instruction in it stops and reports (parallel-work.md). The workers keep their full tool set while they read issues: the repositories and their skills are the owner's own |
| 11 | Scheduled deployments: cron with a time zone, a budget per run, paused on an unrecoverable error (scheduled deployments) | different | Recurring work is systemd timers on the host (the coordinator watch, the janitor's passes) and each coordinator's scheduled maintenance tick (linux-host.md, janitor.md). Nightly and weekly CI jobs and a self-hosted runner: planned (#870, #891) |
| 12 | A budget per session at list prices; spend can pass the cap while running calls finish (secure) | different | No cap per session. The plan's 5-hour and 7-day windows are watched: at 95 % no new work starts, at 98 % every session saves its work and waits (ci/cost.md) |
| 13 | Billed as API tokens plus $0.08 per running session-hour (pricing) | different | The sessions run on a Claude plan sign-in, within its quota; CI is the Actions bill (ci/cost.md, secrets.md) |
| 14 | History, sandbox state and outputs are kept server-side until deleted (overview) | different | Transcripts and worktrees stay on our host; what leaves it is the model calls (parallel-work.md) |
| 15 | Row 5's rule, on a host without Docker Sandboxes | gap | The sessions' commands are not yet confined: planned, Claude Code's own sandbox in a follow-up of #894 (linux-host.md) |
Credentials¶
The rules of Keep credentials in vaults, with what the vault page adds. Where they differ, the row says what each side protects that the other does not. This page states rules, not the details of our setup.
| # | Hosted rule | Verdict | Our side |
|---|---|---|---|
| 1 | Every secret sits in a vault; code in the sandbox sees a placeholder, and the real value is swapped in only in outgoing HTTPS requests to the hosts the credential allows (secure) | same | In a Docker Sandbox no token enters the VM: the variables hold placeholders, and the sbx proxy puts the value into requests to that secret's hosts (secrets.md). A host without Docker Sandboxes: row 10 |
| 2 | Injection in request headers only, not bodies, because bodies are built from what the agent reads (secure) | same | Docker documents that a custom secret is replaced only in request headers, and a service secret is written into the service's auth header (Docker). It is sbx's fixed behaviour, not a setting of ours |
| 3 | The credential lists the exact hosts the key is for: no wildcards, no shared hosting, no host that echoes request headers (secure) | same | Each secret names its hosts (secrets.md). The GitHub secret uses sbx's built-in host list for GitHub, which we do not choose |
| 4 | The key itself has only the permissions the agent needs; a mounted repository's GitHub token is fine-grained and minimal (secure, GitHub) | different | The agents act as a separate bot account that reaches only the repositories it was added to (repository-setup.md). Its token is an OAuth token with broad classic scopes, not a fine-grained one (token-rotation.md): a fine-grained token cannot read check runs, so coordinator status fails on it and the sandbox setup refuses one (secrets.md, linux-host.md). The hosted rule narrows what a misused token can do inside the repositories it reaches; ours keeps the owner's account and other repositories out of reach |
| 5 | No Claude API key or access token in the agent's reach, even in a vault: code could call the Claude API directly, past the agent's tool settings, approvals and budget (secure) | different | Our harness runs in the sandbox, so it needs the Anthropic sign-in there. In a Docker Sandbox the proxy holds the sign-in on the host and the VM keeps only a placeholder, but code in the sandbox can still reach the Claude API through the proxy: our own sign-in check does so on purpose (secrets.md). On a host without Docker Sandboxes the units drop the API key from the sessions' environment (claude-daemon.service (systemd/user/claude-daemon.service)), but the sessions run as the user that holds the tokens and the sign-in (linux-host.md; the token store, secrets.md). The hosted rule can hold because the loop is outside the sandbox |
| 6 | Fetch third-party tokens yourself and store them; a token that sandbox code fetches with a stored secret comes back unredacted (secure) | same | Tokens are fetched and rotated on the host, outside every session, by the rotation and vault scripts (token-rotation.md, secrets.md) |
| 7 | One trust level per workspace: whoever can start sessions in a workspace can use its vaults; short-lived access tokens through workload identity federation where possible (secure, vaults) | different | One token store and one bot account per host; the sandbox secrets and the Anthropic sign-in are global to the host (secrets.md). All repositories on a host are the owner's, one trust level. The hosted rule would keep workloads of different trust apart; we have none to separate yet |
| 8 | A rotated, archived or deleted credential takes effect in running sessions without a restart (vaults) | same | The sandboxes' secrets read the token store on every refresh, so a new value reaches them without a restart, though not always with the next request: sbx keeps a service secret, and on the laptop every secret, for up to 55 minutes (secrets.md); the home session needs a restart, and the scripts report staged and active apart (linux-host.md) |
| 9 | With a self-hosted sandbox, vault variables are not supported; the vault page suggests your own proxy that swaps placeholders at egress (vaults) | same | That proxy is what Docker Sandboxes gives us on our own host (secrets.md) |
| 10 | Row 1's rule, on a host without Docker Sandboxes | gap | The sessions get the tokens in their environment, and nothing yet confines them: planned, #894 (linux-host.md) |
Risks and limits for us¶
- Beta. Endpoints need a beta header, and behaviour may change between releases (overview). A rule read today can be different next month.
- Data kept server-side. Sessions, their history and outputs stay with Anthropic until deleted; no zero data retention and no HIPAA cover, self-hosting aside for retention only (overview).
- A hosted service holding the owner's repository content. In a cloud environment the sandbox's files and state reach Anthropic; with a self-hosted sandbox the files stay, but the conversation and every tool result still go there (choosing an environment).
- A service that echoes headers returns the secret. The page itself warns that responses reach the sandbox unredacted, so a host that echoes request headers hands the real value to the model (secure). The same holds for any placeholder proxy; whether the sbx proxy redacts responses is not stated in our docs or Docker's page (unconfirmed).
- A Claude API key, billed per token. The service needs an API key and bills at API rates plus runtime (overview, pricing); our sessions run on a plan sign-in. Using it would add a long-lived Claude key to keep somewhere, the kind the hosted rule itself says to keep out of the agent's reach.
Critical assessment¶
What critics say¶
The strongest argument first. Each is the author's opinion, not a finding. Hacker News comments are anonymous forum posts, weaker as evidence than the named authors; this site names no account of a real person, so each is cited by its link.
- A credential proxy stops theft, not misuse. Malte Ubl and Harpreet Arora at Vercel argue that an injection proxy keeps secrets from being copied out, but generated code can still make unexpected calls with the injected credential while it runs (Vercel, 2026-02-24). Infisical's blog (no author named) adds that a proxy set by an environment variable is no enforcement, since the agent can unset it; the network has to force all traffic through it (Infisical, 2026-04-22). A commenter on the launch thread calls the service's authentication story underwhelming (comment).
- Lock-in that grows with use. Martin Alderson argues that managed agents will be this cycle's AWS Lambda: useful and sticky, with your data and workflows inside a lab's cloud, and "an absolute nightmare to migrate off once you're in deep"; he advises self-hosting for now (martinalderson.com, 2026-05-14).
- Memory, evaluation and orchestration in one vendor's runtime. Emilia David at VentureBeat argues that the added features pull memory, evaluation and orchestration into Anthropic's runtime, on infrastructure the customer does not own, which can clash with data-residency rules (VentureBeat, 2026-05-08).
- Cost, and only Claude. David Proctor at Trilogy AI works through the runtime fee for always-on agents, before any token, and notes that the harness runs only Claude models (Trilogy AI, 2026-04-28). On the launch thread (the page shows no absolute date), commenters call one model provider a deal breaker (comment) and warn that production agents would rest on Anthropic's uptime (comment).
Our assessment¶
| Concern | Evidence | Severity | What would settle it |
|---|---|---|---|
| Security and data protection: on a host without Docker Sandboxes the sessions hold the tokens in their environment, unconfined, where the hosted rule and our sandboxes keep them out of reach | credential rows 10 and 5; linux-host.md | serious | the follow-up of #894 confines the sessions, with a check that a session's commands cannot read the token store |
| Security and data protection: the Claude sign-in is usable by code inside our sandboxes, past the permission settings, because the harness runs there | credential row 5; secrets.md | minor | whether a misused sign-in can do more than spend the bot account's plan quota, which the quota levels already watch |
| Security and data protection: a proxy stops a token from being copied out, not from being misused through it (Vercel, above); what misuse can do is bounded by the token's scopes, and the bot account's token carries broad classic scopes where the hosted rule asks for minimal ones | credential row 4; token-rotation.md; a fine-grained token cannot read check runs (secrets.md) | minor | a token that reads check runs with fewer scopes; until GitHub offers one, the separate bot account is what bounds a misused token |
| Dependencies and vendor lock-in: moving coordinators or scheduled jobs into the service would put their state and schedules in a beta API of one vendor | the critics above; the beta note (overview) | minor | only matters if adoption is considered; no idea below proposes it |
| Cost and economics: API token rates plus runtime against our plan sign-in | pricing; ci/cost.md | unknown | the tokens of one typical worker run, priced at API rates |
Bottom line¶
Trial small: only its credential rules, on the host without Docker Sandboxes, not the service itself.
What we could adopt¶
Results after checking each idea against our code and docs. A result is a recommendation: no issue is filed from this page, and the workflow does not change because of it.
- Host-scoped, header-only injection on a host without Docker Sandboxes (credential rows
10, 2, 5)—needs the owner. A local proxy that swaps placeholders for tokens only in headers to
named hosts, as the vault page suggests for self-hosted sandboxes, would give that host what the
sandboxes have. It protects only if every outgoing connection of the sessions is forced
through it: an allowlist of hosts alone would let a session reach an allowed host directly and
skip the injection rule. So it depends on Claude Code's own sandbox (#894) enforcing that, which
is not checked. It needs no root, so it conflicts with no
rule of
CLAUDE.md. - A narrower GitHub token for the bot account (credential row 4)—don't adopt for now. A
fine-grained token would follow the hosted rule, but it cannot read check runs:
coordinator statusfails on it, and the sandbox setup refuses one. Adopting it would mean changing both first. - Keep the Claude sign-in out of the sandbox (credential row 5)—don't adopt. Our harness runs in the sandbox and needs it; the sbx proxy already keeps the value out of the VM. Only a harness outside the sandbox, as in the hosted design, could do more.
- One trust level per token store (credential row 7)—don't adopt for now. Every repository on a host is the owner's; it would matter once a repository with outside contributors gets a coordinator.
- A budget per session (row 12)—don't adopt. On a plan sign-in the quota levels do this job for the whole host.
- A hosted environment for a scheduled job (row 11)—don't adopt. It would need a Claude API key and API billing, keep the job's data with Anthropic and rest on a beta; the nightly and weekly jobs are planned on our own runner (#870, #891).