---
title: "Cosmonic Desktop | Cosmonic"
description: "Cosmonic Desktop runs sandboxed agents, tools and apps on your own machine, in capability-driven WebAssembly sandboxes. Free, cross-platform, and in public beta. No account, no cloud, no Kubernetes required."
canonical: "https://cosmonic.com/docs/desktop/"
---

# Cosmonic Desktop

**Cosmonic Desktop** runs sandboxed agents, tools and apps on your own machine. It is a free, cross-platform desktop app for creating, running, and managing them. It is in public beta for macOS, Windows, and Linux.

If you've used desktop container tools, this should feel familiar. Cosmonic Desktop gives you a visual interface and a local runtime daemon: here, the runtime is the open source [wasmCloud](https://wasmcloud.com/) host. Everything you run is a sandboxed [Wasm component](https://wasmcloud.com/docs/overview/workloads/components/)—a portable, isolated unit of software compiled to WebAssembly. (New to these terms? The [glossary](https://cosmonic.com/docs/glossary/) has you covered.)

### A desktop app for sandboxed code

AI assistants and coding agents now produce working code in minutes. Running that code safely hasn't sped up at all; the work has shifted from writing software to running it securely.

Cosmonic Desktop gives you a place to run untrusted code inside secure-by-default sandboxes, and it runs on hardware you already own. Workloads and data stay on your machine. That makes Cosmonic Desktop a simple and secure environment for:

- AI-generated code
- Agents
- MCP servers
- Third-party components

Everyday isolation tools run on ambient authority: a program inherits the permissions of whatever launched it. WebAssembly components start with no authority at all, no filesystem, no network, not even a clock, until the host explicitly grants each capability.

For more on why WebAssembly sandboxes are right for AI-era workloads, see [Security and Non-Deterministic I/O](https://cosmonic.com/docs/agent-sdk/capabilities/).

### How it works

Cosmonic Desktop has two parts: the graphical interface, and a daemon (`cosmonicd`) that embeds the wasmCloud host and does the under-the-hood work of pulling and verifying images, resolving configuration and secrets, and reconciling your declared workloads against what's actually running.

Because the daemon runs as an OS service (on a per-user basis), workloads keep running when you close the app and come back automatically at login. On Linux package installs they keep running even while you're logged out.

Architecture diagram. The Cosmonic Desktop app (windows and tray) connects downward over a Unix socket or named pipe — labeled &quot;no TCP listener, no tokens&quot; — to the cosmonicd daemon, a per-user OS service that pulls, verifies, and reconciles. Inside the daemon, an embedded wasmCloud host runs three workload boxes, each labeled &quot;Wasm sandbox&quot;. An HTTP ingress arrow enters the host at 127.0.0.1:8200; on the right, a dashed egress line is labeled &quot;deny by default&quot;.

You run a component by **pasting a link**—an OCI image reference *or* a GitHub/GitLab repository URL. Desktop inspects the component, drafts a declarative **Workload** spec, and hands it to you for review before anything runs. You can also launch a ready-made entry from **Launchpad**, or describe an app in **Build** and let your coding agent create and deploy it. The `cosmonic` CLI gives you the same scaffold and watch-rebuild-restart dev loop from your terminal ([`cosmonic new` and `cosmonic dev`](https://cosmonic.com/docs/desktop/cli/)).

The Workload specification is the same schema that [Cosmonic Control](https://cosmonic.com/docs/) uses on Kubernetes, so a workload you shape on your laptop deploys to a cluster unchanged, making Desktop the local on-ramp to production.

### Secure by default

Every workload runs in a WebAssembly component sandbox designed for untrusted code:

- **Deny-by-default egress.** A component can only reach network hosts you explicitly allow—an application of the [Principle of Least Authority](https://cosmonic.com/ai-sandbox/least-privilege-ai-agents/) that the whole platform is built on.
- **Verified images.** Component images are digest-pinned when applied and checked against a [cosign](https://docs.sigstore.dev/) signature policy on every start. Strict signing can be required globally or per registry.
- **Secrets as references.** Workload specs carry secret *references* (OS keychain, 1Password, AWS Secrets Manager)—plaintext values never appear in YAML, the API, the UI, or logs.
- **No network API.** The app talks to its daemon over a Unix socket (macOS/Linux) or named pipe (Windows). The only network listener is the optional workload HTTP ingress, bound to `127.0.0.1`.

### Get started

- Install on [macOS](https://cosmonic.com/docs/desktop/install/macos/), [Windows](https://cosmonic.com/docs/desktop/install/windows/), or [Linux](https://cosmonic.com/docs/desktop/install/linux/).
- Run your first workload in the [Quickstart](https://cosmonic.com/docs/desktop/quickstart/).
- Connect your coding agent with [Connect Coding Agents](https://cosmonic.com/docs/desktop/coding-agents/), or sandbox a tool server with [Sandbox MCP Servers](https://cosmonic.com/docs/desktop/sandbox-mcp-servers/).
- Prefer to learn by doing? The built-in **Academy** (in the app, under **Explore**) is the guided, interactive path, and it works offline.

> **Note**
>
> These pages are growing quickly—if you hit something undocumented, [troubleshooting](https://cosmonic.com/docs/desktop/troubleshooting/) covers the most common issues, and we'd love to hear what's missing.

Last updated on **Nov 10, 2026** by **Liam Randall**
