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

# Cursor

> Run Cursor's agent in DAEX as a chat (Cursor SDK) or as the Cursor Agent CLI, and launch Cursor Cloud agents, scoped to a lane.

Cursor is Cursor's coding agent. DAEX drives it through the official Cursor SDK for chats, and runs its own pinned copy of the Cursor Agent CLI for terminals.

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

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

## Connect

**1. Open Settings › Providers › Cursor**

Pick the machine at the top.

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

Sign in with Cursor in the browser, or add a Cursor API key (`CURSOR_API_KEY`) in the **API keys** panel. DAEX checks it with the Cursor SDK and lists your models.

* **DAEX Cloud.** DAEX copies the key the Cursor sign-in made (it ends after 90 days), or you can save a Cursor User API key for DAEX Cloud. Make one in your Cursor dashboard.

## Chat and CLI

| Surface | How DAEX runs it | What DAEX sees |
| - | - | - |
| **Chat** | The Cursor SDK in a worker. DAEX owns lane scope, permissions and the system prompt. | Typed events: turns, tool calls, approvals, usage. You can steer a running turn. |
| **CLI** | The Cursor Agent CLI 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 |
| - | - | - |
| **Agent** | **Agent** | Cursor's normal approval flow. |
| **Ask** | **Ask** | Read-only questions and answers. |
| **Plan** | **Plan** | Read-only planning. |
| **Full auto** | **Force** | Highest access; runs without asking. |

In chats, DAEX also refuses file access outside the lane. See [Permissions](https://ade-app.dev/docs/configuration/permissions.md).

## Models

Chat models come from the Cursor SDK for your account. The CLI can list extra CLI-only models; those show only when you start a Cursor CLI session.

## Cursor Cloud agents

Start Cursor's hosted cloud agents from DAEX and follow them in a lane. This needs a Cursor plan that includes Cloud Agents.

```bash theme={null}
daex cursor cloud agents list --text
daex cursor cloud agents create --repo https://github.com/owner/repo --prompt "fix flaky test" --auto-pr
```

The chat panel can open a cloud agent as a DAEX chat (replies still run in Cursor's cloud) or jump to it on cursor.com.

## Troubleshooting

> [accordion] Authentication failed
>
> Sign in again on the provider page, or add a Cursor API key. If you set `CURSOR_API_KEY` in your environment, check it is still valid.

> [accordion] Models are missing
>
> DAEX shows the last model list it read and refreshes in the background. Choose **Refresh** on the provider page after connecting.

> [accordion] A cloud agent is refused
>
> Cursor refuses cloud agents for an account whose plan does not include them, even when you are signed in. Check your Cursor plan.

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