Local first
The server runs on your Mac, so agent tools keep working against your real project files instead of a hosted sandbox.
OpenCode
VS Code
Cline
API for Cursor is an open source native MacOS app that leverages Cursor's Agent SDK to produce a standard OpenAI compatible API. Import Composer as a model into OpenCode, Codex, or your own harness with a single click.
91 - Star the repo
The server runs on your Mac, so agent tools keep working against your real project files instead of a hosted sandbox.
Chat Completions, Responses, and Models endpoints are exposed at a standard local /v1 base URL.
Configure Composer for OpenCode, Codex, VS Code, Cline, Kilo Code, and pi from a single Agent Setup panel.
Works where agents already run
Start the local API, then wire Composer into the agents you already use.
Each one keeps its own shell loop and your real project files — only the model
route points at 127.0.0.1.
Composer models ready
Custom provider ready
Model metadata ready
Provider profile ready
Provider profile ready
Custom models ready
OpenAI-compatible
/v1 surface.Point any OpenAI-compatible client at the local base URL and the familiar endpoints are right there — Models, Chat Completions, and Responses.
In your editor
Composer 2.5 shows up as a normal model in OpenCode — “Build · Composer 2.5 Cursor API via Standard Agents” — while the agent keeps its local filesystem and shell tools. Same flow in Codex and any tool with a custom provider.
Download for macOS Free local appStandard Agents
Standard Agents is an open standard for creating domain-specific agents that can be distributed, composed, and run across different harnesses. API for Cursor is one example: a local app that turns Cursor's Agent SDK into a standard model API.
Hosted endpoints
The hosted API endpoints have moved into the local app. Your Cursor key stays on
your machine, and your agents connect to a normal OpenAI-compatible URL at
http://127.0.0.1:8787/v1.