- Protocol
- ACP
- Type
- Tool
- Stars
- 6.9k
- License
- Apache-2.0
- Last push
- Nov 8, 2026
About CodeCompanion
CodeCompanion is an open-source ACP tool by olimorris, written mainly in Lua. Neovim AI coding plugin with built-in ACP support. It has 6,929 GitHub stars and uses the Apache-2.0 license, and its code was last pushed on Nov 8, 2026.
New to ACP? Our ACP Protocol guide explains how it works and lists other projects built on it.
At a glance
- Protocol
- ACP
- Type
- Tool
- Language
- Lua
- License
- Apache-2.0
- GitHub stars
- 6,929
- Last push
- Nov 8, 2026
Listed from public GitHub data, checked 2026-11-08. Not scanned by AgenticMart.
Questions about CodeCompanion
What is CodeCompanion?
Neovim AI coding plugin with built-in ACP support It is listed as a ACP tool, maintained in the olimorris/codecompanion.nvim repository on GitHub.
How do I install CodeCompanion?
The README in olimorris/codecompanion.nvim has the setup steps. Clone the repository with git clone https://github.com/olimorris/codecompanion.nvim.git and follow its instructions.
Is CodeCompanion an official ACP project?
No. It is a community project built on ACP, not published by the organisation that runs the protocol.
What license does CodeCompanion use?
It is published under the Apache-2.0 license. Check the license file in the repository before using it commercially.
Is CodeCompanion still maintained?
Its code was last pushed on Nov 8, 2026, and it had 6,929 GitHub stars when we checked on 2026-11-08. Look at recent issues and releases in the repository for a fuller picture.
README
:purple_heart: Sponsors
Thank you to the following people:
<p align="center"> <!-- sponsors --><a href="https://github.com/Alexander-Garcia"><img src="https://github.com/Alexander-Garcia.png" width="60px" alt="User avatar: Alexander Garcia" /></a><a href="https://github.com/pixlmint"><img src="https://github.com/pixlmint.png" width="60px" alt="User avatar: Christian Gröber" /></a><a href="https://github.com/itskyedo"><img src="https://github.com/itskyedo.png" width="60px" alt="User avatar: Kyedo" /></a><a href="https://github.com/jsit"><img src="https://github.com/jsit.png" width="60px" alt="User avatar: Jay Sitter" /></a><a href="https://github.com/harrisoncramer"><img src="https://github.com/harrisoncramer.png" width="60px" alt="User avatar: Harrison (Harry) Cramer" /></a><!-- sponsors --> </p> <p align="center">If <i>you</i> love CodeCompanion and use it in your workflow, please consider <a href="https://github.com/sponsors/olimorris">sponsoring me</a></p> <!-- panvimdoc-ignore-end -->:sparkles: Features
- :speech_balloon: Copilot Chat meets Zed AI, in Neovim
- :zap: Integrates Neovim with LLMs and Agents in the CLI
- :electric_plug: Support for LLMs from Anthropic, DeepSeek, Google Gemini, GitHub Copilot, Kimi, Mistral, Novita, Ollama, OpenAI, Azure OpenAI, OpenRouter, Hugging Face and xAI out of the box (or bring your own)
- :robot: Support for Agent Client Protocol, enabling coding with agents like Augment Code, Cagent from Docker, Claude Code, Codex, Copilot CLI, Gemini CLI, Goose, Cursor CLI, Kimi CLI, Kiro, Mistral Vibe and OpenCode
- :heart_hands: User contributed and supported adapters
- :man_technologist: Code reviews enabling you to comment on and approve/reject agent code
- :battery: Support for Model Context Protocol (MCP)
- :rocket: Inline transformations, code creation and refactoring
- :art: Editor Context, Slash Commands, Agents/Tools and Workflows to improve LLM output
- :brain: Support for skills and rules (like
CLAUDE.md,.cursor/rulesand your own custom ones) - :sparkles: Built-in prompt library for common tasks like advice on LSP errors and code explanations
- :building_construction: Create your own custom prompts, Editor Context and Slash Commands
- :inbox_tray: Have multiple chats open at the same time
- :art: Support for images and PDFs as input
- :muscle: Async execution for fast performance
:camera_flash: In Action
<div align="center"> <p> <h3><a href="https://github.com/user-attachments/assets/3cc83544-2690-49b5-8be6-51e671db52ef">The Chat Buffer</a></h3> <video controls muted src="https://github.com/user-attachments/assets/3cc83544-2690-49b5-8be6-51e671db52ef"></video> </p> <p> <h3><a href="https://github.com/user-attachments/assets/362b7cfd-e794-4d9c-9a74-90d5e2a87a32">Tools + Agentic Workflows</a></h3> <video controls muted src="https://github.com/user-attachments/assets/362b7cfd-e794-4d9c-9a74-90d5e2a87a32"></video> </p> <p> <h3><a href="https://github.com/user-attachments/assets/942f2868-db57-4a33-86f8-1dbfe904df07">Inline Interaction</a></h3> <video controls muted src="https://github.com/user-attachments/assets/942f2868-db57-4a33-86f8-1dbfe904df07"></video> </p> </div> <!-- panvimdoc-ignore-end -->:rocket: Getting Started
Everything you need to know about CodeCompanion (installation, configuration and usage) is within the docs.
You can use the @{search_help} tool to ask an LLM to search the CodeCompanion docs for you.
:toolbox: Troubleshooting
Before raising an issue, there are a number of steps you can take to troubleshoot a problem:
Checkhealth
Run :checkhealth codecompanion and check all dependencies are installed correctly. Also take note of the log file path.
Turn on logging
Update your config and turn debug logging on:
-- lazy.nvim
{
"olimorris/codecompanion.nvim",
dependencies = {
"nvim-lua/plenary.nvim",
"nvim-treesitter/nvim-treesitter",
},
opts = {
-- NOTE: The log_level is in `opts.opts`
opts = {
log_level = "DEBUG", -- or "TRACE"
},
},
},
-- Other package managers
require("codecompanion").setup({
opts = {
log_level = "DEBUG", -- or "TRACE"
}
})
and inspect the log file as per the location from the checkhealth command.
Try with a minimal.lua file
A large proportion of issues which are raised in Neovim plugins are to do with a user's own config. That's why I always ask users to fill in a minimal.lua file when they raise an issue. We can rule out their config being an issue and it allows me to recreate the problem.
For this purpose, I have included a minimal.lua file in the repository for you to test out if you're facing issues. Simply copy the file, edit it and run neovim with nvim --clean -u minimal.lua.
:gift: Contributing
I am open to contributions but they will be implemented at my discretion. Feel free to open up a discussion before embarking on a PR and please read the CONTRIBUTING.md guide.
:clap: Acknowledgements
- Steven Arcangeli for his genius creation of the chat buffer and his feedback early on
- Wtf.nvim for the LSP assistant action
- CopilotChat.nvim for the rendering and usability of the chat buffer
- Aerial.nvim for the Tree-sitter parsing which inspired the symbols Slash Command
- Saghen for the fantastic docs inspiration from blink.cmp and continued PRs to the project
- Catwell for the queue inspiration that I use to stack agents and tools
- bassamsdata for the amazing
insert_edit_into_filetool (the list is endless) and ongoing contributions to this project - ravitemer for the fantastic extensions API
- Davidyz for his continued, excellent contributions that keep CodeCompanion going
- Conrad Irwin, Agus Zubiaga and Morgan Krey from Zed Industries for their support in implementing ACP
- Sidekick.nvim for the diff and terminal input inspiration
More ACP projects
All 20 →Agent Client Protocol
Specification, schema and Rust crate for connecting editors to agents
Jupyter AI
JupyterLab extension that integrates coding agents through ACP
Toad
Terminal interface for AI coding agents that speaks ACP