Run agents and tools in a sandbox.
Cosmonic Desktop runs AI agents, their tools and your apps on your own machine. Each one starts completely isolated with no access to your files, network, or keys until you grant it.
No account required· Run your first sandbox in minutes
Sandboxed agents
Run an agent with nothing but its grants
Pick an agent on the Agents page, choose a model, and give it a folder or the tools it needs. The agent runs as a WebAssembly component with no network, files or API keys of its own. Desktop makes every model call and holds the key, and each tool gets only its own grant. Run Pi, OpenAI Codex or Goose, or build your own with the Agent SDK.
Build with your agent
Prompt to a sandboxed app, instantly
Bring your own coding agent. Install the cosmonic-sandbox skill, or connect Desktop's MCP server, and the code your agent writes lands in a sandbox you can read before it runs. The coding agent itself keeps running with your permissions; what it builds runs in the sandbox.
Tiny footprint
Fast enough to sandbox everything,
small enough to run it all
A fresh sandbox per call is cheap, and idle workloads cost nothing. Secure every tool your agent touches without compromises.
Under the hood, each workload is a WebAssembly component running on CNCF wasmCloud, so you can deploy at scale and you're never locked in.
How it works
Code only gets what you grant
Every workload starts with zero authority: no filesystem, no network, no environment, no clock. It gets exactly the capabilities you grant and nothing else, so a poisoned tool or an injected instruction has nowhere to go. Open Inspect to see the whole boundary before anything runs.
Can reachonly what you granted
Never grantednever requested, never reachable
In the box
Everything you need to run agents and tools locally
Three ways to start
Get started in minutes
Install Desktop and pick a starting point. Whichever you choose, the code runs deny-by-default and you see its boundary before it starts.
Pull from the Launchpad
Grab a ready-made, already-sandboxed app or MCP server from the built-in catalog and deploy it in a click. Review what it can reach, then run it.
Describe an app to the Builder
Say what you want in plain language. Your coding agent builds and deploys in a sandbox.
Give your agent a sandboxed tool
Build an MCP server and register it with Claude Code, Cursor, and other agents in one step. Your agent gets a new tool in your sandbox.
FAQ
Running agents safely,
answered
Can Cosmonic Desktop run an AI agent in a sandbox?
Yes. On the Agents page, an agent such as Pi, OpenAI Codex or Goose runs as a WebAssembly component with no network, files or API keys of its own. Desktop makes every model call, and each tool the agent uses gets only the access you grant.
Is it safe to run the code my AI coding agent writes?
A native coding agent runs with your permissions, and Desktop does not change that. Desktop runs the code and MCP servers it builds, each in its own WebAssembly sandbox with deny-all egress: no access to your files, network, or keys until you grant it.
How do I run the code Claude Code writes in a sandbox?
Install Cosmonic Desktop and connect it to Claude Code with its MCP server. Claude Code then builds and runs its code and MCP servers as sandboxed workloads on your machine, each starting with deny-all egress. The Claude Code guide walks through the setup.
How do I sandbox an MCP server for Claude Code or Cursor?
Run the MCP server as a Cosmonic Desktop workload. It starts with no file, network, or credential access; you grant exactly the capabilities it needs, and everything else stays denied.
How do I run an MCP server locally?
Cosmonic Desktop runs MCP servers on your own machine (no cloud sandbox required), each isolated with deny-all egress by default. It's free on macOS, Windows, and Linux.
Is Cosmonic Desktop free, and which platforms does it run on?
Yes. Cosmonic Desktop is free and runs on macOS, Windows, and Linux. It's currently in public beta.
Cleared for launch
Download Cosmonic Desktop and run your first sandboxed workload in minutes. Free forever for personal use, local, and yours.
macOS · Windows · Linux
It's an early beta. Expect a few rough edges, and tell us what breaks.