Skip to content
STIRUP

TECHNOLOGY INTELLIGENCE

Understand what's next.

Silo: Open Source CLI Sandbox for Secure AI Agent Execution

Silo is an open source, secure CLI sandbox that uses hardened Docker containers to isolate untrusted AI agents, offering controlled egress and audit capabilities for local execution.

Share
AI-generated conceptual illustration accompanying: Silo: Open Source CLI Sandbox for Secure AI Agent Execution
AI-generated editorial illustration of the article topic; not a photograph, product screenshot or measured result.

Overview and Installation of Silo

Silo is an open source, secure command-line interface (CLI) sandbox designed for running untrusted AI agents locally. It leverages hardened Docker sandboxes to isolate agents, ensuring controlled egress and secure credential management for integrations. Users can audit inference activities transparently, adding an extra layer of security when dealing with third-party or untrusted AI models.

Installation requires cloning the repository from https://github.com/AsDivyansh/silo.git, followed by running npm install, npm run build, and npm link. Before executing commands like silo build, silo start, or silo quickstart, Docker Desktop must be running.

Users are advised to treat sandboxed agents as untrusted and carefully review policy prompts. Host folders should only be exposed using --desktop or --mount when the user is comfortable sharing those files.

Silo's Capabilities and Usage Examples

Silo offers a range of capabilities for securely running agents locally through its command-line interface. Users can execute commands such as silo run "Create a Python script that calculates fibonacci numbers" or silo run "Install numpy and run the test suite" --max-turns 20. Built-in tools like execute_command, read_file, and write_file allow for file manipulation and command execution within the sandbox. Silo supports both OpenAI and Anthropic function calling formats, making it versatile for different agent frameworks. For browser-based agents, Silo allocates at least 2g of container memory and a 512m shared-memory segment when the --browser flag is used, ensuring stability for headless Chromium. Text-based agents remain at the default 512m memory limit, as noted in the documentation.

Security Features and Hardening of Silo

Silo employs a hardened Docker sandbox to ensure secure execution of agents. Each agent runs as a non-root user inside a read-only container with all Linux capabilities dropped. On native Linux, the proxy is reached via host-gateway; on Docker Desktop for macOS/Windows, a hardened socat sidecar (silo-gateway) relays the proxy port across the VM boundary — the policy proxy remains the only egress path. Security features include non-root execution, an immutable root filesystem, dropped capabilities, no new privileges, process limits, and a noexec/nosuid tmpfs for ephemeral scratch space. Additional security implications are defined by capability profiles, such as the default profile, which isolates the /workspace directory and limits memory to 512MB, ensuring safe execution for coding, text, API, and shell tasks.

Integration and Egress Control in Silo

Silo provides integration and egress control through its capability profiles, allowing users to define how agents interact with the host system. By default, agents operate in a read-only environment, ensuring that no unintended changes are made to the host. For scenarios requiring browser automation, Silo includes a sandboxed Chromium instance with memory and storage limits set to 2GB and 512MB respectively, preventing potential host compromise. Local filesystem access is opt-in, with commands like silo start --framework openclaw --desktop enabling agents to interact with specific directories, such as the Desktop, while read-only mounts offer additional safety. Developers can also forward ports to interact with local services, such as databases or APIs, without exposing the host machine directly. These controls are detailed in the Capability Profiles Guide, ensuring users can tailor security settings to their specific needs.

Docker Hardened Images and ActiveState Partnership

In a partnership announced on October 22, 2026, ActiveState and Docker have joined forces to enhance the security of open source software within enterprise containers. According to Jennifer Angeles, this collaboration aims to address a critical gap in container security: even with hardened base images, enterprises often lack visibility into what is running on top of them. Docker Hardened Images, now resold by ActiveState, offer secure-by-default, minimal container images built from source, with over 4,000 images available. These images are designed to have near-zero CVEs, signed SBOMs, and SLSA Build Level 3 provenance, as noted in the partnership details. The reselling partnership is now available, providing organizations with an additional layer of security and control over their containerized applications.

Sources and reporting notes

Based on published source material. No independent hands-on testing is claimed.

Read more