olimorris/codecompanion.nvim

✨ AI Coding, Vim Style

What it solves

It provides a comprehensive AI coding assistant for Neovim, allowing developers to integrate Large Language Models (LLMs) and AI agents directly into their editor without leaving the environment. It bridges the gap between the editor and various AI services, enabling features like inline code transformations, chat-based assistance, and agentic workflows.

How it works

CodeCompanion integrates Neovim with a wide array of LLM providers (such as Anthropic, OpenAI, Gemini, and Ollama) and AI agents via the CLI. It utilizes the Agent Client Protocol (ACP) and Model Context Protocol (MCP) to communicate with agents like Claude Code and Codex. The plugin offers a chat buffer for interactive conversations, inline interaction for refactoring and code creation, and a prompt library for common tasks.

Who it’s for

Neovim users who want a powerful, extensible AI-assisted coding experience similar to Copilot Chat or Zed AI, but within their preferred terminal-based editor.

Highlights

  • Broad Provider Support: Out-of-the-box integration with numerous LLMs including DeepSeek, Mistral, and xAI.
  • Agentic Capabilities: Support for ACP and MCP, enabling the use of advanced agents like Augment Code and Goose.
  • Contextual Awareness: Support for rules files (e.g., CLAUDE.md), editor context, and slash commands to improve LLM output.
  • Multimodal Input: Ability to use images and PDFs as input for the AI.
  • Developer Tools: Built-in prompt library, code review capabilities to approve or reject agent-generated code, and async execution for performance.

Related

  • Project
  • Project
  • Project
  • Project
  • Project