kosa8 docs Dashboard
esc
↑ ↓ move↵ openRuns in your browser; nothing you type is sent anywhere.

Guides

Every page

The whole manual on one page, grouped by what you came to do.

Get started#

Core concepts#

Serverless#

Guides#

RL and evals#

Coding agents#

Browsers and AI#

Build and ship#

Templates galleryOne-click starter sandboxes on kosa8 Cloud: Claude Code, Cursor, the OpenAI Agents SDK, a browser agent, a data notebook, a web app with a lThe universal imageWhat is in kosa8-universal, the Ubuntu 24.04 sandbox image with agent CLIs (Claude Code, Codex, Gemini, Copilot), MCP servers, cloud CLIs, gSnapshots, background, envSave a kosa8 Cloud sandbox as a snapshot that outlives it and start new sandboxes from it, run a command that keeps going after the call retPreview URLsOpen a web server running in a kosa8 Cloud sandbox at its own https URL: private by default with a signed link, or public, per port.Terminal and large filesOpen an interactive terminal (PTY over WebSocket) in a kosa8 Cloud sandbox, and move files of any size with streamed uploads and downloads oSSH and VS CodeSSH, scp, port forwards and VS Code Remote-SSH into a kosa8 Cloud sandbox over its authenticated terminal, with no port 22 open anywhere.Embed a sandboxPut a kosa8 Cloud sandbox's terminal or desktop in your own app: a signed, expiring iframe URL, view-only or interactive, framed only by youWake on request, schedulesLet a request to a preview URL wake a sleeping kosa8 Cloud sandbox, and run commands in a sandbox on a cron schedule.Your GitHub reposConnect GitHub to kosa8 Cloud once, then start a sandbox or a run from any of your repos and send the changes back as a branch or a pull req@kosa8 in issues and PRsComment @kosa8 run or @kosa8 agent on a GitHub issue or pull request: a command or your own coding agent runs in a fresh kosa8 sandbox, repoGitHub App permissionsEvery permission the kosa8 GitHub App asks for, what it is used for and never used for, the exact token each kosa8 operation asks GitHub forPipelinesCI on kosa8 Cloud with no GitHub Actions: a .kosa8/pipeline.yml whose jobs each run in a sized sandbox, or your existing .github/workflows rGitHub Actions runnersRun GitHub Actions jobs on kosa8 Cloud: one ephemeral self-hosted runner per job, in its own sealed microVM, sized 2 to 16 vCPUs, with git aGitHub ActionRun a command in a sealed kosa8 Cloud sandbox from a GitHub Actions workflow: create, run, print the output, set exit-code and sandbox-id, dWebhooksVerify the Kosa8-Signature header on kosa8 Cloud webhooks in Node, Python and Go, and forward sandbox.error and spending_cap.reached to SlacMetrics, logs, labelsRead a kosa8 Cloud sandbox's CPU, memory, disk and network use, its recent commands with their output, find sandboxes by label, and get webhFramework integrationsRun kosa8 Cloud sandboxes from the OpenAI Agents SDK, Harbor, Inspect AI, LangChain Deep Agents, or code written for E2B, by changing a few OpenAPI and llms.txtThe kosa8 Cloud API described as OpenAPI 3.1 at api.kosa8.com/openapi.json, and in plain text for AI agents at api.kosa8.com/llms.txt.

Your own machines#

Migrate#

Security and governance#

