kosa8 cloud
Run sandboxes on kosa8 Cloud (api.kosa8.com)
kosa8 Cloud runs the same sealed sandboxes on kosa8's hosts, or on your own, billed by the second. Sign in once (kosa8 login, or an API key), then make, run in, sleep and remove cloud sandboxes from here; the dashboard at https://app.kosa8.com shows the same ones.
kosa8 login # sign in in your browser kosa8 cloud login --key k8c_live_… # or with an API key (CI) kosa8 cloud sandbox create # prints its ID and a dashboard link kosa8 cloud sandbox exec ID -- uname -a kosa8 cloud sandbox create --size 4x8 --image kosa8-template/universal-24.04-20261115.2 --docker -e KEY kosa8 cloud sandbox exec -d ID -- npm run dev # background; then: sandbox exec-status ID bg_… kosa8 cloud preview open ID 3000 # an https URL for a port kosa8 cloud files put ID ./a.csv /workspace/a.csv kosa8 cloud terminal ID # an interactive shell kosa8 cloud snapshot create ID # then: sandbox create --from-snapshot snap_… kosa8 cloud secrets set NAME --upstream https://api.example.com # value from stdin kosa8 cloud pipelines run https://github.com/acme/app --follow kosa8 cloud usage # this month's bill so far kosa8 cloud cap 250 # the monthly spending cap (off: none) kosa8 cloud mcp # connect Claude Code, Cursor or Codex kosa8 cloud browser create # a headless Chromium; prints its cdp_url
The key is kept in ~/.kosa8/cloud.json, readable only by you, and shared with the kosa8 desktop app. KOSA8_API_KEY and KOSA8_CLOUD_URL, which the SDKs also read, take precedence when set (KOSA8_API_URL works too).
Options#
| Flag | Type | What it does | Default |
|---|---|---|---|
--api | string | kosa8 Cloud API address (default: KOSA8_API_URL or KOSA8_CLOUD_URL, then the signed-in address, then https://api.kosa8.com) | — |
Example#
kosa8 cloud login kosa8 cloud sandbox create --json kosa8 cloud sandbox ls kosa8 cloud usage
Subcommands#
kosa8 cloud addonsAdd-on packs: more sandbox-hours or more running at once, monthly, on any plan
kosa8 cloud agentsList every API key and member, what each made, and revoke keys
kosa8 cloud aiAI Gateway: your model provider keys, gateway settings and model spend
kosa8 cloud browserHeadless Chromium browsers for agents, driven over CDP
kosa8 cloud burstBurst Passes: a one-time, time-boxed raise of the running limit for RL bursts
kosa8 cloud capShow or set this month's kosa8 Cloud spending cap
kosa8 cloud checkpointList, create and rewind to cloud sandbox checkpoints
kosa8 cloud codeRun Python in a stateful interpreter in a cloud sandbox; charts come back as images
kosa8 cloud egressSee and change what a cloud sandbox may reach on the network
kosa8 cloud embedMake a signed, expiring URL to show a sandbox's terminal or desktop in an iframe
kosa8 cloud evidenceExport an evidence bundle for a reviewer or auditor
kosa8 cloud filesList, download, upload and remove files in a cloud sandbox
kosa8 cloud freezeFreeze the organization: refuse new work and put running sandboxes to sleep
kosa8 cloud imagesList the images behind the templates kosa8 Cloud hosts offer
kosa8 cloud launchLaunch a template from the gallery and wait for its first win
kosa8 cloud launch-statusWhere a template launch is: booting, setting up, ready or failed
kosa8 cloud limitsShow how many cloud sandboxes are active against the limit, or ask for more
kosa8 cloud lineageShow cloud sandboxes as a tree of forks
kosa8 cloud loginSign in to kosa8 Cloud: in your browser, or with an API key
kosa8 cloud logoutForget the kosa8 Cloud key on this machine
kosa8 cloud logsShow a cloud sandbox's last commands, with exit codes and output tails (-f to follow)
kosa8 cloud mcpConnect Claude Code, Cursor or Codex to kosa8 Cloud's MCP server
kosa8 cloud metricsShow a cloud sandbox's CPU, memory, disk and network use
kosa8 cloud openOpen the kosa8 Cloud dashboard, at a sandbox if given
kosa8 cloud overviewSandboxes running and asleep, functions, this month's bill, recent activity and capacity
kosa8 cloud pipelinesRun CI on kosa8 Cloud: a repository's .kosa8/pipeline.yml or its GitHub workflows
kosa8 cloud previewOpen a sandbox's port at its own https URL
kosa8 cloud recordingsDesktop session recordings (MP4) of sandboxes made with recording on
kosa8 cloud referShow past referral invitations (Refer and earn has closed)
kosa8 cloud rlRL training on kosa8 Cloud: runs, their rollouts and what to do next
kosa8 cloud sandboxMake, list, run in, sleep, wake and remove cloud sandboxes
kosa8 cloud scheduleRun commands in a cloud sandbox on a cron schedule (UTC)
kosa8 cloud secretsKeep API keys and tokens that sandboxes use without ever holding them
kosa8 cloud securityShow the organization's security checklist and how many checks pass
kosa8 cloud siemStream the audit log to a SIEM (webhook, Splunk HEC, Datadog)
kosa8 cloud sizesList the sandbox sizes this organization can make, small sizes included
kosa8 cloud snapshotSave cloud sandboxes as snapshots, and start new ones from them
kosa8 cloud sshSSH into a cloud sandbox over its terminal, with no port 22 open
kosa8 cloud ssh-configPrint an ~/.ssh/config stanza so ssh kosa8-ID and VS Code Remote-SSH reach a sandbox
kosa8 cloud swarmRun a group of agents forked from one sandbox, under one egress policy
kosa8 cloud templateYour own Cloud templates: built from a Dockerfile or an image, restored in about a second
kosa8 cloud templatesList the Templates gallery: one-click starter sandboxes
kosa8 cloud terminalOpen an interactive terminal (a PTY) in a cloud sandbox
kosa8 cloud threatBlock a host for every sandbox of the organization (the threat feed)
kosa8 cloud tokensShort-lived capability tokens for your own users, limited to some sandboxes
kosa8 cloud unfreezeUnfreeze the organization; suspended keys work again
kosa8 cloud usageShow this month's kosa8 Cloud usage and estimated bill
kosa8 cloud webhookskosa8 Cloud webhooks: the events sent, and this organization's endpoints
kosa8 cloud whoamiShow the kosa8 Cloud organization and key in use