codecompanion.nvim
Neovim plugin for chatting with LLMs and ACP coding agents
CodeCompanion is a Lua plugin that adds a chat buffer, inline code transformations and an action palette to Neovim. It talks to hosted and local LLMs (Anthropic, OpenAI, Gemini, Copilot, Ollama and others) and to CLI agents such as Claude Code, Codex and Gemini CLI through the Agent Client Protocol. It also supports MCP servers, skills, rules files and custom prompts.
Strengths
- Built-in adapters for 13 LLM providers, plus a documented custom adapter API
- ACP support connects Claude Code, Codex, Gemini CLI, Goose, OpenCode and others inside Neovim
- Also supports MCP, skills, and rules files like CLAUDE.md and .cursor/rules
- Review agent edits with comments and approve/reject; multiple chats; image and PDF input
Weaknesses
- Neovim only; no standalone or other-editor version
- Requires plenary.nvim and nvim-treesitter as dependencies
- Contributions accepted at the maintainer's discretion; one primary maintainer
- Install and configuration live in external docs, not the README
- no GPU
- Docker
- Needs Neovim, plenary.nvim, nvim-treesitter
- Models: Anthropic, OpenAI, Azure OpenAI, Google Gemini, GitHub Copilot