Back to rankings

PawanOsman/OpenCursor

TypeScriptmarketplace.visualstudio.com/items

Open-source Cursor-like AI coding agent for VS Code — agentic chat, multi-provider LLMs (OpenAI, Ollama, llama.cpp), semantic search, and MCP support

aiagentcodecodercursorextensionidevscode
Star Growth
Stars
5.9k
Forks
1k
Weekly Growth
Issues
0
2k4k
Dec 2022Feb 2024May 2025Jul 2026
Artifactsnpmnpm install opencursor
README
OpenCursor — the open-source AI coding agent for VS Code

The open-source AI coding agent for VS Code — built local-first.

Chat with an agent that reads your workspace, edits files, runs commands, and searches your codebase semantically. Use your Claude / ChatGPT / Gemini subscription, any API key, or run completely offline with llama.cpp and Ollama.

Install · Local AI · Providers · Features · Contributing


🔌 100% Local AI

OpenCursor local stack: llama.cpp, Ollama, local embeddings — works offline

OpenCursor is designed to work without internet once set up:

  • 🦙 llama.cpp built in — search Hugging Face for GGUF models, pick a quantization, download, and OpenCursor spawns and manages llama-server for you. Full launch control: context size, GPU layers, flash attention, KV cache types, speculative decoding, vision (--mmproj), and more.
  • 🐋 Ollama — pull, manage, and chat with models from the Ollama library, zero config.
  • 🧠 Local embeddings — semantic codebase search powered by an on-device ONNX MiniLM model. No embedding API, no key, no code leaving your machine.
  • ✈️ Airplane-mode coding — local model + local index = a fully working AI agent, offline.

🔍 Semantic search, no cloud

Local semantic search pipeline

Ask questions in plain language — "where do we refresh the auth token?" — and the agent automatically finds code by meaning, not keywords. The index builds automatically, updates incrementally, and is stored locally. Prefer a hosted embedding model? Point it at any OpenAI-compatible /embeddings endpoint instead.

🌐 Providers

Supported providers: OAuth sign-in and API/local providers
  • OAuth sign-in — connect your existing Claude Code, OpenAI Codex, or Google Antigravity account and use your subscription's models directly in VS Code.
  • API keys — OpenAI, Anthropic, Gemini, OpenRouter presets out of the box.
  • Custom providers — add any OpenAI-compatible or Anthropic-style endpoint (base URL + key). Run multiple providers at once; models are fetched live and mixable in the picker.
  • Auto mode — a judge model routes each task to the best enabled model. Per-model reasoning effort, thinking mode, and context-size options.

⚡ What it does

💬 Agent chat Multi-tab sidebar chat with @-mentions: files, folders, code, @Docs, git commits, branch diffs, terminals, rules, past chats
🛠️ 25 tools Read/write/edit, shell, grep/glob, semantic search, web search & fetch, notebooks, todos, subagents, MCP
Inline review Per-hunk Keep / Undo CodeLenses on every agent edit — no git required
🧭 Modes Agent · Ask · Plan · Debug · Multitask (Ask/Plan are read-only)
🛡️ Approval policy Per-action allow/ask/review/deny with risk heuristics (rm -rf, sudo, .env, secrets…) and wildcard allow/deny lists
🔗 MCP & hooks Full MCP client, plus 11 lifecycle hooks (Cursor/Claude-Code compatible) and custom subagents
🖼️ Images & PDFs Paste screenshots, read images and PDFs directly into context
⚙️ Extras Ctrl+L adds selection to chat, personas, custom system prompt, token usage tracking, completion notifications

Installation

  1. Install OpenCursor from the VS Code Marketplace (or grab the .vsix from Releases).
  2. Open the OpenCursor sidebar and pick a provider:
    • Local: one-click llama.cpp install, or point at a running Ollama.
    • Account: sign in with Claude Code / OpenAI Codex / Google Antigravity.
    • API: paste a key for OpenAI, Anthropic, Gemini, OpenRouter, or any custom endpoint.
  3. Start chatting. Ctrl+L sends your selection to the chat.

Native runtime dependencies (ONNX runtime, image processing) are downloaded once on first activation with integrity checks — they're too heavy to ship in the VSIX.

Building from source

git clone https://github.com/PawanOsman/OpenCursor.git
cd OpenCursor
pnpm install
pnpm run compile   # or: pnpm run watch

Press F5 in VS Code to launch the Extension Development Host. Build a package with pnpm run vsix.

Contributing

Issues and PRs welcome — see issues.

License

MIT

Related repositories
openclaw/openclaw

Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

TypeScriptnpmOtheraiassistant
openclaw.ai
383.7k80.6k
obra/superpowers

An agentic skills framework & software development methodology that works.

ShellMIT Licenseaibrainstorming
258.9k23.1k
NousResearch/hermes-agent

The agent that grows with you

PythonPyPIMIT Licenseaiai-agent
hermes-agent.nousresearch.com
218.5k41.3k
n8n-io/n8n

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

TypeScriptnpmOtherautomationipaas
n8n.io
197.4k59.5k
Significant-Gravitas/AutoGPT

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

PythonPyPIOtheraiopenai
agpt.co
185.6k46.1k
f/prompts.chat

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.

HTMLOtherchatgptai
prompts.chat
166.2k21.5k
AUTOMATIC1111/stable-diffusion-webui

Stable Diffusion web UI

PythonPyPIGNU Affero General Public License v3.0deep-learningdiffusion
164.3k30.4k
Snailclimb/JavaGuide

Java 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发

JavaScriptnpmApache License 2.0javainterview
javaguide.cn
157.2k46.2k
firecrawl/firecrawl

The API to search, scrape, and interact with the web at scale. 🔥

TypeScriptnpmGNU Affero General Public License v3.0aicrawler
firecrawl.dev
154.1k8.8k
langgenius/dify

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

TypeScriptnpmOtheraigpt
dify.ai
149.7k23.6k
open-webui/open-webui

User-friendly AI Interface (Supports Ollama, OpenAI API, ...)

PythonPyPIOtherollamaollama-webui
openwebui.com
146.3k21.2k
langchain-ai/langchain

The agent engineering platform.

PythonPyPIMIT Licenseaianthropic
docs.langchain.com/langchain/
142.3k23.7k