CodeCompanion.nvim
Tool · Free
A Neovim plugin for talking with models and agents directly in the editor. Supports several providers, ACP, and MCP, including Codex as an external agent.

What you can use for free
The plugin is free; payment depends on the chosen model, API, or external agent subscription.
Access and limitations
The plugin is free; payment depends on the chosen model, API, or external agent subscription. Your own local provider may remove cloud costs, but requires separate setup.
Use cases
- Use Codex from Neovim through ACP
- Discuss and change code in the editor
Example workflow
A possible workflow; this is not a report of hands-on testing.
Example workflow with CodeCompanion.nvim: Use Codex from Neovim through ACP.
Before you start
- A repository, a description of one change, and a reproducible example of the expected behavior.
- Project context: affected files, constraints, and the established validation method.
Steps
- For the task “Use Codex from Neovim through ACP”: open the relevant project and let the agent inspect the affected implementation before making changes.
- Set a bounded task with completion criteria; review the proposed changes and how they address the requirement.
- Run the appropriate project checks and compare behavior before and after the change.
Check your result
- The change solves the stated task and does not touch unrelated files unnecessarily.
- Investigate check failures; review generated code, configuration, and data access permissions.
Choosing CodeCompanion.nvim
Use Codex from Neovim through ACP
Choose this when
- Use Codex from Neovim through ACP
- Discuss and change code in the editor
Consider alternatives when
- When choosing for this topic, compare CodeCompanion.nvim with avante.nvim. A candidate to compare under the topic: Context and memory, AI editors and extensions. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together.
Requirements
- Neovim and a configured supported model adapter, or an installed ACP agent.
Things to consider
- Access terms: The plugin is free; payment depends on the chosen model, API, or external agent subscription. Your own local provider may remove cloud costs, but requires separate setup.
- Terms of use: Apache-2.0.
- The plugin's Apache-2.0 license does not include pricing for the connected coding agent or API.
Frequently asked questions
What can you use for free in CodeCompanion.nvim?
The plugin is free; payment depends on the chosen model, API, or external agent subscription.
What are the access terms for CodeCompanion.nvim?
The plugin is free; payment depends on the chosen model, API, or external agent subscription. Your own local provider may remove cloud costs, but requires separate setup.
What terms of use matter for CodeCompanion.nvim?
Apache-2.0.
How do you get started with CodeCompanion.nvim?
For the task “Use Codex from Neovim through ACP”: open the relevant project and let the agent inspect the affected implementation before making changes. Set a bounded task with completion criteria; review the proposed changes and how they address the requirement. Run the appropriate project checks and compare behavior before and after the change.
What should you consider when choosing CodeCompanion.nvim?
A Neovim integration. Windows requires the editor itself, compatible dependencies, and configuration of a model provider or external agent.
How does ACP differ from an LLM adapter in CodeCompanion?
The README separates model connections through HTTP adapters from external coding agents through ACP; it also supports MCP, rules, and skills. Choose a model adapter for Ollama and an external agent route for Codex/Claude. Configure the connected backend and its access separately from the Neovim plugin.
Related tasks and approaches
- avante.nvim
A candidate to compare under the topic: Context and memory, AI editors and extensions. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together.
License
Apache-2.0.
Apache 2.0 — permissive license with patent terms
You can use and modify the code in commercial and closed-source projects. When distributing it, retain the license and relevant notices, identify modified files, and include NOTICE if provided. Authors grant a limited patent license for their contributions; it does not grant permission to use trademarks.
License termsUsage details
A Neovim integration. Windows requires the editor itself, compatible dependencies, and configuration of a model provider or external agent.
Technologies and topics
- ACP
- Codex
- MCP