Use case · Agent SDKs
Your framework's code, in a microVM.
The code and shell commands your agent writes run sealed, not in your process.
Upgrade any time
Sign up → Add a card → Pick a plan (charged now) → Use kosa8.
Where agent code runs today
In your own process
smolagents' LocalPythonExecutor and LangChain's Python REPL run code on your machine.
In someone's cloud
Hosted sandboxes move your code off your hardware.
With kosa8: sealed
Behind a hypervisor, with a network closed to anything you did not allow.
Tested with
OpenAI Agents SDK
DockerSandboxClient on kosa8's Docker API, no code change. 0.24.0.
Integrationsmolagents
executor_type="docker", pointed at kosa8. 1.26.0.
Vercel AI SDK
@kosa8/ai-sdk-sandbox: a microVM per session. ai@7.0.142, Node 22+.
LangChain.js, Mastra
Through MCP: kosa8 mcp serve gives 30 sandbox tools.
LangGraph and CrewAI in Python have no separately documented integration: a small custom tool calls kosa8 CLI commands (LangGraph, CrewAI). Containers made through the Docker API share one engine VM; for a VM per task use kosa8 sandbox, the SDK, the AI SDK adapter or MCP.
Start in three lines
On your own machine, a sandbox also checkpoints, rewinds and forks, and every action lands in the hash-chained audit log.
Questions
Which agent frameworks has kosa8 tested?
The OpenAI Agents SDK's DockerSandboxClient, smolagents' DockerExecutor and the Vercel AI SDK through @kosa8/ai-sdk-sandbox, plus LangChain.js, Mastra and the AI SDK's MCP client through kosa8 mcp serve. LangGraph and CrewAI in Python are not separately documented.
Does each agent get its own microVM through the Docker API?
No. Containers created through kosa8's Docker-compatible API share one engine VM. For a microVM per task, with its own network rule and checkpoints, use kosa8 sandbox, @kosa8/sdk, the AI SDK adapter or the MCP tools.
Do I need a cloud account?
No. The sandboxes, their files and the commands the agent runs stay on your machine. Only the model calls go to whichever provider your agent uses.
Which machines can run it?
kosa8 runs its microVMs on an Apple silicon Mac (Apple's Virtualization framework) or on x86-64 Linux (KVM). On an Intel Mac it installs as the command-line tool only and drives sandboxes on one of those machines.
Guides: OpenAI Agents SDK · smolagents · Vercel AI SDK · Untrusted LLM code · Self-hosted sandbox options