GitHub Copilot alternatives with local models
Compare Cline, Tabby and Zed for coding assistance. Keep your editor, host your own assistant or switch to an editor built around agents.
GitHub Copilot brings code completion, chat and coding agents into editors and GitHub. It fits into the place where you already write code. If you're looking for GitHub Copilot alternatives, keeping that editor may matter as much as choosing a different model.
Tabby connects your editor to an assistant hosted on your own infrastructure. Cline suits larger tasks where you want an agent to read the project, make edits and show the changes for review; it can use Ollama or LM Studio for local inference. Zed is worth a look if you also want a different editor, with agents and shared editing built into the workspace.
A self-hosted AI coding assistant that provides code completion and editor chat, supports consumer GPUs, and needs no cloud service or separate database.

Tabby directly replaces GitHub Copilot completion and editor chat with a server you operate. Its Answer Engine and inline chat bring explanations into supported editors, alongside code suggestions. This is the completion-focused option for teams hosting their own assistant.
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 assistant for VS Code with local or hosted models, inline edits, code review and a self-hosted team gateway.

Twinny suits replacing GitHub Copilot completions and repository chat while keeping VS Code. Review inline edit diffs, ask about files and diagnostics, or inspect Git changes. Completion and chat can use separate local or hosted backends, with a self-hosted gateway for team models.
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.

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 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 with Ollama support, inline code edits, and connections to CLI agents such as Claude Code and Codex.

codecompanion.nvim suits Neovim users who want requested code generation, selection rewrites and help with language-server errors. It supports Ollama and can connect to coding agents through ACP for larger tasks.
An AI coding assistant for Neovim that applies suggested edits to files and supports local models through Ollama or llama-cpp.
avante.nvim covers GitHub Copilot-style code questions and edits inside Neovim. Add selected files, buffers and diagnostics as context, then apply proposed changes. Ollama and llama-cpp support local model use; external ACP agents have their own model setup.
For GitHub Copilot, start with Tabby. Other alternatives include Kilo Code, Twinny, Zed and Cline.
Most are Code Completion and IDE Extensions; others include Terminal Coding Agents.
