OpenCursor
An open-source AI coding agent for VS Code that works with Ollama, llama.cpp and hosted models, with code search and edit review.
OpenCursor is an AI coding assistant for developers who want an agent inside VS Code with a choice of local or hosted models. It can investigate a codebase and carry out changes under permissions you control.
- Coding and review: The agent can edit files, run terminal commands and check browser behavior; you can inspect individual changes and keep or undo them. Read-only questions and planning have separate modes.
- Model choice: Use Ollama or llama.cpp with GGUF models, connect accounts such as Claude Code and OpenAI Codex, or bring OpenAI-compatible and Anthropic-compatible endpoints.
- Code and documentation search: Search combines meaning with text matches, includes unsaved editor content and supports indexed documentation as context. Local embeddings are the default.
- Task control: Follow tool activity, steer or interrupt an active task, queue requests and delegate independent work to subagents.
- Workflow extensions: Add workspace rules and reusable skills, connect local or remote MCP tools, and use isolated Git worktrees for separate tasks.
OpenCursor is open source under the MIT License. Local coding and code search can work offline after the required models and runtimes have downloaded. Web search, online documentation fetching and remote integrations need their respective services.
The extension stores conversations, drafts, indexes and edit-recovery data locally, with credentials in VS Code SecretStorage. Hosted models and embedding services receive the context needed for their requests.