Open-source Cursor alternatives (2026)
Open-source Cursor alternatives in 2026: editor options (Zed, Continue, Cline, Kilo Code) and terminal agents (CodeAF, OpenCode, Aider, Codex CLI).
If you want agents to do whole tasks in parallel from the terminal on any model, the open-source Cursor alternative to pick is CodeAF, AgentField's Apache 2.0 terminal coding agent; if what you want from Cursor is inline completion and an agent inside the editor, pick an open-source editor option such as Zed, Continue, Cline or Kilo Code instead. CodeAF is a terminal agent, not an IDE, and it has no editor extension.
We make CodeAF, so this page does not rank the field. It splits the open-source options into the two kinds of tool Cursor combines, states what each one is from its own pages, and says when to choose it.
At a glance
| Option | Kind | Licence | Where it runs | Local models | Status (2026-11-21) |
|---|---|---|---|---|---|
| Zed | Editor | GPL-3.0-or-later, Apache-2.0 parts (README) | Its own editor | Ollama, LM Studio (pricing) | Active |
| Continue | IDE extension and CLI | Apache 2.0 (repo) | VS Code, JetBrains, cn CLI | Ollama (docs) | Acquired by Cursor; code stays open |
| Cline | IDE extension, CLI, SDK | Apache 2.0 (repo) | VS Code, JetBrains, CLI | Ollama, LM Studio (site) | Active |
| Kilo Code | IDE extension, CLI | MIT (repo) | VS Code, JetBrains, CLI | Ollama, LM Studio (site) | Active |
| Void | Editor (VS Code fork) | Apache 2.0 (repo) | Its own editor | n/a | Deprecated, repo archived |
| Roo Code | IDE extension | Apache 2.0 (repo) | VS Code | n/a | Shut down May 15, 2026 |
| CodeAF | Terminal agent | Apache 2.0 (repo) | Any shell | Ollama, llama.cpp, LM Studio | Early preview |
| OpenCode | Terminal agent, desktop app | MIT (repo) | Terminal, desktop, web | Ollama, LM Studio, vLLM | Active |
| Aider | Terminal pair programmer | Apache 2.0 (repo) | Any shell | Ollama and others | Last commit 2026-05-22 |
| Codex CLI | Terminal agent | Apache 2.0 (repo) | Any shell | --oss with Ollama or LM Studio | Active |
GitHub Copilot is not in the table because it is not open source: the Copilot service is proprietary, and the MIT-licensed VS Code Copilot Chat repository was archived on May 20, 2026, with development moved into the VS Code repository (repo). Its free tier is a real option, covered below.
Which open-source editors replace Cursor?
Zed is the one actively developed open-source editor on this list with AI built in; Void, the best-known open-source Cursor clone, is deprecated. Zed is a code editor written by the creators of Atom and Tree-sitter, licensed primarily under GPL-3.0-or-later (README).
Zed's Personal plan is $0 and includes "unlimited use with your API keys or external agents like Claude Agent, Codex CLI, and more"; Pro is $10 a month with unlimited edit predictions and $5 of tokens included (pricing). It reaches Anthropic, OpenAI, Google, DeepSeek, Mistral, OpenRouter, Ollama and LM Studio, and runs external agents through the Agent Client Protocol (AI docs).
Void's README now opens with "Void is now deprecated" and says it is no longer accepting contributions; the repository is archived and points to community forks (repo). Old releases still download, but an editor with no maintainer is a poor daily driver.
Which open-source extensions add Cursor-style AI to VS Code?
Cline, Kilo Code and Continue are the three maintained open-source extensions that bring an agent into VS Code and JetBrains, and all three take your own keys or a local model. You keep the editor you already use.
- Cline runs in VS Code, JetBrains, Cursor, Windsurf and Zed, and also as a CLI and an SDK. It has a Plan mode to agree a strategy and an Act mode to carry it out, and uses your own provider keys or local Ollama and LM Studio (docs).
- Kilo Code runs in VS Code, JetBrains and a CLI, offers "500+ models, zero markup", and runs local models with Ollama or LM Studio. The platform is free for individuals, and its gateway charges provider rates with no markup (pricing).
- Continue describes itself as an "open source AI code assistant for VS Code and JetBrains", with inline autocomplete and a
cnCLI, and has Ollama and offline guides (docs). Its site says "Continue has been acquired by Cursor" and that the open-source code remains available (site).
Roo Code, a popular Cline fork, shut down on May 15, 2026; its README points users to Zoo Code, a community continuation under Apache 2.0, and to Cline (Roo Code, Zoo Code).
Is VS Code with GitHub Copilot Free a Cursor alternative?
VS Code with GitHub Copilot Free is a free Cursor alternative, but it is not an open-source one. Copilot Free is limited to 2,000 completions a month with automatic model selection only, and Pro costs $10 a month (plans).
If "free" matters more to you than "open source", Copilot Free inside VS Code is the shortest path to Cursor-like completion. If you need to read, fork or self-host the code, or pick your own model, choose one of the extensions above.
Which terminal agents are open-source alternatives to Cursor's agent?
CodeAF, OpenCode, Aider and Codex CLI are open-source terminal agents that cover what Cursor's agent and cloud agents do, without an editor. A terminal agent runs in any shell: a laptop, an ssh box, a container or a CI job, and you keep VS Code, JetBrains or Neovim for editing.
- CodeAF is an open-source terminal coding agent by AgentField that runs any model and many tasks at once, each on its own branch. Every task gets a crew of three seats (worker, planner, checker), and
/senior-devhandles large changes and runs your build and tests before it hands in (senior-dev). Models include OpenRouter, DeepSeek, GLM, Kimi, MiniMax, Qwen, a ChatGPT plan through Codex, Ollama and any OpenAI-compatible endpoint (FAQ). - OpenCode is one agent across the models.dev catalog with
buildandplanagents, plus a desktop app, a web app and an IDE extension (docs). - Aider is a pair programmer: you steer each edit and every change is a git commit you can undo (repo).
- Codex CLI is OpenAI's Apache 2.0 agent, included in ChatGPT plans from Free upward, with custom providers and
--ossfor local models (repo).
Best terminal AI coding agents in 2026 compares these on six criteria.
How do the terminal agents compare on the same model?
On AgentField's DeepSWE comparison, CodeAF in senior-dev mode solved 62 of 113 tasks (54.9%), first of ten harnesses, at the lowest cost per solved issue, 39.9 cents. Every harness ran the same model, deepseek/deepseek-v4-flash-0731 through OpenRouter, with official verifiers and 3 hours per task (DeepSWE).
| Harness | Solved (of 113) | Cost per solved issue |
|---|---|---|
| CodeAF (senior-dev) | 62, 54.9% | 1x (39.9 cents) |
| Codex CLI | 51, 45.1% | 2.1x |
| OpenCode | 30, 26.5% | 4.8x |
| Kilo Code | 30, 26.5% | 4.6x |
Codex CLI ran DeepSeek V4 Flash here, not an OpenAI model. Aider, Cline, Continue and Zed were not in the comparison, and no editor was measured on inline completion, so the table says nothing about which tool completes code faster as you type.
How to choose an open-source Cursor alternative
Choosing comes down to where you want the AI: inside the editor while you type, or in a shell doing whole tasks while you do something else. Many developers run one of each and share one AGENTS.md.
- Choose Zed when you want a fast, actively developed open-source editor with AI built in, your own keys, and external agents in the same window.
- Choose Cline when you want to stay in VS Code or JetBrains with an agent that plans before it acts, on any provider or a local model.
- Choose Kilo Code when you want an open-source extension and CLI with a wide model catalog at provider prices.
- Choose Continue when you want open-source autocomplete and chat in VS Code or JetBrains, including fully offline with Ollama, and accept that its maker now belongs to Cursor.
- Choose VS Code with Copilot Free when free is enough and open source is not a requirement.
- Choose CodeAF when you want agents to do whole tasks in parallel from the terminal on any model, each on its own branch, with a planner and a checker on every task.
- Choose OpenCode when you want one open-source agent across the most providers, with a desktop app as well as the terminal.
- Choose Aider when you want to approve every edit as a git commit.
- Choose Codex CLI when you already pay for ChatGPT and want OpenAI's own open-source agent.
- Skip Void and Roo Code for new setups; both have stopped development.
IDE agents vs terminal agents covers running both kinds on a team.
Questions people ask
What is the best free open-source alternative to Cursor?
For an editor, Zed is free on its Personal plan with your own API keys, and Cline, Kilo Code and Continue are free open-source extensions for VS Code and JetBrains. For a terminal agent, CodeAF, OpenCode and Aider are free software, and you pay only your model provider or run a local model.
Is CodeAF an IDE like Cursor?
No. CodeAF is a terminal coding agent with no IDE extension. It hands each task to its own copy of your folder on its own branch, so you keep editing in whatever editor you use and review the branch when the task is done.
Is Void editor still maintained?
No. Void's README says "Void is now deprecated" and that it is no longer accepting contributions, and the GitHub repository is archived. The code remains open source and the README links to community forks.
What happened to Roo Code?
The Roo Code extension was shut down on May 15, 2026, and its repository is archived. Its README points users to Zoo Code, a community continuation licensed Apache 2.0, and to Cline, the project Roo Code was forked from.
Can I use a Cursor alternative with local models?
Yes. Zed, Cline, Kilo Code and Continue all work with Ollama, and most also with LM Studio. Among terminal agents, CodeAF works with Ollama, llama.cpp and LM Studio, OpenCode with Ollama, LM Studio and vLLM, and Codex CLI through --oss.
Is GitHub Copilot open source?
The Copilot service is not open source. The VS Code Copilot Chat extension was published under MIT, but that repository was archived on May 20, 2026, and development moved into the VS Code repository. Copilot Free gives 2,000 completions a month.
Sources
- CodeAF: README (v0.8.3, released 2026-11-19), FAQ, senior-dev, DeepSWE results. Checked 2026-11-21.
- Zed: README and licence, pricing, AI docs. Checked 2026-11-21.
- Continue: repo, docs, site. Checked 2026-11-21.
- Cline: repo, overview, site. Checked 2026-11-21.
- Kilo Code: repo, site, pricing. Checked 2026-11-21.
- Void: repo. Roo Code: repo. Zoo Code: repo. Checked 2026-11-21.
- GitHub Copilot: plans, vscode-copilot-chat. Checked 2026-11-21.
- OpenCode: repo, docs. Aider: repo. Codex CLI: repo. Checked 2026-11-21.
Last updated 2026-11-21.