Skip to main content

CodeCompanion.nvim

Neovim plugin for coding with LLMs and agents: chat, inline edits, code review of agent changes and MCP tools.

Try free
Rate it

Is CodeCompanion.nvim free?

Yes, CodeCompanion.nvim has a free plan. What you get: Free Neovim plugin; use Copilot Free, your own LLM key or a local model. Watch out: defaults to GitHub Copilot, so set another adapter if you don't have Copilot. Verified on codecompanion.olimorris.dev.

Free plan at a glance

Includes
  • Free Neovim plugin; use Copilot Free, your own LLM key or a local model

Free and open source under Apache-2.0. Model use depends on what you connect: a Copilot plan (Free and Student included), your own API key, or a local model with no key.

Duration
Free forever
Commercial use
Allowed on the free plan

How to get it free

Self-host
  1. Install codecompanion.nvim with plenary.nvim using vim.pack, lazy.nvim or packer
  2. Choose an adapter: Copilot sign-in, an API key, a local Ollama model or an agent
  3. Run :CodeCompanionChat in a project file

Good to know

  • Defaults to GitHub Copilot, so set another adapter if you don't have Copilot
Get the free plan

codecompanion.olimorris.dev, Checked Source

Overview

CodeCompanion.nvim is a Neovim plugin, open source under Apache-2.0, with an LLM chat buffer and inline edits. It runs agents such as Claude Code and Codex over the Agent Client Protocol. It defaults to GitHub Copilot, including Copilot Free, and also works with API keys or local Ollama models.

Key features

  • Chat buffer for talking to an LLM or an agent about your code
  • Inline edits that write the LLM's response into the buffer, shown as a diff first
  • Agents such as Claude Code, Codex, Gemini CLI and OpenCode over the Agent Client Protocol
  • Code review to accept, revert or comment on each change an agent made
  • Tools, MCP servers, editor context such as LSP diagnostics, and a prompt library
  • Images and PDFs as input, and several chats open at once

Best for

People
Neovim users who want Copilot Chat-style AI in their editor, Developers who run Claude Code or Codex and want them inside Neovim, Developers who keep code local with Ollama

Limitations

  • Uses GitHub Copilot by default, so without Copilot you set up an API key, local model or agent
  • Small local models are slower and less reliable at tool calling
  • Needs Neovim 0.12 or later and plenary.nvim

Screenshot

CodeCompanion.nvim screenshot, as published by CodeCompanion.nvim
Image published by CodeCompanion.nvim

FAQ

Is CodeCompanion.nvim free?
Yes. CodeCompanion.nvim has a free plan. That's from codecompanion.olimorris.dev, checked on October 24, 2026.
How do I get CodeCompanion.nvim for free?
Install codecompanion.nvim with plenary.nvim using vim.pack, lazy.nvim or packer. Then choose an adapter: Copilot sign-in, an API key, a local Ollama model or an agent. Finally, run :CodeCompanionChat in a project file. Start at codecompanion.olimorris.dev/installation. We last checked these steps on October 24, 2026.
Do I need an account to use CodeCompanion.nvim for free?
Not for the free option: the free way to use CodeCompanion.nvim is to host it yourself. To start, install codecompanion.nvim with plenary.nvim using vim.pack, lazy.nvim or packer (checked October 24, 2026).
What's the catch with CodeCompanion.nvim's free plan?
One thing to know: Defaults to GitHub Copilot, so set another adapter if you don't have Copilot (checked October 24, 2026).
What are free alternatives to CodeCompanion.nvim?
GitHub Copilot, Kilo Code and Zed all have free plans. We checked their free offers between November 16, 2026 and November 17, 2026.
Does CodeCompanion work with GitHub Copilot Free?
Yes. If you have Copilot Free or Student, there is nothing to configure beyond signing in. On those plans the model is auto, which lets Copilot pick.Source: codecompanion.olimorris.dev/guides/choosing-an-adapter
Can CodeCompanion run local models?
Yes. It ships with an Ollama adapter, and a local model keeps your code on your machine and needs no API key. It can also reach llama.cpp and LM Studio through openai_compatible.Source: codecompanion.olimorris.dev/guides/running-local-models
Can I use Claude Code or Codex in CodeCompanion?
Yes. Agents such as Claude Code and Codex connect over the Agent Client Protocol and work in the chat buffer; they can bill against an existing subscription such as Claude Pro.Source: codecompanion.olimorris.dev/guides/choosing-an-adapter

Free alternatives

More free AI Coding Assistants tools

All free AI Coding Assistants tools

Sources

Added by our team. We check that a free option exists and record the date; signing up is between you and CodeCompanion.nvim, so read their privacy policy and terms first.

Is this your tool? Claim it · Promote it