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.

Screenshot of Tabby website

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.

Screenshot of Kilo Code website

Kilo Code covers inline completions alongside agent-driven edits, planning and debugging in existing IDEs. Choose local models or bring provider keys instead of relying on Copilot’s bundled model access.

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

Screenshot of Twinny website

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.

Screenshot of Zed website

Zed suits developers willing to switch editors for parallel AI agents and shared editing. Agents can explore code, edit files and run tools, while teammates can collaborate in the same project. The desktop editor itself runs on your machine.

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.

Screenshot of Cline website

Choose Cline for an agent that reads your project, edits files and responds to compiler or linter output. It supports local models through Ollama and LM Studio, with diffs and checkpoints for reviewing changes.

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.

Screenshot of CodeGPT website

CodeGPT suits GitHub Copilot users keeping VS Code, JetBrains or Visual Studio. Its agent reads the codebase, proposes an editable plan and shows suggested changes before approval. Choose local models through Ollama or LM Studio, or bring keys for hosted providers.

An AI coding assistant for Neovim with Ollama support, inline code edits, and connections to CLI agents such as Claude Code and Codex.

Screenshot of codecompanion.nvim website

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.

6.9KApache-2.0

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.

18KApache-2.0Windows

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.

3.6KGPL-3.0

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

Screenshot of Aider website

Aider covers Copilot-style repository changes from the terminal. Its codebase map, Git commits and ability to run checks suit coordinated edits; it is not an inline autocomplete replacement.

50KApache-2.0macOSWindowsLinux

A VS Code coding assistant provides local code completion through llama.cpp, AI chat, and an agent that can use MCP tools.

Use your own model server for editor completion, chat and agentic coding in VS Code. Feature support depends on the model and configuration; it replaces the assistant integration rather than GitHub’s wider hosted workflow.

An open-source AI coding assistant brings chat, rewrites and completion to multiple editors, with Ollama local models or cloud providers.

Screenshot of ECA website

ECA supplies AI chat, code rewrites, completions and configurable agents through editor clients such as VS Code, Emacs and IntelliJ. Run its server locally and choose Ollama or a cloud model provider.

1.1KApache-2.0macOSVS CodeJetBrains

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.

963GPL-3.0

An AI plugin brings chat and code editing to Neovim, with offline models through Ollama and support for Claude, Gemini and OpenAI APIs.

gp.nvim provides requested code completions, edits and saved AI chats inside Neovim. Choose local Ollama or LM Studio, or configure a cloud provider; it focuses on prompt-driven editing rather than continuous Copilot-style suggestions.

1.3KMITmacOSLinux

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.

792

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.

1.5KUnlicense

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.

686Apache-2.0

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.

People also replace

See all