Build with
Run the Cursor CLI in Nix Agents
Cursor ships a command-line agent as well as its editor. In Nix Agents that agent runs where the other CLIs run: a worktree per task, a terminal per session.
Editor and CLI are different tools
The editor is where one person writes code with an agent in the loop. The CLI is the shape that fits a workspace: a task, a checkout, a diff, a merge — the same unit of work this app is organised around.
Running the CLI here does not change your editor. One is for the hours you are typing; the other is for the work you hand off and review.
How it works
Install the CLI and sign in as you normally would. Nix Agents starts it in a worktree of the repository you picked, in a real terminal pane, and keeps the diff one click away. When several sessions are running, the merge queue is what stops the finished branches from becoming a pile.
Questions
- Is this the same as running Cursor itself?
- No. This page is about the command-line agent. The IDE is a separate product and is not part of Nix Agents.
