> ## 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.

# Factory Droid

> Run Factory's Droid in DAEX as a chat (Droid SDK) or as the Droid CLI, with your Factory login or API key, including AGI mode.

Droid is Factory's coding agent. DAEX runs chats through the Droid SDK and terminals through its own pinned copy of the Droid CLI, downloaded for each machine the first time it is needed.

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

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

## Connect

**1. Open Settings › Providers › Droid**

Pick the machine at the top. A Factory login you already have on that machine is reused.

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

Choose **Sign in** (DAEX runs Droid's own login with its copy), or add a Factory API key (`FACTORY_API_KEY`) in the **API keys** panel.

* **DAEX Cloud.** Sign-ins from your computers reach your cloud computers. You can also save a Factory API key for DAEX Cloud (make one in your Factory settings).

## Chat and CLI

| Surface | How DAEX runs it | What DAEX sees |
| - | - | - |
| **Chat** | The Droid SDK in a worker, in the lane's worktree. | Typed events: turns, tool calls, spec plans, mission workers, approvals, usage. |
| **CLI** | The `droid` 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** | Droid's spec mode: it reads and plans, then builds once you approve. | Yes | Yes |
| **Auto low** | Safe file edits and low-risk operations (`--auto low`). | Yes | Yes |
| **Auto medium** | Local development: builds, tests, package installs (`--auto medium`). | Yes | Yes |
| **Auto high** | Broad automation (`--auto high`). Trusted lanes only. | Yes | Yes |
| **AGI (orchestrator)** | Droid splits the task into a mission and starts worker subagents. | Yes | No |

When a chat sets no mode, Droid's own `settings.json` decides. See [Permissions](https://ade-app.dev/docs/configuration/permissions.md).

## Models

The picker lists the models Factory offers your account, including Factory's fast variants where available. Droid can also run on another source through a [custom provider](https://ade-app.dev/docs/configuration/ai-providers.md#custom-providers).

## Troubleshooting

> [accordion] Droid shows as not signed in
>
> Choose **Sign in** again, or check that `FACTORY_API_KEY` is set where DAEX can read it. Then choose **Refresh**.

> [accordion] Droid stays in planning
>
> Plan is Droid's spec mode. Approve the plan to let it build, or switch to an Auto mode.

> [accordion] Droid shows as downloading or not downloaded
>
> DAEX downloads Droid the first time the machine uses it. If the download failed, choose **Retry download** on the provider page.

> [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.