Muse Code
Meta's coding agent for the terminal and CI, built for Meta's Muse models, with approval checks and an operating-system sandbox on by default. Run it in EnvHaven from any browser, signed in once with your own account, and keep it working 24/7; or install it on your own machine.
Updated November 23, 2026 · Checked against Muse Code 1.4.13 in EnvHaven v1.9.0
| At a glance | |
|---|---|
| Made by | Meta |
| Command | muse |
| Version checked | 1.4.13, in EnvHaven v1.9.0 |
| Documentation | dev.meta.ai/docs/muse-code |
Use Muse Code in EnvHaven
- Open your workspace in any browser, on a laptop, a tablet or a phone.
- Tap Launch, choose Muse Code and tap Sign in: it runs
muse loginfor you in the terminal. For an API key, choose Set key instead and pasteMETA_API_KEY; the workspace keeps it write-only. - Start it with one tap: signed in, Muse Code gets a green dot in the Launch menu and an icon in the workspace’s top bar. Support is built in (1.4.13), so there is nothing to install or update.
- Give it a task. The image launches a bare
musewith--disable-approval; explicit arguments pass through unchanged, somuse --yoloworks too. - Close the tab whenever you like. The workspace is an always-on Linux machine, so Muse Code keeps working, and every device you open it from shows the same session.
Every agent signs in with your own account: EnvHaven never resells tokens or adds a markup.
Install Muse Code on another machine
macOS, Linux:
curl -fsSL https://dev.meta.ai/install.sh | bash
Windows (PowerShell):
irm https://dev.meta.ai/install.ps1 | iex
Sign in from the terminal
In a workspace the Launch menu does this for you. On any other machine, or when you would rather type it:
- Run
museand sign in in the browser (again later with/login). - For CI and non-interactive runs, set
META_API_KEY, or store one withmuse auth set; an API key always wins over a browser session. - Muse Code’s own subscription plans work through the CLI when signed in with a Meta Model API account; other API keys bill pay-as-you-go. Subscriptions start in Contributor mode, in which Meta may train on your content, and the docs say each new machine turns it back on.
Run Muse Code without permission prompts
No approvals and no sandbox, for one run:
muse --yolo
No approvals, sandbox kept:
muse --disable-approval
--yolo drops approval and the sandbox and trusts the workspace, the posture Meta’s docs name for a container that is already isolated. --disable-approval skips prompts but keeps the operating-system sandbox, which on Linux needs a working bubblewrap.
In EnvHaven: The image launches a bare muse with --disable-approval; explicit arguments pass through unchanged, so muse --yolo works too. The details, and when full access is safe, are on the Muse Code full-access page.
Instructions file
Muse Code reads AGENTS.md, CLAUDE.md, .agents/AGENTS.md, .claude/CLAUDE.md.
Add MCP servers
In ~/.config/muse/settings.json (the file needs “schema_version”: 1):
{
"schema_version": 1,
"mcp_servers": {
"my-tools": { "transport": "stdio", "command": "my-mcp-server", "args": [] }
}
}
muse mcp handles OAuth sign-in to a server. Trusted projects can also use a .mcp.json.
The MCP config converter writes the same server for every agent at once.
Run it from scripts
muse exec "<prompt>"
Headless runs cannot stop to ask, so they need the full-access setting above.
Muse Code away from your desk
Muse Code keeps working only while the machine it runs on is awake. In EnvHaven that machine is the workspace, which never sleeps: start a task, close the laptop and check on it from a phone.
- Muse Code in the browser
- Muse Code on iPhone
- Muse Code on iPad
- Muse Code on Android
- Muse Code on a Chromebook
- Muse Code on Windows
- Muse Code on a VPS
- Muse Code in Docker
- Muse Code on a Raspberry Pi
- Muse Code 24/7
Meta’s own options:
- A Muse desktop app for macOS and Windows, which can hand conversations to and from the terminal.
Compare Muse Code
When Muse Code misbehaves
- Is Muse Code down? Live status of the providers it depends on.