E2B vs Sandlock
E2B
e2b.devSandlock
sandlock.ioSide by side
| Figure | E2B | Sandlock |
|---|---|---|
| Price from | $150/mo | Free |
| Free plan | Yes | Yes |
| Free trial | Yes | — |
| Open source | Yes | — |
| Web | Yes | — |
| Windows | Yes | — |
| macOS | Yes | — |
| Linux | Yes | Yes |
| API | Yes | Yes |
| Self-hosted | Yes | Yes |
| Plans published | 3 | 3 |
| Spec score · Sandbox Software | 9.1 (#4) | 7.4 (#16) |
| Company | E2B says it began as a project in March 2023, founded by Tomas Valenta and Vasek Mlejnsky. | Sandlock is a Multikernel Technologies project; the maker lists its address as San Jose, California. |
| Integrations | Listed integrations include OpenAI Agents SDK, Claude Code, Codex, CrewAI, Agno, Mastra, Google ADK, LangChain, Vercel AI SDK and MCP servers. | The OCI runtime works with containerd, CRI-O, and Kubernetes, and the remote MCP API can be used with Claude Desktop, Cursor, or another MCP client. |
| Support | E2B directs security and compliance requests to [email protected]. | Engineering support and a response SLA are included with each commercial license. |
Plans
Sandlock
- SandlockFree
- Sandbox HTTP APIPrice not published
- Sandbox SchedulerPrice not published
In their own words
E2B
E2B provides isolated Linux machines for AI agent sessions, with infrastructure managed by E2B or deployed in a customer’s cloud. Each session runs in its own Firecracker microVM and kernel, without sharing filesystem or memory with another customer’s sandboxes. An API covers execution, networking, storage, secrets, observability, and lifecycle management. The Code Interpreter SDK runs Python or JavaScript and can return charts, tables, and images; Desktop supplies screen, mouse, keyboard, and live streaming for computer-use agents. Listed integrations include CrewAI, Agno, Mastra, OpenAI Agents SDK, Google ADK, LangChain Deep Agents, and Vercel AI SDK. E2B Cloud is available in US, EU, and APAC regions. Enterprise BYOC can place sandboxes in a customer’s AWS, Google Cloud, or Azure account. The runtime is Apache-2.0 licensed and self-hostable. Hobby is free, with a one-time $100 usage credit, sessions up to one hour, and 20 concurrent sandboxes. Pro costs $150 a month plus usage costs.
Sandlock
Sandlock is a Linux process sandbox for confining untrusted code with policies enforced by the kernel. It uses Landlock, seccomp-bpf, and seccomp user notification to control filesystem access, network activity, system calls, and resource use. Policies can deny network egress by default, apply HTTP method, host, and path rules, stage writes through copy-on-write, and set resource limits. A supervisor can attach credentials through a proxy after an HTTP access check, keeping the secret value out of the sandboxed workload. Interfaces include a CLI, Python SDK, Rust API, Go SDK, OCI runtime, and MCP server. The OCI runtime works with containerd, CRI-O, and Kubernetes, while the remote MCP API can connect to Claude Desktop, Cursor, or another MCP client. Sandlock runs as an ordinary user without root, a container runtime, or a hypervisor. Linux 6.12 or later supports the full protection set by default; older kernels require explicit waivers for missing protections. It shares the host kernel, excluding kernel vulnerabilities and hardware side channels from its guarantees.