Download Cosmonic Desktop (Beta)
Public beta · Free · macOS, Windows & Linux

Sandbox your agent's code.

Your coding agent writes code faster than you can read it. Cosmonic Desktop runs MCP servers and agent code on your own machine, where each one starts with no access to your files, network, or keys until you grant it.

No account required· Run your first sandbox in minutes

Build with your agent

Prompt to a sandboxed app, instantly

Bring your own coding agent. With the cosmonic-sandbox skill installed in Claude Code, Codex, Gemini CLI, or whatever you run, your agent's code deploys straight into a Desktop sandbox instead of running raw on your machine.

Prefer to stay in the app? Describe what you want to Desktop's Builder. Either way, your app is compiled locally and runs in a sandbox from the first second.

Cosmonic Desktop — Builder
From a sentence to a sandboxed app, reaching Running in seconds.

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, so bounding every tool your agent touches is realistic, not a tax you pay for safety.

<1 ms
per-call instantiation, so a clean sandbox for every invocation
1,000s / host
thousands to tens of thousands of workloads on one machine, by size
0 idle
scales to zero when nothing's calling, then wakes on demand

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.

your files your keys a host you allow
Cosmonic Desktop — Inspect
The Inspect view shows everything an app can do and every host it can reach.

In the box

Everything you need to run agent code locally

Launchpad
A catalog of ready-made, sandboxed apps and MCP servers.
Builder
Prompt-to-sandboxed-app with your own coding agent.
Inspect
Review the capabilities of any app.
MCP Inspector
Try a server's tools by hand, then hand it to your agent.
Local inference
Point it at Ollama so your tools call a model that never leaves your machine.
cosmonic CLI
Scaffold, dev-loop, and deploy from your terminal.

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.

Run something now

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.

Build your own

Describe an app to the Builder

Say what you want in plain language. Your coding agent builds and deploys in a sandbox.

Arm your agent

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 agent code safely, answered

Is it safe to run the code my AI coding agent writes?

The risk isn't the agent; it's the code and MCP servers it runs. Cosmonic Desktop runs each of them in its own WebAssembly sandbox with deny-all egress: no access to your files, network, or keys until you grant it.

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.

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