Introducing a new way to review your PRs.

Read the announcement

arcboxlabs / arcbox

Run AI agents on real and isolated machines — own kernel, filesystem, and network — with <100ms boot. Local first, OCI compatible, pure Rust.

View on GitHub

32 documents · Updated Nov 6, 2026

overview

Knowledge Base updated: 2026-11-05

ArcBox knowledge base

ArcBox is a Rust workspace for running and managing isolated container and VM-backed workloads from host applications, APIs, SDKs, and managed-runner integrations.

The host control plane owns daemon state and translates API, Docker, SSH, and SDK requests into engine and runtime operations. VM-backed computers are assembled through the computer runtime, virtualization stack, guest agent, networking, storage, and local-service trust components.

Critical lifecycle state spans daemon/core runtime coordination, sandbox and workload specifications, root filesystems and checkpoints, guest-resident services, and image/snapshot storage. Protocol crates and generated contracts define the boundaries between these parts.

flowchart TD
  Clients[CLI, SDKs, Docker, SSH] --> Apps[Application control plane]
  Apps --> Daemon[arcbox-daemon]
  Daemon --> Core[arcbox-core]
  Core --> Engine[Workload engine]
  Engine --> Computer[Computer runtime]
  Engine --> OCI[Container and OCI runtime]
  Computer --> VMM[Virtualization platform]
  VMM --> Guest[Guest agent]
  Computer --> Storage[Images, snapshots, storage]
  VMM --> Network[Networking and data plane]
  Guest --> Services[Local service access and trust]
  Apps --> RPC[RPC and protocols]
  RPC --> Runner[Managed runner integration]
  Runner --> Engine
sequenceDiagram
  participant C as Client
  participant A as API/Daemon
  participant E as Engine
  participant R as Computer runtime
  participant V as VMM/Guest agent
  C->>A: lifecycle request
  A->>E: translate and coordinate
  E->>R: realize sandbox/workload
  R->>V: boot, restore, pause, or start
  V-->>R: guest service status
  R-->>E: runtime result
  E-->>A: lifecycle result
  A-->>C: response

Glossary

  • Computer runtime — host-side runtime that composes VM-backed sandbox environments, including lifecycle, rootfs, warm-pool, checkpoint, and workload operations.
  • Sandbox — an ArcBox-managed isolated execution environment with lifecycle state and host/guest integration.
  • Warm pool — prepared sandbox capacity retained for faster allocation or startup.
  • Guest agent — guest-resident service that performs VM-local operations on behalf of host-side components.
  • Vhost-user — protocol boundary used by device backends to serve virtual-machine frontends.

Codebase-wide invariants

  • Lifecycle changes must preserve the host-to-engine-to-runtime ownership boundary; evidence: app/…/pipeline.rs, app/…/runtime.rs, and computer/arcbox-computer-runtime/src/lifecycle/**.
  • Sandbox state transitions must keep VM, guest-agent, storage, and checkpoint operations coordinated; evidence: computer/arcbox-computer-runtime/src/sandbox/** and guest/arcbox-agent/src/sandbox/**.
  • Public client behavior must remain aligned across generated contracts and Rust, Python, and TypeScript SDKs; evidence: sdk/*/src/**/sandbox* and sdk/*/tests/*lifecycle*.
  • OCI runtime configuration remains an execution-boundary concern even after its relocation under computer/; evidence: computer/arcbox-oci/src/config/** and computer/…/bundle.rs.
  • Guest traffic and service exposure cross explicit networking and trust boundaries; evidence: network/**, guest/arcbox-agent/**, and local certificate/service publication components.

Routing table