kern: Daemonless rootless container runtime for AI code execution
·2026.10.29 09:30
Key point
The tool claims 80x faster startup than Docker for single containers and supports Python/Node SDKs for sandboxing LLM-generated code.
Details
- kern is a daemonless, rootless container runtime written in Rust that executes AI-generated code in isolated sandboxes without background processes.
- Benchmarks on x86 show single container startup is 80x faster than docker run --rm and 3.6x faster than rootless runc, with 130x speedup for 200 concurrent runs.
- The runtime uses 0 MB RAM when idle, compared to 154-160 MB for Docker, and requires no root privileges.
- Security relies on 6 namespaces, seccomp allowlists blocking 35 escape syscalls, and cgroup v2 limits, with documented tests against 25 known container escape CVEs.
- Python and Node SDKs (kern-sandbox) allow agents to run code with explicit file and network permissions, returning typed faults on timeout or OOM.
- MCP integration is available for Claude Code, Cursor, Claude Desktop, and LM Studio.
- The project is licensed under Apache-2.0 and currently supports Linux (x86_64, aarch64), Windows via WSL2, and macOS via Colima.
This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.
Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.