DE — heise online
No Secrets for Agents: Eclipse Enclave Puts Agents in a Sandbox
Software2 min read
The Eclipse Foundation has released Eclipse Enclave 1.0, a free and open-source runtime that runs AI coding agents in isolated containers. It lets agents work freely without giving them access to the whole computer.
What happened
The Eclipse Foundation released Eclipse Enclave 1.0. Each AI coding agent, such as Claude Code, Codex or OpenCode, runs in its own container. Users can let their agents run freely without handing over their whole machine. EclipseSource, a member of the Eclipse community, built Enclave and gave it to the foundation. The software uses the MIT license.
Key facts
- Each session gets its own container, based on Docker or Podman.
- By default, the agent sees only the project folder and folders the user shares on purpose.
- Outgoing traffic goes through a gateway that lets through only allowed domains and logs its decisions.
- Built-in support covers Claude Code, Codex, Copilot, OpenCode, Pi and the Theia IDE. More agents can be added as extensions.
- It runs on Linux, macOS and Windows Subsystem for Linux (WSL2). It needs Docker in rootful mode or Podman.
How the protection works
Enclave does not show agents the real API keys. Agents see only placeholder values. The gateway adds the real key only to HTTPS requests sent to approved hosts. However, Enclave does not protect logins saved as files or logins that renew automatically. This includes the OAuth login that many agents ask for on first start. Enclave stores that login on the host and then mounts it into the container. Docker has a similar idea with its Sandboxes, but there each agent runs in its own micro virtual machine (MicroVM).
Why it matters
AI agents can change files and run commands, so they need limits. Enclave gives users a way to keep agents away from the home folder, SSH agent and most of the network. Still, the developers say it is not a fully hardened wall. An agent can still change the project folder and create Git hooks that run outside the container. Users who want stronger protection should mount the project as read-only. The allowlist controls where an agent can connect, but not what data it sends.
What to watch
- Whether more agents are added as extensions.
- Whether the developers add stronger protection against escaping the container.
- Whether the release gets signed packages. The Ubuntu and Fedora packages and binaries on GitHub are currently unsigned.
Glossary
- Eclipse Foundation
- A non-profit organization that hosts open-source software projects, including Eclipse Enclave.
- Docker
- A tool that runs apps in containers. Here it is one of the two options needed to run Enclave.
- Podman
- A tool like Docker that runs apps in containers. It is the other option that works with Enclave.
- OAuth
- A login method that lets an app access an account without the user typing the password each time.