Open-source alternatives to Cursor

5 free, open-source alternatives with 300.7K total GitHub stars.

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
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
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
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
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