> ## Documentation Index
> Fetch the complete documentation index at: https://ade-app.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Muse Code

> Run Meta's Muse Code in DAEX as a chat or as its own CLI, with your Meta sign-in or a Meta API key.

Muse Code is Meta's coding agent. DAEX runs its own pinned build of Muse for each machine, downloaded the first time it is needed (a large download, over 350 MB).

![The Muse Code page in DAEX Settings › Providers](https://mintcdn.com/ade-ac1c6011/X0fzcdMoI2OYgIpA/media/current/provider-muse.jpg?fit=max\&auto=format\&n=X0fzcdMoI2OYgIpA\&q=85\&s=6ab9c6f083239bf800ab52b032add14a)

Muse Code in Settings › Providers: its sign-in, status and models on this machine.

## Connect

**1. Open Settings › Providers › Muse Code**

Pick the machine at the top. If Muse is not downloaded yet, start the download there and wait for it to finish.

**2. Sign in or add a key**

Choose **Sign in to Muse** to run `muse login` for your Meta account, or add a Meta API key (`META_API_KEY`) in the **API keys** panel.

* **DAEX Cloud.** Save a Meta API key for DAEX Cloud (make one on Meta's developer site). A Muse login on your computer is not copied to cloud computers.

## Chat and CLI

| Surface | How DAEX runs it | What DAEX sees |
| - | - | - |
| **Chat** | `muse serve`, spoken to over the Muse Session Protocol. | Typed events: turns, tool calls, approvals, usage, compaction. |
| **CLI** | The `muse` program in a DAEX terminal. | The screen only. Turn status is read from output and quiet time. |

## Permission modes

| Mode | What it does | Chat | CLI |
| - | - | :-: | :-: |
| **Plan** | Read-only planning with DAEX's guidance (runs on Read-only). | Yes | Yes |
| **Read-only** | Muse refuses any tool call its rules do not already allow. | Yes | Yes |
| **Ask** | Muse asks before any tool call its rules do not already allow. | Yes | Yes |
| **Auto** | Muse's default: sandboxed work runs, and Muse asks when it needs more. | Yes | Yes |
| **Full access** | Muse runs every tool call without asking. | Yes | Yes |

In a terminal, DAEX can also defer to your own Muse settings. See [Permissions](https://ade-app.dev/docs/configuration/permissions.md).

## Models

The picker lists Muse's models. Muse is not available as a harness for [custom providers](https://ade-app.dev/docs/configuration/ai-providers.md#custom-providers).

## Troubleshooting

> [accordion] Muse is still downloading
>
> The provider page shows progress. The download runs on the machine the page shows, so it keeps going if you close Settings.

> [accordion] Muse asks you to update DAEX
>
> Meta can require a newer Muse than the one DAEX pinned. DAEX moves to a newer Muse build on its own when one is available; otherwise update DAEX.

> [accordion] Muse works on my computer but not on DAEX Cloud
>
> Muse logins do not travel. Save a Meta API key for DAEX Cloud.

> [card] [AI providers](https://ade-app.dev/docs/configuration/ai-providers.md)
>
> Sign-ins, API keys, custom providers and free models.

> [card] [Agents and models](https://ade-app.dev/docs/concepts/agents-and-models.md)
>
> All 13 agents, chats vs CLI sessions, and the model picker.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.