Skip to content

feat: add Cursor SDK backend for pentestgpt-agent - #553

Closed
paulocouto14 wants to merge 1 commit into
GreyDGL:mainfrom
paulocouto14:feat/cursor-backend
Closed

paulocouto14 wants to merge 1 commit into
GreyDGL:mainfrom
paulocouto14:feat/cursor-backend

Conversation

@paulocouto14

@paulocouto14 paulocouto14 commented Sep 11, 2026 •

Copy link
Copy Markdown

Summary

  • Adds optional --backend cursor using the local Cursor SDK (CURSOR_API_KEY)
  • Same Supervisor/Executor slot as Claude/Codex; default model composer-2.5 when --model is omitted
  • Docs (.env.example, AGENT.md, agent README), optional cursor extra, and unit tests

Test plan

  • cd pentestgpt_agent && uv sync --extra cursor
  • uv run python -m pytest tests/test_cursor_backend.py tests/test_trial.py -q
  • Live smoke with CURSOR_API_KEY against an authorized local target

Wire an optional Cursor provider into the same Supervisor/Executor slot as
Claude/Codex so local agent runs can use CURSOR_API_KEY without forking
unified-agent.

Co-authored-by: Cursor <cursoragent@cursor.com>
@paulocouto14
paulocouto14 deleted the feat/cursor-backend branch October 6, 2026 01:34
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.

1 participant