---
title: "Cursor"
description: "Run the Cursor CLI in a box with a browser login that is stored in the guest."
---

> Documentation Index
> Fetch the complete documentation index at: https://sandrinodm.github.io/agent-box/llms.txt
> Use this file to discover all available pages before exploring further.

# Cursor

Cursor is Cursor's coding agent CLI. abx installs the pinned `2026.12.02-5c6ebdc` Linux bundle from `downloads.cursor.com`, checked against a SHA-256 digest, and puts a launcher at `/usr/local/bin/cursor`. Use this page to sign in and launch it.

## Launch

```sh
abx cursor <box>
```

abx runs `/usr/local/bin/cursor --disable-auto-update` in the guest, so the pinned bundle stays intact. Arguments after `--` go to Cursor.

A Cursor box has no default network hosts. Without a saved `cursor/login` selection it starts with networking off, unless you pass `--access local` or `--allow`. The network cannot be changed after the box is created, so save the login first. See [Network policy](https://sandrinodm.github.io/agent-box/network/policy/).

## Authentication

| Mode | Access | What it does |
| --- | --- | --- |
| `cursor/login` | local | Native browser login. The tokens are stored in the box. |
| `cursor/api-key` | none | Not available in a box. The CLI exchanges an API key for reusable guest tokens, so the key cannot stay on the host. |

Cursor offers no masked mode and no shared global profile. The login ends with the box's disk, and a new box signs in on its own.

### Login (local)

```sh
abx auth set cursor --provider cursor --mode login --access local
abx cursor cursor-task -- login
```

abx prepares the CLI config and a private credential directory in the guest. With this mode the box may reach `api2.cursor.sh` and `cursor.com`. For what a guest-readable login means, see [Access modes](https://sandrinodm.github.io/agent-box/authentication/access-modes/).

## Verification

Guest logins need no `abx auth verify`. See [Verification](https://sandrinodm.github.io/agent-box/authentication/verification/).

Source: https://sandrinodm.github.io/agent-box/agents/cursor/index.mdx
