Cursor CLI in DevAgent
Cursor CLI is Cursor's command-line agent. DevAgent runs it with first-class support — launch from the combobox, full OSC state detection, and restart chip on exit.
Setup
- Install Cursor CLI per Cursor's docs.
- Log in once.
- DevAgent auto-detects the CLI on
PATH.
Launching
Pick Cursor from the combobox. DevAgent launches the CLI scoped to the worktree. Cursor's TUI emits the state events DevAgent needs for agent state dots.
Model selection
Model selection is driven by Cursor's own settings. DevAgent doesn't override it — configure inside the CLI.