Muse Code
Zekoder runs Meta's Muse Code through your installed muse CLI (muse serve) over the Muse Session Protocol. It uses your existing Muse credentials and configuration.
Getting started
Muse Code is built in and enabled by default. Use Muse 1.3.0 or later.
- Install Muse Code on your host:
curl -fsSL https://dev.meta.ai/install.sh | sh - Sign in with
muse login, or setMETA_API_KEYin the daemon environment. - In Zekoder, choose Muse Code when you start an agent.
Your Muse configuration determines the available models. If muse is outside the daemon's PATH or you need custom environment variables, configure agents.providers.muse in ~/.zekoder/config.json.
Modes and skills
Default is the default mode. The available modes are Default, Ask, Strict, and Full access. Full access approves escalated approval stages automatically. Muse skills appear in the slash-command menu alongside /compact.
Provider options
By default, Zekoder launches Muse with the sandbox disabled (--disable-sandbox) and workspace trust enabled (--trust-workspace).
| Option | Default | Effect |
|---|---|---|
sandbox.enabled | false | Enables Muse's filesystem and network sandbox. Its read-only home directory prevents npm from writing the default cache. |
sandbox.network | "proxy-only" | Sandbox network policy: "proxy-only", "restricted", or "enabled". With sandbox disabled, Muse allows full network access. |
trustWorkspace | true | Lets Muse load project rules, skills, and configuration. |
To change the defaults for every Muse agent, set them in ~/.zekoder/config.json on the host:
{
"agents": {
"providers": {
"muse": {
"options": {
"sandbox": { "enabled": true, "network": "proxy-only" },
"trustWorkspace": false
}
}
}
}
}
Invalid values or unknown keys fail session creation with a providerOptions error.
Limitations in Muse 1.4.1
- Zekoder MCP tools are unavailable because Muse drops the returned tool namespace before matching an MCP call. Muse must fix this upstream.
- Compaction needs a model context limit. If your endpoint does not report one, set
context_compaction.provider_context_limit_tokensin Muse for the selected model. - Usage windows appear only when Muse reports them.
- If native subagent tools are missing, set
MUSE_EXPERIMENTAL_SDK_ENABLED=onin the provider environment. Linked child sessions appear only when Muse supplieschildSessionId.