Anthropic Opens Self-Hosted Environments for Claude Code, Moving Sessions Onto Customer Infrastructure

Anthropic has opened a public beta of self-hosted environments for Claude Code, letting organizations run coding-agent cloud sessions on servers they control instead of Anthropic's infrastructure. The option is available to Claude Team and Enterprise customers and is off by default. Anthropic announced the move on August 6, 2026. A session started from the web, mobile, desktop, the terminal, or a scheduled routine runs inside the organization's network, alongside its internal services, toolchai

2 min
Anthropic Opens Self-Hosted Environments for Claude Code, Moving Sessions Onto Customer Infrastructure

Anthropic has opened a public beta of self-hosted environments for Claude Code, letting organizations run coding-agent cloud sessions on servers they control instead of Anthropic's infrastructure. The option is available to Claude Team and Enterprise customers and is off by default.

Anthropic announced the move on August 6, 2026. A session started from the web, mobile, desktop, the terminal, or a scheduled routine runs inside the organization's network, alongside its internal services, toolchains, and security controls. Anthropic said it still steers most enterprises to its hosted offering, and positions self-hosting for teams whose network, tooling, or compliance requirements call for keeping agent execution on infrastructure they own.

How data is split

The data split is specific. Repository checkouts, build artifacts, secrets, and any files a session creates or changes stay on machines the organization provisions. The conversation itself, including prompts, responses, and tool results, is sent to Anthropic's API for model inference, and Anthropic stores the session transcript so a session can be resumed from any surface.

Mid-century industrial design concept of a self-hosted coding agent running inside a private data center network

Organizations create named environments in the claude.ai admin settings, each grouping a set of runners: long-lived processes deployed on hosts inside the network that work like self-hosted CI runners. When a developer starts a cloud session and picks an environment, Anthropic's control plane queues it, a runner claims it, clones the repository from GitHub using credentials the deployment provides, and launches a Claude Code process to run the task.

Runner modes and network architecture

Runners run in two modes. Fixed mode keeps a set number running and spreads sessions across them; on-demand mode uses an orchestrator that starts runners as sessions arrive and stops them when work finishes. A runner serves one user at a time, locking to that user's account when it claims its first session so checked-out code does not mix between users. If a runner stops polling for roughly 60 seconds, the server requeues the session to another runner.

Every connection between the environment and Anthropic is outbound HTTPS to api.anthropic.com, covering queue polling, the session's event stream, and model inference. Anthropic never connects into the customer's network, and corporate egress proxies are supported.

Availability and limits

An owner or admin must enable the feature from the cloud-environments admin page, which requires Claude Code on the web turned on for the organization. Organizations using Anthropic's zero-data-retention setting cannot use it. Inference cannot be routed through Amazon Bedrock, Google Cloud's Agent Platform, or Microsoft's Foundry or an LLM gateway. Sessions started from Claude Tag, Claude Security, and Code Review do not route to self-hosted environments yet.

The launch extends a run of enterprise moves from Anthropic in the first week of August. Two days earlier the company said it is building an in-house silicon team for Claude.

Sources

Claude Code Sessions Can Now Run on Infrastructure Your Team Controls - Unite.AI: https://www.unite.ai/claude-code-sessions-can-now-run-on-infrastructure-your-team-controls/

Run Claude Code sessions on your own compute - Anthropic: https://claude.com/blog/run-claude-code-sessions-on-your-own-compute

Self-hosted environments - Claude Code docs: https://code.claude.com/docs/en/self-hosted-environments

Written by

More to read

  • Grokking in Large Language Models: How Weight Decay and Circuit Efficiency Drive Delayed Generalization

    Grokking in Large Language Models: How Weight Decay and Circuit Efficiency Drive Delayed Generalization In standard machine learning paradigms, model generalization closely tracks training loss: as an optimizer minimizes loss on training data, performance on held-out validation data improves in tandem until the model begins to overfit. In 2022, researchers at OpenAI observed a phenomenon that inverted this assumption: small neural networks trained on algorithmic tasks achieved near-zero trainin

    1 min
  • Serverless GPU Inference in Production: Cold Starts, GPU Memory Snapshotting, and Weight Paging Architectures

    Serverless GPU Inference in Production: Cold Starts, GPU Memory Snapshotting, and Weight Paging Architectures Deploying large language models on dedicated cloud GPUs creates an uncomfortable financial trade-off: keeping enterprise accelerators such as NVIDIA H100s or A100s warm 24/7 costs thousands of dollars per instance each month, yet scaling instances to zero introduces severe latency penalties. When traffic arrives at a dormant node, a standard inference server cold start can take anywhere

    1 min
  • Transformer Feed-Forward Networks as Key-Value Memories: How First-Layer Keys and Second-Layer Values Store Knowledge

    Transformer Feed-Forward Networks as Key-Value Memories: How First-Layer Keys and Second-Layer Values Store Knowledge In modern autoregressive Transformers, the division of labor between attention heads and multi-layer perceptron (MLP) blocks is often summarized through a clean functional split: attention routes information across sequence positions, while feed-forward networks (FFNs) process information per position. Yet for years, the exact mechanism by which FFNs process that information rem

    1 min