Cursor (experimental)¶
Cursor is experimental in milestone 1. reviewloop drives it through Cursor's cursor-sdk, as a local agent with
read tools only (read, grep, glob, ls): no shell, no edits, no web, no MCP. The SDK cannot hold a shell to the four
review git commands, so the shell is off: Cursor reviews without git log, git blame, git show and git diff,
from the diff and context files reviewloop writes. With its sandbox off its read tools can open absolute paths outside
the working copy; no credential is in its environment. The details are in
ADR 0002.
Enable¶
# .reviewloop.yml
agent: cursor
model: composer-2 # optional; default auto
effort: medium # optional; used when the model has a reasoning parameter with that value
and set REVIEWLOOP_EXPERIMENTAL_AGENTS=1 and CURSOR_API_KEY (a Cursor API key) as CI variables. The key is sent
over the SDK's RPC, never in the agent's environment. A Cursor login session is not used.
Install¶
The image ships cursor-sdk and its bundled bridge; no derived image is needed. Outside the image, install
pip install 'reviewloop-ai[cursor]'.
cursor-sdk is proprietary ("All rights reserved; use subject to Cursor's Terms of Service") and in public beta. The
core reviewloop-ai install does not pull it; only the cursor and all extras and the image do. See
THIRD_PARTY_NOTICES.md.