PawanOsman/OpenCursor
VS Code coding agent with swappable models, local code search, and reviewable edits
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
OpenCursor is a TypeScript VS Code extension with a React webview, not a standalone IDE. The root tree separates src/ from webview-ui/ and includes esbuild configuration and a dedicated webview TypeScript config. ProseMirror packages support rich editing, and the manifest includes the MCP SDK, @lydell/node-pty, and playwright-core alongside the documented MCP, terminal, and browser capabilities.
A conversation combines workspace context with the selected model connection. The agent can then invoke tools under the configured permissions, and the user can inspect tool activity and resulting diffs in VS Code. Local and remote MCP servers add tools and resources, while hooks and local plugins provide additional extension points. Conversations, drafts, indexes, and edit-recovery data are stored locally; API keys and account tokens use VS Code SecretStorage. The selected inference endpoint is a separate data boundary.
Key Capabilities & Differentiators
The connection layer supports account sign-in, API keys, custom OpenAI- or Anthropic-compatible endpoints, and local Ollama or llama.cpp inference. Multiple credentials for one provider can use first-available or round-robin routing; supported accounts add quota-aware choices. Eligible failures can switch credentials before response content starts. Model discovery and controls for reasoning, thinking, and context vary by connection.
Workspace retrieval combines embeddings and lexical search, updates incrementally, accounts for unsaved edits, and checks that retrieved snippets are current. Documentation sources use a bounded fetch plan and retain the previous usable index when updates fail. Ask mode is read-only, Plan can save a plan without editing project code, and Agent can edit and run tools subject to permissions. Users can review individual hunks or keep or undo all changes. Remote jobs run on a configured worker from a committed revision and return a patch for separate review.
Trade-offs & Limitations
Compared with Cursor, OpenCursor keeps the workflow inside VS Code. As an alternative to GitHub Copilot, its main reason for adoption is control over endpoints, local inference, retrieval, and tool permissions—not established parity in model quality or provider coverage. That flexibility creates more configuration work: teams need to validate their chosen models' tool support, select permission defaults, and maintain any runtimes, MCP servers, or workers they enable.
Local inference can keep model requests off hosted APIs, but it shifts generation cost and latency onto your hardware. With llama.cpp, size for the GGUF quantization, context length, KV cache, GPU layer allocation, and expected concurrency. Keeping inference local is not enough if embeddings still use a hosted endpoint or tools contact external services. Worktrees separate Git changes but should not be treated as a security sandbox. The MIT license covers the extension, not the terms for provider accounts, model weights, or external services.
Hardware & Deployment Guide
Install from the VS Code Marketplace or a release VSIX on VS Code 1.96 or later, then configure an account, an API provider, or a local runtime. Offline coding and search require local inference and embeddings plus advance installation of the necessary models and runtimes. Web search, online documentation fetching, and remote integrations still need connectivity. Browser tools need an installed browser; Docker command execution needs a running Docker engine and an existing image. Neither is required for basic chat.
Source builds use Node.js 22, pnpm, Git, and VS Code: pnpm install --frozen-lockfile and pnpm run compile, then F5 to launch the Extension Development Host. Release 0.2.0 expanded the Markdown composer and added image attachment previews. In 0.2.1, the optional model-output editing toggle lets users change assistant messages and thinking blocks for subsequent requests. Provider signatures are dropped from the edited step onward, so the next request uses revised history rather than an untouched transcript.
VS Code teams that want to bring their own model endpoints, keep selected workflows local, and review agent edits before accepting them.
You want a turnkey, supported coding service, work outside VS Code, or require enforced isolation that must not depend on extension and tool configuration.
Quick Start & Installation
git clone https://github.com/PawanOsman/OpenCursor.git cd OpenCursor pnpm install --frozen-lockfile pnpm run compile
Comparison vs. Top Coding, Skills & MCP Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| OpenCursor ★ | 6.1k | +5 | TypeScript | MIT | VS Code coding agent with swappable models, local code search, and reviewable ed |
| goose | 57.3k | +219 | Rust | Apache-2.0 | Rust coding agent with MCP tools and local or hosted models, embeddable via ACP |
| openinterpreter | 69k | +65 | Rust | Apache-2.0 | A Rust coding CLI with swappable harnesses for low-cost models |
| oh-my-pi | 40.5k | +483 | TypeScript | MIT | A Bun/Rust terminal agent for model-flexible coding with LSP and editor integrat |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/PawanOsman/OpenCursor.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about OpenCursor
How do model providers and MCP servers fit into the extension?
How much RAM or VRAM should I budget?
Can we deploy OpenCursor internally or redistribute a modified build?
When should we choose OpenCursor over Cursor or GitHub Copilot?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy