Claude Sandbox: How Anthropic Gave Companies Control Over AI Agent Execution Environments

When an AI agent gains access to a company's repositories, APIs, and internal services, the question arises: where does it execute commands, and who can see the data? Anthropic has answered this by releasing a self-hosted sandbox—a controlled environment that runs within the client's infrastructure and adheres to their security rules.
What is Claude Sandbox and why is it needed
The sandbox is an isolated execution environment for Claude Managed Agents. Previously, agents operated in Anthropic's cloud, accessing tools via public endpoints and executing commands on the company's servers. Now, clients can deploy the sandbox on their own servers—the agent will operate within the corporate network, subject to internal access policies.
This is critical for enterprise teams. An agent can read code, call APIs, run tests, edit files, and interact with ticketing systems. If such activity occurs within third-party infrastructure, it is difficult for security teams to explain where data went and who might have seen it. The sandbox changes this model: the execution environment remains under the company's control, network rules are set by the client, and access to internal services is regulated by familiar tools.
How it works with the Model Context Protocol
The sandbox works in conjunction with the Model Context Protocol (MCP)—Anthropic's open standard for connecting models to tools and data sources. MCP allows an agent to access repositories, databases, APIs, and other operational services through a unified protocol.
In this new setup, companies deploy private MCP servers within their own network. The agent connects to them via MCP tunnels—without exposing services to the internet. This means Claude can work with internal data without leaving the client's security perimeter. For teams concerned about leaks via cloud services, this is a fundamental difference.
Five scenarios where the sandbox solves real problems
Access to private repositories. The agent reads code, analyzes architecture, and prepares pull requests—without publishing the repository externally. All operations are conducted through an internal MCP server.
Working with production secrets. The agent can access internal APIs and test environments, but it does not see production keys and does not send them to the cloud. Access policies are set at the client's infrastructure level.
Running commands in a controlled environment. The agent can build projects, run tests, and execute scripts—but only within the sandbox, under the company's runtime control. There is no risk of commands being executed on a public server.
Connecting to ticketing systems. The agent reads tasks from Jira, Linear, or internal trackers via a private MCP server, without exposing APIs to the outside world.
Analyzing logs and metrics. The agent can access monitoring systems, databases, and dashboards—within the perimeter, under the client's network rules.
What this means for enterprise teams
For companies looking to use AI agents in production tasks, the sandbox removes the primary barrier: the issue of control. Now, you can grant an agent access to real data and tools without exposing them to the internet or relying on third-party infrastructure.
The sandbox is currently in public beta. Anthropic announced it at the Code w/ Claude event in London, alongside a security-guidance plugin for checking code for vulnerabilities. Together, these tools demonstrate that the AI development market is shifting from chatbots to managed agents with isolation and security policies.
How to try it in GEMERA AI
All current Claude models are available in GEMERA AI—including Opus 4.8, which works in tandem with Anthropic's new security tools. You can test agent scenarios via our Telegram bot or web dashboard, evaluate the model's performance, and see how it handles your project's tasks. Try Claude in GEMERA AI and see for yourself that these new features work not just in announcements, but in real-world tasks.