Skip to content

Cursor

Curupira runs the Cursor CLI (the agent command) in print mode with streaming JSON output:

agent --print --output-format stream-json [options] -- <prompt>

Install and sign in

curl https://cursor.com/install -fsS | bash
agent login

The Cursor CLI owns authentication. Curupira never reads or stores credentials.

Profile options

Option Native argument Notes
model --model <model> auto lets Cursor choose.
agent --mode <mode> agent, ask, or plan.
force = true --force Allows commands without confirmation.
trust = true --trust Trusts the workspace for this run.
effort — Not supported; rejected.

Example

[agents.profiles.cursor]
provider = "cursor"
model = "auto"
agent = "agent"
force = true

Sessions

The session id from the JSON stream is saved with the task. An interrupted task resumes with --resume <session_id>.