Skip to content

Add Cursor Auto provider for the REPL - #5

Merged
cursor[bot] merged 1 commit into
mainfrom
cursor/repl-cursor-auto-provider-dc02
Aug 21, 2026
Merged

Add Cursor Auto provider for the REPL#5
cursor[bot] merged 1 commit into
mainfrom
cursor/repl-cursor-auto-provider-dc02

Conversation

@sroomberg

Copy link
Copy Markdown
Owner

Summary

Cursor Auto now works in the REPL, not only agent-tester run.

Adds type: cursor provider that shells out to the Cursor CLI (agent -p --force --trust). model: auto uses Auto/Router; pin any other id from agent models the same way.

Behavior

  • Cursor owns its agent loop/tools (AgentTester does not inject OpenAI tool schemas)
  • With --workdir, --workspace points at each model’s isolated clone
  • Multi-turn continuity via CLI --resume; /reset clears REPL history and the CLI session
  • Parses stream-json for streamed text + optional usage token counts

Config

providers:
  cursor:
    type: cursor

models:
  cursor-auto:
    provider: cursor
    model: auto
export CURSOR_API_KEY=…   # or agent login
agent-tester repl --workdir .

Version: 1.6.0

Open in Web Open in Cursor 

Introduce type: cursor so models: can use Cursor CLI Auto/Router as a
peer REPL backend. Cursor owns its agent loop and tools; AgentTester
streams CLI output, resumes chat across turns, and points --workspace
at each model's clone when --workdir is set.

Co-authored-by: Steven Roomberg <sroomberg@users.noreply.github.com>
@sroomberg
sroomberg marked this pull request as ready for review August 21, 2026 04:01
@cursor
cursor Bot merged commit ec73c36 into main Aug 21, 2026
2 checks passed
@cursor
cursor Bot deleted the cursor/repl-cursor-auto-provider-dc02 branch August 21, 2026 04:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants