Cursor alternatives for coding with your own models
Compare Cline, OpenCode and Goose for coding with your choice of model. See which fits an existing editor, terminal or desktop agent workflow.
Cursor combines an AI coding agent with an editor, so developers can ask about a project and make changes without leaving their coding workspace. Its cloud agents extend that work beyond an interactive editing session. People comparing Cursor alternatives often want to keep their editor while choosing a different model provider.
Cline brings reviewable changes and planning into existing editors, with local models through Ollama or LM Studio. OpenCode offers terminal, IDE and desktop entry points, including a planning agent for exploration. Goose adds a desktop or command-line agent with connected tools. The choice here is where the agent lives and how it reaches the model.
A desktop AI code editor for macOS, Linux and Windows that connects to Ollama, llama.cpp and LM Studio for coding assistance with local models.

Zed replaces the editor part of Cursor as well as its AI workspace. Its Agent and Inline Assistant can use local model servers, and agents can explore projects, edit files and run tools in parallel. Shared editing and project chat support collaboration; edit prediction has a separate setup.
An open-source AI coding agent for VS Code, JetBrains, and the CLI, with local model support, hosted model access, and an MIT license.

An open-source AI coding agent for editors, terminal and desktop, with local models through Ollama or LM Studio and an Apache 2.0 core.

An open source AI coding agent works in your terminal or IDE with local models or cloud models including Claude, GPT and Gemini.

An open-source AI coding assistant for VS Code with local or hosted models, inline edits, code review and a self-hosted team gateway.

An AI coding assistant for VS Code, JetBrains and Visual Studio that connects to local models through Ollama or LM Studio and cloud models with your API keys.

An AI coding assistant for Neovim that applies suggested edits to files and supports local models through Ollama or llama-cpp.
avante.nvim brings code questions and proposed file edits into Neovim. Repository maps, selected files and diagnostics supply context, while you review and apply changes in your existing editor.
An AI coding assistant for Neovim with Ollama support, inline code edits, and connections to CLI agents such as Claude Code and Codex.

codecompanion.nvim supports inline generation, refactoring and code conversations in Neovim buffers. You can bring project context into a chat and approve or reject changes from connected coding agents.
A local-first AI coding workspace for macOS, Windows and Linux that connects to local or cloud models and coordinates parallel agents.

An open-source terminal coding assistant that edits projects with local or cloud LLMs, maps codebases and commits changes to Git.

For Cursor, start with Zed. Other alternatives include Kilo Code, Cline, OpenCode and Twinny.
Most are Code Completion and IDE Extensions; others include Terminal Coding Agents.
