Silos: Secure Local Agent Execution with Docker and Policy Control
Silos is an open source CLI sandbox orchestrator that executes local agents in hardened Docker sandboxes with strict security, isolation, and policy-based egress control.
Installation and Requirements
Installation of Silos requires Node.js 18+, npm, Docker, and an LLM provider key or a local OpenAI-compatible endpoint, as noted in the project's documentation. Once installed, users can start agents with commands like silo start --name alpha --workspace ~/project-a, and manage them using silo list, silo connect, and silo stop. Each agent runs in a hardened Docker sandbox, operating as a non-root user inside a read-only container with all Linux capabilities dropped, ensuring security and isolation. For local development, Silos supports port forwarding to interact with services running on the host machine, as described in the project's documentation.
Security and Isolation Features
Silos enforces strict security and isolation for local agents through a combination of containerization and configuration flags. By default, text-based agents operate within a 512m memory limit and an isolated /workspace directory, ensuring safe execution of coding, API, and shell tasks. For desktop-based agents, the --desktop flag mounts the host's Desktop directory as /host/Desktop, allowing read/write access but introducing potential risks if misused. Additional security measures include non-root execution (--user 1001:1001), an immutable root filesystem (--read-only), and the removal of all capabilities (--cap-drop ALL). Network isolation is achieved via a dedicated silo-sandbox-net bridge, and fork-bomb protection is enforced with a --pids-limit 128 cap. These features are attributed to the project's documentation and are not universal guarantees.
Policy Engine and Egress Control
Silos features a YAML-based policy engine that enables declarative egress control, allowing users to define rules for how local agents interact with external services. During the silo onboarding process, users can select between two modes: Strict, which denies all egress by default, and Audit Only, which allows egress unless explicitly blocked. This granular control ensures that agents operate within predefined boundaries, enhancing security and compliance. When managing requests, users have three options: allow once (for a single request), allow always (to add the rule to the active policy), or deny (to block the request). In headless or CI mode, unauthorized requests are automatically denied and logged, providing an additional layer of oversight without requiring manual intervention. These features make Silos a robust tool for managing agent behavior in secure, controlled environments.
Integration and Credential Management
Silos provides built-in templates for integrating with platforms like Slack, GitHub, HubSpot, Linear, and Notion, allowing users to add integrations via simple CLI commands such as silos integrations add slack or silos integrations add github. These integrations store credentials on the host system, ensuring that no sensitive information is exposed inside the sandbox. For example, a Slack integration can be used to send messages via a curl command to http://slack.gateway:8199/chat.postMessage without requiring any credentials within the sandbox itself. Additionally, tasks like running an OpenClaw operation to search the web and save results to the host machine are supported, demonstrating how Silos enables secure, credential-separated workflows. The separation of credential management from the sandbox environment is maintained through host-side proxy routing, as noted in the documentation.
Agent Execution and Capabilities
Silos is an open source CLI sandbox orchestrator designed to execute and manage local agents with precision. It supports a variety of built-in tools, including execute_command, read_file, and write_file, enabling agents to interact with the file system and run shell commands within a secure sandbox environment. The tool supports both OpenAI and Anthropic function calling formats, ensuring compatibility with a wide range of AI models. Silos also includes a --browser mode that launches a sandboxed Chromium instance with increased memory limits and restricted execution paths, allowing for browser automation without compromising the host system. For local filesystem access, users can opt-in with flags like --desktop or --mount, which provide controlled access to specific directories. These capabilities are detailed in the Capability Profiles Guide, which outlines design guidelines for different sandbox profiles.
Sources and reporting notes
Based on published source material. No independent hands-on testing is claimed.