README
Compute units that live inside KVM — built for consumer-scale agent fleets and the largest enterprise platforms.
shell
npx @platinum/cli initFeatures
01
Real isolation.
One CH microVM per compute unit. KVM is the boundary — kernel-CVE blast radius stops at the VM.
02
vsock-only guest.
In-VM agent listens on AF_VSOCK only. No TCP, no shared L2 between compute units.
03
No kernel mods.
Stock distro kernel. No DKMS, no out-of-tree drivers. Secure Boot on works fine.
04
Cross-host by default.
Pause in PAR1, resume in PAR2. S3 CAS for memory + rootfs. 4 ms pause window.
05
API parity.
Drop-in for the E2B and Daytona SDKs. Same templateID body, /pause, /resume, /files/watch.
06
Agent-native.
MCP server, llms.txt, OpenAPI 3.1, agent skill. One line into Claude Code, Cursor, Windsurf.
07
virtio-fs share.
Every compute unit gets /mnt/dnah-share. Bulk file transfer through host page cache, not JSON.
08
Signed snapshots.
Ed25519 over (sandbox_id, snapshot_id, manifest_hash, size, ts). Restore rejects tampered.
09
Add hosts in 5 seconds.
Mint a bootstrap token, run curl /install.sh | sudo bash on Ubuntu. Self-registers. No Ansible.
Benchmarks
| Path | What's happening | P50 | P95 |
|---|---|---|---|
| Warm allocation | Pool claim — Postgres row flip, no spawn | 14 ms | 24 ms |
| Cold spawn | Reflink rootfs · TAP · CH boot · vsock RPC up | 98 ms | 313 ms |
| First exec (warm) | create → exec returning exit 0 | 22 ms | 39 ms |
| /exec roundtrip | Framed-JSON RPC over vsock | 4 ms | 5 ms |
| Resume from stop-snap | Memory + disk restore, identity preserved | 309 ms | — |
| Restore signed snapshot | Ed25519 verify · CH --restore · resume | 1.0 s | — |
| Fork | Snapshot + clone in one call | ~2.5 s | — |
| Sequential throughput | 100× create+delete, pool refills | 26.3 /s | — |
Lifecycle
| type | auto-stop | auto-archive | auto-delete | use for |
|---|---|---|---|---|
persistent (default) | 0 | 0 | 0 | Long-lived dev workspaces — never auto-anything. |
ephemeral | 15 min | 7 d | 30 d | Agent runs, CI jobs, throwaway compute. |
Architecture