Claude (via Future Tools)

Self-hosted environments for Claude Code | Claude by Anthropic

Brief

Claude Code's self-hosted environments (public beta as of Aug 6, 2026) let organizations run agent sessions on infrastructure they control so sessions can reach internal services, registries, and databases and start with preinstalled compilers or SDKs. Deployment uses long‑lived 'runners' that pick up queued sessions and launch a Claude Code process per session; runners operate in fixed mode (a constant pool) or on‑demand mode (an orchestrator starts and stops runners to track load). While repository checkouts, build artifacts, secrets, and files stay on the customer's systems, conversation content and tool outputs are forwarded to Anthropic for inference and transcripts are stored to allow cross‑device session pickup. Anthropic advises most customers to use its hosted service for simplicity; self‑hosted is targeted at teams with network, tooling, or compliance constraints and requires internal staffing to maintain runner images and orchestration.

Why it matters

Public beta (announced Aug 6, 2026): Claude Code self-hosted environments let teams run sessions on their own infrastructure and are available to Claude Team and Enterprise plans (off by default; not available to organizations using ZDR).

Key details

  • Data handling split: repository checkouts, build artifacts, secrets, and files created/modified by a session remain on customer infrastructure, while conversation content (prompts, responses, tool results) is sent to Anthropic for inference and the session transcript is stored by Anthropic so sessions can be resumed from any surface.
  • Architecture and modes: deploy long‑lived 'runners' that start a Claude Code process per session; two runner modes — fixed (pre‑provisioned pool) and on‑demand (orchestrator starts/stops runners to match demand); runners may serve multiple sessions but each session runs in its own checkout for isolation.
  • Intended users and operational burden: Anthropic recommends its hosted offering for most enterprises; self‑hosted is aimed at teams needing internal network access, preinstalled SDKs/compilers, or tighter compliance, and requires platform/developer teams to build and maintain runner images, updates, and orchestration.
Source evidence
  • August 6, 2026
  • 5min

Now in public beta, self-hosted environments let you run Claude Code sessions on your own infrastructure. Start a session from the web, mobile, desktop, or a routine, and it runs inside your network, next to your internal services, toolchains, and security controls, rather than on Anthropic-hosted infrastructure.

For most enterprises, we strongly recommend our hosted offering for operational simplicity with no infrastructure to run or maintain. Self-hosted environments are for teams whose network, tooling, or compliance requirements call for keeping agent execution on infrastructure they control. If you go this route, plan to staff engineering to own setup and ongoing maintenance.

Why self-host

We saw organizations in our preview program adopt self-hosted environments for a few key reasons:

  • **Network access:**sessions run inside your network and can reach internal services, databases, and registries without exposing them to the public internet
  • **Customizability:**pre-install compilers, SDKs, and internal CLIs in your environment so every session starts ready to build
  • **Compliance:**source code and build artifacts stay on infrastructure you control

Data stays on your infrastructure

Repository checkouts, build artifacts, secrets, and any files a session creates or modifies all stay on infrastructure you provision.

The conversation itself, including prompts, responses, and tool results (which can include code that Claude reads), is sent to Anthropic for inference, and the session transcript is stored so a session can be picked up from any surface.

How it works

When using self-hosted environments, you deploy a set of runners. These long-lived processes pick up sessions and start a Claude Code process for each session. Runners come in two modes. 

  • **Fixed:**you keep a set number running and sessions are distributed across them.
  • **On-demand:**an orchestrator watches for queued sessions, starts a runner as sessions arrive, and stops them when work finishes so capacity tracks demand.

Runners can serve more than one session, but each session runs in its own checkout, so work stays isolated between developers and accounts. Sessions from every supported surface route to the same environment, so you set it up once and it works wherever your team starts a session.

Note: Self-hosted environments differ from Remote Control, which lets developers continue sessions running on their own machines from a phone or browser. Sessions using Remote Control end when that machine stops running the session and are tied to the user who ran claude, whereas self-hosted environments run sessions on shared infrastructure your platform team operates and can be used by any user.

Getting started

Self-hosted environments are available in public beta to organizations on Claude Team and Enterprise plans. They are off by default and not available for organizations using ZDR.

Plan on a platform, developer experience, or developer productivity team owning setup and ongoing operation, including building and maintaining the runner image, updating runners, and running the orchestrator if you use on-demand mode.

See the documentation to learn more. Share feedback via GitHub or through your Anthropic account team.

Transform how your organization operates with Claude

Get the developer newsletter

Product updates, how-tos, community spotlights, and more. Delivered monthly to your inbox.