Skip to content
NewNexus 2.0 is here, and it’s open source. Read the launch post

CLI reference

cursor-agent

Cursor on your own Cursor plan: its calls go straight to Cursor, and Nexus records the session.

View as Markdown

nexus cursor-agent

nexus cursor-agent [--json] [--subscription] [--team <slug>] [--] [cursor-agent args…]

Cursor on your own Cursor plan: its calls go straight to Cursor, and Nexus records the session.

OptionMeaning
--jsonA JSON summary on stdout when Cursor exits
--subscriptionRun on your Cursor plan
--team <slug>The team this session is attributed to (also NEXUS_TEAM)
--model <id>Cursor's own model flag
Exit codeMeaning
0The agent's own exit code is passed through
2--api, --via gateway, --model auto or --recording: not available, and the agent does not start
Examples
nexus cursor-agent -p "hello"
nexus cursor-agent --team web
nexus cursor-agent -- --resume <id>

Generated from the CLI's own command list (nexus help --json), version 0.45.0. nexus help and nexus <command> --help always show your installed version.