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

# GitHub Copilot

> Run GitHub Copilot's coding agent in DAEX as a chat (Copilot SDK) or as the Copilot CLI, with your GitHub Copilot plan.

GitHub Copilot's coding agent runs in DAEX on the official Copilot SDK and the Copilot runtime DAEX downloads for each machine. Chats and terminals run the same Copilot version and share `~/.copilot`, so a session one started can be continued in the other.

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

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

## Connect

**1. Open Settings › Providers › GitHub Copilot**

Pick the machine at the top. Copilot reuses that machine's login in this order: `COPILOT_GITHUB_TOKEN`, `GH_TOKEN`, `GITHUB_TOKEN`, a saved `copilot login`, then `gh auth`.

**2. Sign in**

Choose **Sign in**. DAEX runs `copilot login --device-code` and shows GitHub's code to approve.

* **Tokens.** A classic `ghp_` token is rejected, and a token variable wins over `copilot login`. Settings names the variable it found.
* **DAEX Cloud.** Save a fine-grained personal access token with the **Copilot Requests** permission for DAEX Cloud. Or allow DAEX to copy this computer's GitHub CLI login; that login also gives access to your GitHub repos, so it is copied only when you turn it on.

## Chat and CLI

| Surface | How DAEX runs it | What DAEX sees |
| - | - | - |
| **Chat** | The Copilot SDK in a worker, on DAEX's pinned Copilot runtime. | Typed events: turns, tool calls, subagents, approvals, plan usage (premium requests). Copilot's own slash commands work. |
| **CLI** | The `copilot` program in a DAEX terminal. | The screen only. Turn status is read from output and quiet time. |

## Permission modes

| Chat mode | CLI mode | What it does |
| - | - | - |
| **Plan** | **Plan** | Read-only planning. Approving the plan moves the chat to Ask. |
| **Ask** | **Ask** | Every request shows an approval card: allow once, allow for this session, or deny. |
| **Assisted** | (none) | Copilot's safety model reviews each request; DAEX approves only what it approves and asks you for the rest. |
| **Auto-edit** | **Accept edits** | Reads and writes inside the lane are approved; everything else asks. |
| **Full-auto** | **Full access** | Everything is approved, except what your organization requires a person to approve. |

The Copilot CLI has no **Auto** mode and no config passthrough. On Windows, even read-only commands ask in Ask mode. See [Permissions](https://ade-app.dev/docs/configuration/permissions.md).

## Models

The picker lists the models your Copilot plan allows. On a plan with only Auto, DAEX offers **Auto**, with an Auto profile (Standard or Intelligence) instead of reasoning effort. Models that support a long context tier show a toggle. Copilot can also run on another source through a [custom provider](https://ade-app.dev/docs/configuration/ai-providers.md#custom-providers).

## Troubleshooting

> [accordion] Copilot can't use a model on this account
>
> The model is not in your account's model list. Pick another model, or ask your organization to enable it.

> [accordion] Your organization requires a newer Copilot
>
> Your organization's Copilot policy needs a newer version than the one DAEX ships. Update DAEX.

> [accordion] Signed in, but DAEX uses the wrong account
>
> A token variable (`COPILOT_GITHUB_TOKEN`, `GH_TOKEN` or `GITHUB_TOKEN`) wins over `copilot login`. Remove or change it, then choose **Refresh**.

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