Muse Code

Run Meta's Muse Code in Zekoder with your installed muse CLI.

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.

  1. Install Muse Code on your host:
    curl -fsSL https://dev.meta.ai/install.sh | sh
    
  2. Sign in with muse login, or set META_API_KEY in the daemon environment.
  3. 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).

OptionDefaultEffect
sandbox.enabledfalseEnables 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.
trustWorkspacetrueLets 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_tokens in Muse for the selected model.
  • Usage windows appear only when Muse reports them.
  • If native subagent tools are missing, set MUSE_EXPERIMENTAL_SDK_ENABLED=on in the provider environment. Linked child sessions appear only when Muse supplies childSessionId.
Zekoder

The flight recorder for AI-built software.

Zekoder is a product of Cybernetic Labs Ltd, London.