Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
O

OpenCursor

> AI 编程
Open source

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

6.0K stars0 likes0 views
WebsiteGitHub

About

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


100% Local AI

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

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

  • 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

bash
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

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

TypeScriptagentaicodecoder

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
CategoryAI 编程
PricingOpen source

> Related tools

G
GitHub Copilot
GitHub 官方 AI 编程助手,覆盖补全、Chat 与 Agent 模式。
C
Cursor
AI 原生代码编辑器,对话改代码、多文件 Agent 与规则体系是其核心。
S
skills
Skills for Real Engineers. Straight from my .agents directory.