# olimorris/codecompanion.nvim

✨ AI Coding, Vim Style

Repository: https://github.com/olimorris/codecompanion.nvim
Canonical: https://ross.abutalabs.com/products/codecompanionnvim
Homepage: https://codecompanion.olimorris.dev
Language: Lua
License: Apache-2.0
License Family: permissive
Topics: neovim, openai, anthropic, ollama, plugin, copilot, gemini, google-gemini, llm, nvim, deepseek, acp, agent-client-protocol, claude-code, agent, openrouter, kimi
Last push: 2026-08-26T07:24:56+00:00

## Health v2 (maintenance only)
Score: 89/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 87, longevity 70
- inputs: {"age_days": 980, "days_push": 7, "days_rel": 9, "gap_med": 0.0, "n_releases_24m": 387}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6824, forks 446 (observed 2026-08-28T04:09:48.845702+00:00)

## What it is
CodeCompanion.nvim is a Neovim plugin that integrates LLMs (Anthropic, OpenAI, Gemini, Copilot, Ollama, and more) and CLI coding agents (Claude Code, Codex, Gemini CLI) into the editor. It provides chat buffers, inline code transformations, code reviews, and support for the Agent Client Protocol and Model Context Protocol.

## Use cases
- chat with LLMs inside neovim
- refactor code inline with AI in vim
- run claude code or codex agents from neovim
- get AI explanations for LSP errors
- review and approve AI-generated code changes
- use ollama or openai models as a coding assistant
- add CLAUDE.md rules to my neovim AI workflow

## When to choose
- you use Neovim and want an AI coding assistant without leaving the editor
- you want to switch between many LLM providers and CLI agents via adapters
- you need inline transformations, prompt libraries, and MCP support in your editor
- you prefer a highly configurable, Lua-native plugin

## When to avoid
- you use VS Code or another IDE rather than Neovim
- you want a standalone GUI chat app rather than an editor plugin
- you need Neovim versions older than 0.11

## Facets
- artifact type: plugin
- maturity: active
- function: llm-inference, agent-framework, chatbot, mcp, code-review, developer-tools
- domain: developer-tools, large-language-models, text-editors
- platform: lua, cli, cross-platform
- tags: neovim-plugin, ai-coding-assistant, agent-client-protocol, claude-code, copilot, ollama, openai, anthropic, inline-code-editing, chat-buffer, ai-agents, neovim

## Member repositories
- olimorris/codecompanion.nvim (main) score 89

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:48.845702+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:41:54.587571+00:00, confidence not recorded.
  - readme: https://github.com/olimorris/codecompanion.nvim (fetched 2026-08-28T04:09:48.845702+00:00, sha 6f02da866883)
  - homepage: https://codecompanion.olimorris.dev (fetched 2026-08-29T08:37:58.268235+00:00, sha 146784e7d310)
  - site_page: https://codecompanion.olimorris.dev/installation (fetched 2026-08-29T08:37:58.270615+00:00, sha 13542c6d3115)
  - site_page: https://codecompanion.olimorris.dev/getting-started (fetched 2026-08-29T08:37:58.272395+00:00, sha 26f090be7412)
  - site_page: https://codecompanion.olimorris.dev/integrations (fetched 2026-08-29T08:37:58.274196+00:00, sha fed38bbb4b0e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
