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 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

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.

People also replace

See all