A Neovim plugin that integrates LLMs and AI agents for coding assistance, chat, and inline transformations.
CodeCompanion.nvim is a Neovim plugin that integrates large language models and AI agents directly into the editor for coding assistance. It provides chat-based interactions, inline code transformations, and support for various LLM providers and agent protocols, allowing developers to leverage AI without switching contexts.
Neovim users who want AI-powered coding assistance, including developers using Vim-style editors who seek integrated chat, refactoring tools, and agentic workflows within their existing environment.
It offers a highly extensible and configurable AI coding experience tailored for the Neovim ecosystem, supporting a wide range of LLMs and agents while maintaining the editor's performance and customizability that Vim users expect.
✨ AI Coding, Vim Style
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Supports a wide range of LLMs from Anthropic, OpenAI, Gemini to local models via Ollama, allowing cost and performance tailoring through built-in or custom adapters.
Compatible with Agent Client Protocol for tools like Claude Code and Cursor CLI, enabling advanced, agent-driven coding beyond basic chat interactions.
Allows direct AI-assisted editing and refactoring within buffers, streamlining code changes without context switching.
Users can build custom adapters, prompts, and rules files, making it adaptable to specific development needs and workflows.
Executes tasks asynchronously to maintain Neovim's responsiveness, preventing UI blocks during AI operations.
Requires configuring dependencies, API keys, and adapters, with troubleshooting steps in the README highlighting potential installation and configuration hurdles.
Only works within Neovim, excluding users of other editors or older Vim versions, which narrows its applicability.
Relies on third-party LLM services that may incur costs, have rate limits, or experience downtime, impacting reliability and control.
codecompanion.nvim is an open-source alternative to the following products:
Zed AI is an AI-powered code editor developed by Zed Industries, focusing on performance and collaborative features.
Cursor is an AI-powered code editor built on VS Code, designed to enhance developer productivity with features like AI-assisted coding, code generation, and intelligent autocomplete.
GitHub Copilot Chat is an AI assistant integrated into the IDE that allows developers to ask coding questions, get explanations, and generate code through conversation.