CodeCompanion.nvim
An AI coding plugin for Neovim with chat, inline edits and agent tools that can read files, run commands and edit code, working with Anthropic, OpenAI, Copilot, Ollama and other providers.
Updated
✨ Try AgentScout's free AI image generator →Good for: writing code
Use cases
About CodeCompanion.nvim
CodeCompanion.nvim is listed in our coding category and is aimed at builders. An AI coding plugin for Neovim with chat, inline edits and agent tools that can read files, run commands and edit code, working with Anthropic, OpenAI, Copilot, Ollama and other providers. Pricing, as the maker states it: Open source. Maturity: Mature. We last checked the official link on 2026-12-01.
What is CodeCompanion.nvim?
CodeCompanion is a Neovim plugin that brings AI chat, inline editing and agentic workflows into the editor, combining ideas from Copilot Chat and Zed AI.
It supports many model providers out of the box, including Anthropic, OpenAI, Gemini, GitHub Copilot, DeepSeek, Mistral, Ollama, OpenRouter and xAI, plus custom adapters. Through the Agent Client Protocol it can also drive CLI agents such as Claude Code, Codex, Gemini CLI, Goose, Cursor CLI and OpenCode, and it supports MCP tools.
Sources: the official README and our directory listing, checked 2026-11-08. Official site: codecompanion.olimorris.dev.
Who is CodeCompanion.nvim for?
Neovim users who want an AI pair programmer and coding agents inside their editor without switching to a separate IDE.
CodeCompanion.nvim at a glance
- Open source: Yes (Apache-2.0)
- GitHub: olimorris/codecompanion.nvim · 6,964 stars (as of Dec 2, 2026)
- Status: Latest release v20.0.1 (2026-10-17)
Key features
- Chat buffer and inline edits inside Neovim
- Adapters for Anthropic, OpenAI, Gemini, Copilot, Ollama, OpenRouter, xAI and more
- Agent Client Protocol support for Claude Code, Codex, Gemini CLI, OpenCode and others
- Model Context Protocol (MCP) support
- Tools that let the model read files, run commands and edit code
- Bring-your-own adapters for other providers
CodeCompanion.nvim FAQ
What is CodeCompanion.nvim?
CodeCompanion is a Neovim plugin that brings AI chat, inline editing and agentic workflows into the editor, combining ideas from Copilot Chat and Zed AI.
Who is CodeCompanion.nvim for?
Neovim users who want an AI pair programmer and coding agents inside their editor without switching to a separate IDE.
Is CodeCompanion.nvim free?
CodeCompanion.nvim's pricing, as the maker states it: Open source. Open-source tools are free to use, though you may still pay for model API usage or a hosted plan. Check the official site for current plans.
Is CodeCompanion.nvim open source?
Yes. CodeCompanion.nvim is released under Apache-2.0, according to its GitHub repository.
Does CodeCompanion work with Claude Code?
Yes. It supports the Agent Client Protocol, which lets it drive Claude Code, Codex, Gemini CLI and other CLI agents from Neovim.
Which models can CodeCompanion use?
Anthropic, OpenAI, Gemini, GitHub Copilot, DeepSeek, Mistral, Ollama, OpenRouter, Hugging Face, xAI and others, or any provider via a custom adapter.
What are alternatives to CodeCompanion.nvim?
Similar tools include Cline, opencode, Command Code, Mirror CLI, Termish and TRAE.
CodeCompanion.nvim ratings and reviews
Be the first to rate CodeCompanion.nvim: tap 1 to 5 stars below. A written review is optional.
CodeCompanion.nvim alternatives
Other coding tools in our directory. See all coding tools →
Cline
Cline is an Apache-2.0 open-source coding agent that runs as a VS Code extension, a JetBrains plugin, a macOS and Windows desktop app, a CLI (npm i -g cline, interactive or headless for CI) and an SDK for building your own agents. It creates and edits files, runs commands, browses the web and uses MCP tools with human-in-the-loop approval for each step, and works with the model provider of your choice.
opencode
OpenCode is an MIT-licensed open-source AI coding agent for the terminal, with a beta desktop app, that works with many model providers instead of locking you to one. Install it with a one-line script, npm, Homebrew, pacman, mise or Nix, then let it read your repository, edit files and run commands from a keyboard-driven TUI.
Command Code
Coding agent built for open models.
Mirror CLI
Reflection AI's terminal coding agent that reads code, edits files and runs commands in isolated git worktrees, using the open-weight Beam model by default.
Termish
Open source mobile SSH/Mosh terminal for Android and iOS with Herdr integration, SFTP files, remote screen, and native agent chat for Codex-style workflows.
TRAE
AI coding IDE and agent that works alongside you in your editor to write, edit and run code.