PawanOsman/OpenCursor
Open-source Cursor-like AI coding agent for VS Code — agentic chat, multi-provider LLMs (OpenAI, Ollama, llama.cpp), semantic search, and MCP support
What it solves
OpenCursor provides an open-source, local-first AI coding agent for VS Code, allowing developers to use AI assistance without relying on cloud services or sending their code to external servers.
How it works
It integrates directly into VS Code as an extension. Users can choose between local models (via llama.cpp or Ollama), API keys (OpenAI, Anthropic, Gemini, OpenRouter), or OAuth sign-ins. The agent uses a local ONNX MiniLM model for semantic codebase search, meaning it indexes and searches code by meaning rather than keywords entirely on-device. It employs a set of 25 tools to read, write, and edit files, run shell commands, and perform web searches.
Who it’s for
Developers who want a powerful AI coding assistant in VS Code but require high privacy, offline capabilities, or the flexibility to use their own model providers and subscriptions.
Highlights
- 100% Local AI: Built-in support for llama.cpp and Ollama, enabling fully offline coding.
- Semantic Search: Local codebase indexing and search powered by on-device embeddings.
- Flexible Providers: Supports OAuth sign-ins, API keys, and custom OpenAI-compatible endpoints.
- Agentic Tooling: Includes 25 tools for file manipulation, shell access, and MCP (Model Context Protocol) support.
- Safety Controls: Per-action approval policies with risk heuristics to prevent dangerous commands.
- Multimodal Support: Ability to process images and PDFs directly into the chat context.
Related
- Project
- Project
- Project
- Project
- Dispatch