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

# Claude Code

> Run Anthropic's Claude Code in DAEX as a chat or as its own CLI, with your Claude plan or an Anthropic API key, scoped to a lane.

Claude Code is Anthropic's coding agent. DAEX runs it through the Claude Agent SDK on DAEX's own tested copy of Claude Code, downloaded for each machine the first time it is needed. There is no `claude` CLI to install.

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

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

## Connect

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

The machine picker at the top says which computer you are signing in on. A sign-in you already have in your own `claude` CLI on that machine is reused.

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

Sign in with a Claude Pro or Max plan, or add an Anthropic API key (`ANTHROPIC_API_KEY`) in the page's **API keys** panel.

**3. Pick a Claude model in a chat**

The model picker now shows Claude's models as ready.

* **Several accounts.** One machine can hold several Claude logins. Use **Add account** on the page. Turn on smart balance (off by default) to use the account with the most room left.
* **DAEX Cloud.** DAEX never copies Claude's own login. Instead you sign in once in the browser and DAEX keeps the long-lived token Claude Code makes for headless machines (a "Claude pass"). Set it up on the DAEX Cloud side of **Settings › Providers**.
* **A chat on another machine.** If Claude is signed out there, the chat shows a sign-in card that signs in on that chat's machine.

## Chat and CLI

| Surface | How DAEX runs it | What DAEX sees |
| - | - | - |
| **Chat** | The Claude Agent SDK, driving DAEX's copy of Claude Code in the lane's worktree. | Typed events: turns, tool calls, thinking, subagents, approvals, usage. |
| **CLI** | The `claude` program in a DAEX terminal (Work tab, new CLI session). | The screen, plus Claude Code hooks DAEX adds to the launch, so turn start, end and "waiting on you" are exact. |

## Permission modes

| Mode | What it does | Chat | CLI |
| - | - | :-: | :-: |
| **Manual** | Asks before edits, shell commands and risky tools. | Yes | Yes |
| **Auto** | A safety model approves each tool call instead of asking you. | Yes | Yes |
| **Accept edits** | File edits run without asking; shell commands still ask. | Yes | Yes |
| **Plan mode** | Read-only: Claude reads and plans, then asks you to approve the plan. | Yes | Yes |
| **Bypass** | Never asks. Use only in a lane you can throw away. | Yes | Yes |

You can change the mode mid-chat. See [Permissions](https://ade-app.dev/docs/configuration/permissions.md) for how modes line up across agents.

## Models

The picker lists Claude's models with their reasoning-effort levels. Models that support Fast mode show a Fast chip once Fast mode is allowed in **Settings › Chat**.

## Troubleshooting

> [accordion] Claude shows as not signed in
>
> Sign in again from the provider page. The sign-in uses DAEX's copy of Claude Code and shares the login with your own `claude` CLI. Then choose **Refresh**.

> [accordion] A Claude CLI session's status looks guessed
>
> The exact status comes from Claude Code hooks. If no hook arrives for a few seconds (for example after a local slash command), DAEX falls back to reading the screen until the next hook.

> [accordion] Claude works on my computer but not on DAEX Cloud
>
> Your computer's Claude login never travels. Add a Claude pass on the DAEX Cloud side of **Settings › Providers**.

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