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.
An open-source Emacs LLM client that connects to Ollama, llama.cpp and cloud providers, with editable chat files and MCP tool use. GPL-3.0 licensed.
gptel covers Copilot's code-chat and requested-refactor workflow for Emacs users. Conversations use ordinary buffers and files, proposed rewrites can be reviewed as diffs, and local model connections are available.
An open-source terminal coding assistant that edits projects with local or cloud LLMs, maps codebases and commits changes to Git.

A VS Code coding assistant provides local code completion through llama.cpp, AI chat, and an agent that can use MCP tools.
An open-source AI coding assistant brings chat, rewrites and completion to multiple editors, with Ollama local models or cloud providers.

An Emacs AI assistant connects to Ollama and cloud APIs for chat, text editing and coding agents, with saved sessions and project context.
Ellama brings code generation, revisions, review and tool-using coding agents into Emacs. It can use Ollama and other local backends or configured cloud providers; the workflow stays inside Emacs rather than a Copilot extension.
An AI plugin brings chat and code editing to Neovim, with offline models through Ollama and support for Claude, Gemini and OpenAI APIs.
A Neovim AI plugin edits text and saves chats in Markdown, with support for offline Ollama models, cloud APIs and external agents.
parrot.nvim handles requested code generation, selected-text edits and saved chats inside Neovim, using Ollama or cloud APIs. It also connects external agents through ACP; it does not supply automatic ghost-text completion.
A Neovim plugin generates and edits text with Ollama models, customizable prompts, and follow-up chats using your editor's content.
gen.nvim applies customizable Ollama prompts to selected text or a Neovim buffer for code fixes and generation. It offers local, on-demand editing and response review rather than automatic inline suggestions.
An Emacs coding assistant connects Aider to your editor for code changes, tests and reviews, with support for local models and cloud APIs.
aider.el connects Aider coding conversations to Emacs files, Git changes, tests and reviews. Its model backend comes from Aider, including local models and cloud APIs; this is a conversational editing workflow inside Emacs.
For GitHub Copilot, start with Tabby. Other alternatives include Kilo Code, Twinny, Zed and Cline.
Most are Code Completion and IDE Extensions; others include AI Code Review.