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/**andguest/arcbox-agent/src/sandbox/**. - Public client behavior must remain aligned across generated contracts and Rust, Python, and TypeScript SDKs; evidence:
sdk/*/src/**/sandbox*andsdk/*/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
-
app/arcbox-api/**,app/arcbox-core/**,app/arcbox-daemon/**,app/arcbox-docker/**,app/arcbox-cli/**-> Application control plane -
app/arcbox-daemon/src/**,app/arcbox-core/src/runtime/**-> Daemon lifecycle and host orchestration -
app/arcbox-api/**,app/arcbox-docker/**-> API and Docker compatibility -
app/arcbox-ssh/**,ssh/**-> SSH access and tunneling -
helper/**,privileged/**,app/arcbox-helper/**-> Privileged helper boundary -
engine/**,app/arcbox-engine/**-> Workload engine -
engine/**,app/arcbox-engine/**-> Engine orchestration -
image/**,snapshot/**,storage/**-> Images and snapshots -
computer/arcbox-computer-runtime/**-> Computer runtime and sandbox orchestration -
storage/**,guest/arcbox-agent/src/sandbox/**,engine/**-> Storage recovery -
computer/arcbox-oci/**,runtime/**,guest/arcbox-agent/**-> Runtime and guest integration -
computer/arcbox-oci/**,container/**-> Container and OCI runtime -
guest/arcbox-agent/**-> Guest agent integration -
vmm/**,hypervisor/**,computer/arcbox-vmm/**-> Virtualization platform -
vmm/**,hypervisor/**,computer/arcbox-vmm/**-> VM lifecycle and hypervisor backends -
virtio/**,device/**-> VirtIO device stack -
fuse/**,virtiofs/**,vhost-user/**-> Guest filesystem sharing -
vhost-user/**,vhost/**-> Vhost-user device backends -
network/**,net/**-> Networking and data plane -
network/**,net/**,virtio/**-> Virtual networking and packet services -
vmnet/**,xnu/**,network/inject/**-> Host network integration -
proto/**,rpc/**,connect/**,transport/**-> RPC and protocols -
proto/**,protocol/**, */build.rs -> Protocol and service contracts -
connect/**,transport/**-> Connection and transport plumbing -
sdk/**-> Client SDKs -
sdk/rust/**,sdk/python/**,sdk/typescript/**-> Language SDK interfaces -
runner/**,managed-runner/**-> Managed runner integration -
runner/**,proto/**/runner/**-> Runner agent and control protocols -
ca/**,cert/**,dns/**,relay/**,web/**-> Local service access and trust -
ca/**,cert/**,helper/**-> Local CA and trust lifecycle -
web/**,relay/**,dns/**,guest/arcbox-agent/**-> Machine web-service access