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 a centralized AI coding agent directly within VS Code, allowing developers to automate file edits, terminal commands, and code exploration while maintaining full control over the changes being applied to their workspace.

How it works

The extension integrates into the VS Code sidebar, where you can connect various AI models—ranging from hosted services like OpenAI and Anthropic to local models running via Ollama or llama.cpp. You interact with the agent through a chat interface, providing context by mentioning files, folders, or terminal output. The agent can then perform tasks, and you review its proposed changes hunk-by-hunk before choosing to accept or undo them.

Who it’s for

It is designed for developers who want an AI-powered coding assistant that supports flexible model selection, works with both cloud-based and local infrastructure, and provides granular control over agent permissions and code modifications.

Highlights

  • Flexible Model Support: Connect to major API providers, use custom endpoints, or run models entirely offline with local inference.
  • Workspace Awareness: Chat with the agent about specific files, Git context, documentation, and terminal output.
  • Controlled Execution: Review all file edits and tool actions before they are applied to your project.
  • Advanced Modes: Switch between different operational modes like Agent, Plan, or Project to suit your current workflow.
  • Local Indexing: Create a searchable local index of your codebase and documentation for more accurate, context-aware responses.

Related

  • Project
  • Project
  • Project
  • Project
  • Project