Open-source alternatives to Cursor

6 free, open-source alternatives with 335.7K total GitHub stars. The best open-source alternative to Cursor is OpenCode, with 167.3K GitHub stars.

Updated July 2026Stats synced from GitHub
#1
OpenCode

OpenCode

Open-source, provider-agnostic AI coding agent for terminal, desktop, and IDE.

MIT-licensed alternative to Claude Code. Switch between 75+ LLM providers, run Build/Plan agents, and keep code local — terminal, desktop, or IDE extension.

aicoding-agentterminal
167.3K19.9KMIT
vs Claude Code
Read more
#2
Zed

Zed

High-performance multiplayer code editor in Rust — GPU-accelerated, AI-native, built for speed.

Open-source alternative to VS Code from the Atom and Tree-sitter team. Real-time collaboration, native AI agents, built-in Git, and parallel agentic editing — macOS, Linux, and Windows.

code-editoriderust
84.1K8.8KGPL-3.0
vs VS Code
Read more
#3
Multica

Multica

Universal AI agent framework — 50+ service integrations.

MIT-licensed agent platform with API, database, email, calendar, and cloud storage connectors. Multi-step workflows with memory and error recovery.

aicodingagents
35K0MIT
vs GitHub Copilot
Read more
#4
Void

Void

Open-source Cursor alternative — VS Code fork with direct LLM access and no proprietary backend.

Apache-2.0 AI code editor with Agent/Gather modes, Tab autocomplete, and Ollama support. Your code goes straight to the provider — not through Void servers.

privacyaicode-editor
28.8K2.5KApache-2.0
vs Cursor
Read more
#5
Kilo

Kilo

Open-source agentic engineering platform — 500+ models in VS Code, JetBrains, and CLI.

MIT-licensed alternative to Cursor. Architect, Coder, and Debugger modes with MCP marketplace, browser automation, and optional API keys via Kilo Gateway.

aicode-editorvscode-fork
19.7K2.6KMIT
vs Cursor
Read more
#6
PearAI

PearAI

Open-source AI code editor — VS Code fork with Continue-based chat and model router.

Apache-2.0 alternative to Cursor. Local codebase context, BYOK or PearAI Router subscription, familiar VS Code experience with integrated AI.

aicode-editorvscode-fork
74765Apache-2.0
vs Cursor
Read more

Compare Cursor alternatives

ToolStarsForksLicenseSelf-hosted
OpenCode167.3K19.9KMITYes
Zed84.1K8.8KGPL-3.0No
Multica35K0MITYes
Void28.8K2.5KApache-2.0Yes
Kilo19.7K2.6KMITNo
PearAI74765Apache-2.0No

Cursor is a proprietary AI-powered code editor built as a VS Code fork. It bundles model access into a subscription, which is convenient but ties you to Cursor's pricing and credit system, and the AI backend isn't open for inspection or self-hosting.

Open-source alternatives give you AI-assisted coding without that lock-in. Void is the closest match to Cursor specifically, since it's a VS Code fork built around the same workflow. OpenCode instead works across terminal, desktop, and IDE rather than being tied to one editor.

Since these tools mostly bring your own model (OpenAI, Anthropic, or local), factor in API costs separately from the editor itself — the open-source part removes subscription lock-in, not model usage costs.

FAQ

Is there a free, open-source alternative to Cursor?

Yes. OpenCode, Void, Zed, and Kilo are all open source. You still pay for whichever AI model API you connect them to, unless you use local models.

What's the best open-source alternative to Cursor?

Void is the closest match to Cursor specifically. OpenCode is the better pick if you want one agent that works across terminal, desktop, and IDE rather than a single editor.

Can I use my own AI model with an open-source Cursor alternative?

Yes, that's the main draw. OpenCode, Void, and Kilo all support bringing your own API keys or connecting to local models, rather than locking you into one provider.

What are the top open-source alternatives to Cursor?

Browse all open-source alternatives to Cursor above, or explore the full Developer Tools category for more options.

Explore more alternatives