Security Centerkosa8 Cloud's Security Center: a posture checklist from your org's own settings, an agent inventory, an org kill switch, SIEM streaming of tIf kosa8 were breachedThe GitHub agent incidents of 2025 and 2026, step by step, and exactly where kosa8's design breaks each attack chain and where it does not: Securing an agentEverything kosa8 does to secure an AI agent itself, not only the sandbox around it: the layers, the threats each one answers, and what none Keep API keys outHow kosa8's egress broker lets an AI agent use an API key it never holds: the sandbox gets a placeholder, and the real key is added on your SecretsGive a kosa8 Cloud sandbox API keys it never holds: the host's egress broker adds the real value to its requests, and the sandbox sees only Egress controlsChoose what a kosa8 Cloud sandbox may reach on the network: internet on or off, allow and deny lists, registry presets, per sandbox and per Network rules (local)What a kosa8 sandbox can reach, how to say so, and where it is enforced: the guard on your computer, DNS answered on the host, and the egresTool servers (MCP)Run third-party MCP servers behind kosa8's gateway: each in its own sandbox, with pinned tool definitions and checked arguments.MCP server catalogAdd GitHub, Playwright, Stripe, Notion, Linear and other official MCP servers to kosa8 in one step: sandboxed, pinned, with secrets kept outRules for tool callsDecide an AI agent's tool call by its arguments: allow it, deny it, or hold it until a person approves that exact call.Agent attack testsRun a fixed catalogue of AI-agent attacks against kosa8's own controls, labelled with OWASP LLM 2025 and MITRE ATLAS ids, and keep a signed Swarms and the threat feedRun many agents from one prepared sandbox, each in its own microVM, with one shared list of blocked hosts and one kill switch.Agent identityGive each AI agent a token the service verifies, so policy can differ between agents and the audit log names which one acted.Company rulesSigned policy that a laptop cannot edit its way around, and a record of every decision.Policy referenceEvery field of the two signed policy documents, where each is enforced, and what happens when a policy is missing or edited.The audit logWhat kosa8 writes down about every action, how to read it, and how to prove nobody edited it.Agent troubleshootingEvery refusal and warning an agent or its user can meet, what each one means and what to do about it.

SDKs#

Python#

JavaScript / TypeScript#

Choosing a pathFour ways to drive kosa8 from Node: the @kosa8/sdk client, the Vercel AI SDK adapter, MCP, and the Docker API. What each is for, with a deciInstallInstall kosa8 and start its daemon, install @kosa8/sdk or @kosa8/ai-sdk-sandbox, check the connection with health() and version(), and set uQuickstartYour first kosa8 sandbox from Node in five steps: connect, create a sealed microVM, run a command, exec into a container, then checkpoint anConnectingHow @kosa8/sdk finds the daemon: the default socket, socketPath, KOSA8_HOST forms, KOSA8_TOKEN, KOSA8_INSECURE, the actor and agent-token heSandboxesCreate kosa8 sandboxes from Node with cpus, memory, disk, mounts, labels, packet capture and a broker; list, get, stop, start, delete and wiRunning coderun, exec, execFrames, startContainer, startInteractive, writeStdin and attach in @kosa8/sdk: streaming output, exit codes as results, stdinFilesGet files into and out of a kosa8 sandbox from Node: the workspace file calls (listFiles, readFile, writeFile), a host folder mount, exec wiNetwork and secretsSet a kosa8 sandbox's egress from Node: deny, any, fakenet or an allow-list; read what was refused; and use the credential broker so the ageCheckpoints and rewindSave a running kosa8 sandbox before a risky step and put it back in about half a second, processes and all, from Node. How checkpoints are sFork and exploreCopy a running kosa8 sandbox into live, independent copies from Node, and run several approaches in parallel to keep the fastest one that woSnapshotsSave a running kosa8 sandbox as a named snapshot from Node, restore it as many times as you like, encrypt it, and restore a sealed snapshot Approvals and policyWhen an org policy wants named people to approve an action, @kosa8/sdk throws Kosa8ApprovalRequiredError. How a human approves through the CVercel AI SDK@kosa8/ai-sdk-sandbox: run an AI SDK agent's files and commands in a kosa8 microVM. Sessions, the work container, restricted(), templates, nRecipesComplete, tested Node programs for kosa8: run LLM-generated code safely, a coding agent on a mounted repo, parallel test variants, checkpoinErrorsEvery error class @kosa8/sdk 0.5.3 throws, including timeouts and the kosa8 Cloud 402, 423, 429 and exec-timeout errors: when it is thrown, TroubleshootingProblems you can meet driving kosa8 from Node, with the real messages: daemon not running, socket path length on macOS, a locked Mac, disk sAPI referenceThe exported functions, classes, types and options of @kosa8/sdk 0.5.3 (local client, toolbox, the kosa8 Cloud client, RL runs and hosted jo

Go#

Ruby#

Java#

Reference#

More#

The kosa8 weekly

Agent security news, one industry deep-dive and a hands-on challenge, every Monday. Unsubscribe in one click.

© 2026 kosa8 · kosa8.com · Zero Trust cybersecurity infrastructure for AI agents · Local models served by llamay · Agent gateway: MAQPNA