CLI reference
All 474 commands, generated from the binary itself, so what you read here is what your copy does. One line installs it: Install the CLI.
Built from the code that becomes the next release. Commands marked next release are not in v0.24.0, the current release. Run kosa8 version to see yours.
Start here#
The handful you need on day one.
kosa8 initFirst run: sign in, run a first cloud sandbox, see what to try next
kosa8 statusOne screen: your account, plan, this month's usage, what is running, and whether it is secure
kosa8 openOpen the sandbox, run or job you used last (or any ID) in the browser
kosa8 watchA live view of what is running, or of one sandbox, job or RL run
kosa8 runRun a command or script on kosa8 Cloud (serverless), or an image in the local engine
kosa8 psList containers
kosa8 imagesList images in the engine
kosa8 pullPull an image into the kosa8 engine
kosa8 logsFetch the logs of a container (-f to follow them live)
kosa8 execRun a command in a running container
kosa8 stopStop a running container (SIGTERM, then SIGKILL)
kosa8 rmRemove a container
Your account#
Sign in once: the CLI, the desktop app and kosa8 Cloud share it.
kosa8 loginSign in to your kosa8 account in the browser (or, with SERVER, to a registry)
kosa8 logoutSign out of your kosa8 account on this machine (or, with SERVER, a registry)
kosa8 whoamiShow the kosa8 account, organization and key this machine is signed in with
kosa8 signupSign in, or create your kosa8 account, to start using kosa8 (same as kosa8 login)
kosa8 licenseActivate and inspect your kosa8 subscription
kosa8 usageShow metered usage, derived from the audit log
kosa8 upgradeBuy a plan: opens its checkout in your browser
kosa8 self-updateUpdate the kosa8 CLI (and kosa8d beside it) to the latest release
Sandboxes#
Sealed machines: the thing kosa8 is built around.
kosa8 sandboxManage isolated microVM sandboxes
kosa8 agentRun coding agents in isolated sandboxes
kosa8 launchRun a gallery template on this machine (or say how to launch it on kosa8 Cloud)
kosa8 Cloud#
The same sandboxes on kosa8's hosts, from the terminal.
kosa8 cloudRun sandboxes on kosa8 Cloud (api.kosa8.com)
kosa8 githubnext release Connect GitHub once, then start cloud sandboxes from your repos and open pull requests
kosa8 migrateMove code from E2B, Daytona, Modal or Vercel Sandbox to kosa8
kosa8 ciRun CI on kosa8 Cloud (kosa8 Pipelines)
kosa8 jobRun hosted RL jobs on kosa8 Cloud: tasks, a solver and a sealed grader
kosa8 benchReady-made benchmark environments on kosa8 Cloud: SWE-bench Verified, Terminal-Bench
Save, copy, undo#
The part no other container tool does.
kosa8 snapshotSnapshot and restore sandbox state
kosa8 checkpointSave a restore point you can rewind to
kosa8 rewindPut a sandbox back to a saved restore point
kosa8 forkFork a running sandbox into N live copies with process state intact
kosa8 exploreFork a sandbox per approach, run each, and report which worked
The desktop app#
A window onto everything running.
AI#
Local models, the assistant, and the approval gate.
kosa8 promptGive a coding agent one task, run in a sandbox that is removed when it finishes
kosa8 modelPull and serve local models (OpenAI- and Anthropic-compatible)
kosa8 aiChat with kosa8's embedded assistant (approval-first, live state)
kosa8 approveSee what an action would do, and decide what may run unprompted
kosa8 hooksCheck coding agents' tool calls before they run (Claude Code, Cursor, Codex, Gemini, Copilot)
kosa8 mcpRun kosa8 as an MCP server so AI agents can drive it
kosa8 mcp-policyGovern which MCP servers and tools each team may use
kosa8 skillTeach AI coding agents to use kosa8, and import third-party skills safely
Governance#
Company-wide rules and the record of what happened.
kosa8 policyOrg policy profiles: signed, verified, enforced client-side
kosa8 auditInspect what was done, by whom
kosa8 attackTest kosa8's controls against AI-agent attacks and write a signed scorecard
kosa8 identityYour personal signing key, for approvals that name who approved
kosa8 keyManage the keys that encrypt snapshots at rest and in transit
kosa8 labelShow classification labels and relabel sandboxes
kosa8 evidenceExport and verify signed evidence packages
kosa8 validateGenerate, sign and verify GxP qualification records (IQ, OQ)
Labs and ranges#
Detonating samples safely, and training on live copies.
kosa8 labDetonate malware on a simulated internet and produce signed reports
kosa8 rangeRun a cyber range: a live copy of one prepared scenario per trainee
Swarm security#
Groups of agents under one policy, and hosts no sandbox may reach.
kosa8 swarmRun a group of agents forked from one sandbox, under one policy
kosa8 threatBlock hosts for every sandbox on this machine
Images and builds#
Building, tagging and moving images.
kosa8 buildBuild an image from a Dockerfile
kosa8 builderManage the BuildKit builder
kosa8 templateBuild what new sandboxes start with, from a Dockerfile
kosa8 commitCreate an image from a container's filesystem
kosa8 tagGive an existing image another name
kosa8 pushPush an image to a registry
kosa8 saveSave an image to an OCI archive
kosa8 loadLoad an image from an OCI archive
kosa8 importCreate an image from a rootfs tar archive
kosa8 exportExport a container's filesystem as a tar archive
kosa8 historyShow the layer history of an image
kosa8 manifestInspect image manifests in a registry
kosa8 searchSearch Docker Hub for images
kosa8 rmiRemove an image from the engine
Containers#
Everything else a container needs.
kosa8 createCreate a container without starting it
kosa8 startStart a created container
kosa8 restartRestart a container
kosa8 killKill a running container
kosa8 pausePause all processes in a container
kosa8 unpauseResume a paused container
kosa8 waitBlock until a container stops, then print its exit code
kosa8 attachAttach to a running container's output
kosa8 cpCopy files between the host and a container (CONTAINER:PATH)
kosa8 diffShow filesystem changes made to a container
kosa8 inspectShow detailed container state
kosa8 portShow published ports for a container
kosa8 renameRename a container
kosa8 topList processes running inside a container
kosa8 statsShow resource usage of a running container
kosa8 eventsStream engine events
kosa8 updateUpdate a running container's resource limits
Host and daemon#
The background service, networking and storage.
kosa8 daemonManage the kosa8d daemon
kosa8 systemManage kosa8 itself
kosa8 infoShow engine and system information
kosa8 versionShow kosa8 client and daemon version
kosa8 doctorCheck that this machine can run kosa8, and repair what is safe to repair
kosa8 networkManage container networks
kosa8 volumeManage named volumes
kosa8 remoteManage remote (Cloudflare R2) snapshot storage
kosa8 workerConnect this machine to a kosa8 worker, or let others connect to this one
kosa8 wslRun sandboxes on this Windows PC, through WSL2
kosa8 upDetect, build and run a project — no Dockerfile required
kosa8 gpuList this machine's GPUs, what kosa8 knows about each, and their state between sandboxes
kosa8 uninstallRemove kosa8 from this machine for this user (and, if asked, its data)