About Codecompanion.Nvim
CodeCompanion.nvim is an open source plugin that brings AI assisted coding into Neovim. It lets developers chat with large language models in a dedicated buffer, write model output directly into existing buffers through inline transformations, and drive command line coding agents without leaving the editor. The project describes it as combining the ideas of Copilot Chat and Zed AI in a Vim style workflow.
It is for Neovim users who want model and agent access that fits their existing editor habits. Adapters connect it out of the box to Anthropic, DeepSeek, Google Gemini, GitHub Copilot, GitHub Models, Mistral, Ollama, OpenAI, Azure OpenAI, OpenRouter, Hugging Face, xAI and others, and users can write their own adapters with specific models and parameters. Support for the Agent Client Protocol lets it work with agents such as Claude Code, Codex, Goose, Kiro and OpenCode, and a code review feature allows comments on and approval or rejection of agent changes. It also supports the Model Context Protocol, editor context, slash commands, tools and workflows, a built in prompt library, custom prompts, skills and rules files such as CLAUDE.md, multiple simultaneous chats, image and PDF input, and asynchronous execution.
CodeCompanion.nvim is free and released under the Apache 2.0 license. Users pay only for whichever model provider or agent they connect, or run local models at no cost.
The project is developed on GitHub by Oli Morris, with actively maintained documentation that includes an LLM friendly text version of the docs.