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

  • Anthropic Demonstrates Autonomous De Novo Protein Design and Chemical Analysis with Claude

    Anthropic Demonstrates Autonomous De Novo Protein Design and Chemical Analysis with Claude Anthropic has published experimental results demonstrating Claude's ability to autonomously design de novo protein binders with physical wet-lab validation and automate complex analytical chemistry workflows. The findings show frontier LLMs acting as autonomous agents across computational biology and molecular characterization pipelines. In the primary experiment, Anthropic evaluated Claude Mythos Previe

    1 min
  • Cerebras Unveils CS-4 Rack-Scale System Powered by Three WSE-3 Turbo Chips and Nexus Architecture

    Cerebras Unveils CS-4 Rack-Scale System Powered by Three WSE-3 Turbo Chips and Nexus Architecture Cerebras Systems has announced the CS-4, a rack-scale AI accelerator system designed around three of its next-generation Wafer Scale Engine 3 Turbo (WSE-3 Turbo) chips and a modular hardware architecture dubbed Nexus. Cerebras confirmed that initial customer shipments for the CS-4 are scheduled to begin in the current quarter. The new system marks a structural shift from Cerebras's single-wafer CS

    1 min
  • AI FinOps: Cutting LLM Inference Costs by 30-60% Through Model Tiering, Caching, and GPU Optimization

    AI FinOps: Cutting LLM Inference Costs by 30-60% Through Model Tiering, Caching, and GPU Optimization Inference costs have become the second-largest line item in enterprise AI budgets, trailing only talent spend according to RapidData's State of Enterprise AI 2026. This shift represents a fundamental inversion from the 2021-2023 era when training dominated AI expenditure. The compounding nature of serving costs—accumulating every hour as long as users hit the API—means that even modest producti

    1 min