Skip to content
CO

Cordium

ActiveOpen SourceApache-2.098 stars

Apache-2.0 sandbox platform on Kubernetes and Octelium: rootless container Workspaces with snapshots and forks, default-deny egress, and secretless access to upstream APIs.

Visit website
CategoriesSelf-hostedAI Agent SandboxCode SandboxDesktop SandboxTypeOpen-source toolContainmentHardware VMRating4.0 / 5
Built onPodmanKubernetesOcteliumcrun
DocsGitHub
Billing unit
No vendor meter
Runs on hardware you already pay for · Free · Open source
Idle billing
Zero cost while idle
Self-hosted; no vendor invoice while it sits idle
State kept on pause
Disk only
Resume: Not published; a snapshot is restored into a new Workspace rather than resumed in place

Overview

Cordium is the open-source, single-tenant counterpart to hosted agent sandboxes, and its distinguishing idea is that access to the outside world is part of the sandbox rather than an afterthought. A Workspace is a rootless container inside a Kubernetes pod, run by a supervisor that holds the network namespace and enforces egress with nftables while the workload gets its own seccomp profile and namespaces; the trade-off is a shared host kernel, not a microVM, so the boundary is a hardened container rather than hardware virtualization. WorkspaceSnapshots capture the home directory, /workspace and the container layer, so a prepared environment can be restored into many parallel agents for best-of-N runs. Every Workspace run is an Octelium Session, which lets policy distinguish one agent run from another and lets tools such as psql, kubectl and curl reach upstream services with no credential in the sandbox at all. Interfaces are a web portal, secretless SSH with VS Code, Zed and JetBrains support, the cordium CLI and gRPC SDKs for Go, Python, Rust and TypeScript. The cost is operational: you run Kubernetes and a CSI storage backend yourself, and the project publishes no boot or resume latency figures.

Key capabilities

  • Self-hosted on any Kubernetes cluster, including a single-node VM
  • Rootless container Workspaces with root mapped to an unprivileged host user
  • Snapshot and fork a prepared environment into parallel agents
  • Egress rules enforced outside the sandbox with nftables and optional default-deny
  • Secretless access to APIs, databases and Kubernetes via Octelium
  • Web portal, SSH with IDE support, CLI and gRPC SDKs
  • Templates with pre-builds and shared persistent Volumes
  • Apache-2.0 with no hosted control plane

cordium-workspace.sh

# Install the CLIs, point at your Cluster and log in
export OCTELIUM_DOMAIN=example.com
octelium login

# Run a disposable Workspace from an image, or a declarative workspace.yaml
cordium run --image python:3.13-slim --ephemeral --rm
cordium run --file workspace.yaml

# Snapshot a stopped Workspace, then fork it into parallel copies
cordium stop abc
cordium create snapshot baseline --workspace abc
cordium run --snapshot baseline --ephemeral

Similar alternatives

Technical specifications

Runtime architecture
Docker / Container
Runtime notes
  • Rootless container per Workspace, run by a per-pod supervisor with rootless Podman and crun
  • Custom seccomp profile plus user, PID, mount, IPC, cgroup and network namespaces
  • Root inside the sandbox maps to an unprivileged host user; no separate VM per Workspace
Cold-start boot time
Not published
Max vCPU
Defaults to 2 cores per Workspace, set per Workspace, Template, Space or Cluster and capped by the Space and Cluster maxima
Max memory
Defaults to 6 GB per Workspace, resolved through the same Workspace, Template, Space and Cluster limit chain
Storage model
Defaults to 20 GB per Workspace; persistent volumes and CSI snapshots back Workspace disks and shared Volumes
Network isolation
Egress rules are enforced outside the sandbox by the supervisor with nftables, so root inside cannot change them. The supervisor, pod addresses, the default gateway and link-local addresses such as 169.254.169.254 are always denied; private ranges are denied by default while the public internet is allowed, and a Workspace can switch to deny-by-default. Upstream credentials stay in Octelium's identity-aware proxy and are injected per request, so the sandbox holds no API keys, database passwords or SSH keys.

Lifecycle & capabilities

Filesystem persistence
Supported
Memory / disk snapshot
Supported
Instant forking
Supported
GPU acceleration
Not supported
GUI desktop / VNC
Not supported
Mobile / cloud phone
Not supported
Browser automation
Supported
Network egress control
Supported
Pause / auto-sleep
Supported
MCP protocol server
Not supported
REST API & SDKs
Supported
Idle billing
Zero cost while idle
State kept on pause
Disk only
Resume latency
Not published; a snapshot is restored into a new Workspace rather than resumed in place
Session limit
A running Workspace stops after 30 hours idle by default, tunable per Cluster; long-running ones can opt out when the administrator allows it. Defaults cap a user at 128 active Workspaces and 100 snapshots.
SDKs
Go, Python, Rust, TypeScript

Pricing model

Official Verified

Rate read 22 Nov 2026.

Pricing tiers
FreeOpen source
Summary

Apache-2.0 with no license fee and no hosted tier. You supply the Kubernetes cluster, nodes and a CSI storage backend, so the real cost is your own compute; there is no published rate card to audit.

Billing unityour own infrastructure
View official pricing page

Related architecture guides