← Catalog

pi-cursor-agent

Cursor Agent provider extension for pi

Package

Install

Install with PiG

pig install npm:pi-cursor-agent

Install with Pi

pi install npm:pi-cursor-agent
Review before installing

Packages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.

Pi manifest JSON

The pi field of package.json.

{
  "extensions": [
    "./src/index.ts"
  ]
}

README

Written by the package's publisher, shown as published in version 0.4.4 (README.md). PiG does not review it.

pi-cursor-agent

npm cursor-cli

terminal

Cursor Agent provider extension for pi.

Use Cursor's AI models directly from pi with your existing Cursor subscription. Supports Claude, GPT, Gemini, Grok, Composer, and Kimi models — including thinking/reasoning variants.

Models

The following models are available through the Cursor Agent provider. Canonical Model IDs are used in pi, while Cursor Model IDs are the internal identifiers used by the Cursor API. Model families with multiple Cursor reasoning variants automatically switch to the appropriate Cursor model ID based on the configured thinking level.

Canonical Model IDCursor Model IDName
claude-sonnet-4-0claude-4-sonnet, claude-4-sonnet-thinkingClaude 4 Sonnet (Cursor)
claude-sonnet-4-1mclaude-4-sonnet-1m, claude-4-sonnet-1m-thinkingClaude 4 Sonnet 1M (Cursor)
claude-sonnet-4-5claude-4.5-sonnet, claude-4.5-sonnet-thinkingClaude 4.5 Sonnet (Cursor)
claude-sonnet-4-6claude-4.6-sonnet-medium, claude-4.6-sonnet-medium-thinkingClaude 4.6 Sonnet (Cursor)
claude-opus-4-5claude-4.5-opus-high, claude-4.5-opus-high-thinkingClaude 4.5 Opus (Cursor)
claude-opus-4-6claude-4.6-opus-high, claude-4.6-opus-high-thinkingClaude 4.6 Opus (Cursor)
claude-opus-4-6-maxclaude-4.6-opus-max, claude-4.6-opus-max-thinkingClaude 4.6 Opus Max (Cursor)
gpt-5-minigpt-5-miniGPT-5 Mini (Cursor)
gpt-5.1gpt-5.1, gpt-5.1-low, gpt-5.1-highGPT-5.1 (Cursor)
gpt-5.1-codex-minigpt-5.1-codex-mini, gpt-5.1-codex-mini-low, gpt-5.1-codex-mini-highGPT-5.1 Codex Mini (Cursor)
gpt-5.1-codex-maxgpt-5.1-codex-max-medium, gpt-5.1-codex-max-low, gpt-5.1-codex-max-high, gpt-5.1-codex-max-xhighGPT-5.1 Codex Max (Cursor)
gpt-5.1-codex-max-fastgpt-5.1-codex-max-medium-fast, gpt-5.1-codex-max-low-fast, gpt-5.1-codex-max-high-fast, gpt-5.1-codex-max-xhigh-fastGPT-5.1 Codex Max Fast (Cursor)
gpt-5.2gpt-5.2, gpt-5.2-low, gpt-5.2-high, gpt-5.2-xhighGPT-5.2 (Cursor)
gpt-5.2-fastgpt-5.2-fast, gpt-5.2-low-fast, gpt-5.2-high-fast, gpt-5.2-xhigh-fastGPT-5.2 Fast (Cursor)
gpt-5.2-codexgpt-5.2-codex, gpt-5.2-codex-low, gpt-5.2-codex-high, gpt-5.2-codex-xhighGPT-5.2 Codex (Cursor)
gpt-5.2-codex-fastgpt-5.2-codex-fast, gpt-5.2-codex-low-fast, gpt-5.2-codex-high-fast, gpt-5.2-codex-xhigh-fastGPT-5.2 Codex Fast (Cursor)
gpt-5.3-codexgpt-5.3-codex, gpt-5.3-codex-low, gpt-5.3-codex-high, gpt-5.3-codex-xhighGPT-5.3 Codex (Cursor)
gpt-5.3-codex-fastgpt-5.3-codex-fast, gpt-5.3-codex-low-fast, gpt-5.3-codex-high-fast, gpt-5.3-codex-xhigh-fastGPT-5.3 Codex Fast (Cursor)
gpt-5.3-codex-sparkgpt-5.3-codex-spark-preview, gpt-5.3-codex-spark-preview-low, gpt-5.3-codex-spark-preview-high, gpt-5.3-codex-spark-preview-xhighGPT-5.3 Codex Spark (Cursor)
gpt-5.4gpt-5.4-medium, gpt-5.4-low, gpt-5.4-high, gpt-5.4-xhighGPT-5.4 (Cursor)
gpt-5.4-fastgpt-5.4-medium-fast, gpt-5.4-high-fast, gpt-5.4-xhigh-fastGPT-5.4 Fast (Cursor)
gpt-5.4-minigpt-5.4-mini-medium, gpt-5.4-mini-none, gpt-5.4-mini-low, gpt-5.4-mini-high, gpt-5.4-mini-xhighGPT-5.4 Mini (Cursor)
gpt-5.4-nanogpt-5.4-nano-medium, gpt-5.4-nano-none, gpt-5.4-nano-low, gpt-5.4-nano-high, gpt-5.4-nano-xhighGPT-5.4 Nano (Cursor)
gemini-3-pro-previewgemini-3-proGemini 3 Pro (Cursor)
gemini-3-flash-previewgemini-3-flashGemini 3 Flash (Cursor)
gemini-3.1-pro-previewgemini-3.1-proGemini 3.1 Pro (Cursor)
grok-4.20-0309-non-reasoninggrok-4-20Grok 4.20 (Non-Reasoning) (Cursor)
grok-4.20-0309-reasoninggrok-4-20-thinkingGrok 4.20 (Reasoning) (Cursor)
composer-1.5composer-1.5Composer 1.5 (Cursor)
composer-2composer-2Composer 2 (Cursor)
composer-2-fastcomposer-2-fastComposer 2 Fast (Cursor)
kimi-k2.5kimi-k2.5Kimi K2.5 (Cursor)

Installation

pi install npm:pi-cursor-agent

Authentication

  1. Open pi and enter /login.
  2. Select Cursor Agent from the provider list.
  3. A browser window will open to the Cursor login page — sign in with your Cursor account.

Requirements

  • pi >= 0.52.10
  • Cursor subscription

License

MIT