Skip to documentation
CCapsuleFIELD GUIDE
Reference
CAPSULE FIELD GUIDEPRIVATE-FIRSTEXPERIMENTAL

Command reference

The core Capsule lifecycle and host-inspection commands.

This is the compact command map for the current experimental build. Run capsule --help on the installed version before automating a new workflow; APIs and flags can change during early development.

CommandPurpose
capsule installGuided host setup or client connection setup.
capsule uiOpen Mission Control.
capsule newCreate a Firecracker microVM.
capsule raw execRun a bounded command in a guest.
capsule push / capsule pullMove files through the private management path.
capsule psList managed VMs.
capsule inspectInspect VM state and metadata.
capsule imagesList immutable image inventory.
capsule resourcesReport host resource state.
capsule eventsRead recent host or VM events.
capsule doctorCheck host and VM artifact consistency.
capsule repairConservatively repair stale Capsule-owned artifacts.
capsule popDestroy a microVM.

Typical lifecycle

capsule new --name worker-a --image agent-full --ttl 2h --egress restricted
capsule raw exec --cwd /workspace --timeout 120s worker-a -- 'python3 --version'
capsule pull worker-a /workspace/result.patch ./result.patch
capsule pop worker-a

Egress choices

ModeIntent
noneNo network access.
internetBroad internet access when the workload requires it.
restrictedCapsule's constrained default policy for agent work.
allowlistOnly declared domains and/or CIDRs; use for tightly controlled workloads.

Use the narrowest egress policy that lets the workload function. Security model explains the DNS-aware allowlist boundary and its current limitations.

On this page