← All Comparisons (/vs)
HEAD-TO-HEAD TECHNICAL COMPARISON (2026)

codecompanion.nvim vs rtk

Side-by-side 2026 comparison in Coding, Skills & MCP: rtk-ai/rtk leads both total GitHub adoption (★ 88.7k) and recent 7-day momentum. Licensing: Apache-2.0 · Commercial Friendly vs Apache-2.0 · Commercial Friendly.

Cumulative Star Gain Chart (Embeddable SVG)

Backed by independent 6-hour D1 snapshots. Embed in GitHub READMEs or technical blogs.

codecompanion… vs rtk — 14-Day Star Velocity Comparison on RepoForAI.com 14-DAY CUMULATIVE STAR GAIN COMPARISON REPOFORAI.COM codecompanion… ★ 7k (+9/7d) rtk ★ 88.7k (+684/7d) +1.4k +683 0 11-21 11-28 12-04 (D1 snapshot)
olimorris/codecompanion.nvim (Health A+ 92/100) vs rtk-ai/rtk (Health A+ 96/100) multi-day star momentum.
Compare different repos →

Key Metrics Matrix

Dimensionolimorris/codecompanion.nvimrtk-ai/rtk
Total GitHub Stars★ 6,965★ 88,732
24h / 7d Velocity+1 / +9+56 / +684
7-Day Trend Curve
Engineering HealthA+ · 92/100A+ · 96/100
Deployment SignalsDocker · MCP · CLI · API · Local AICLI · Local AI
Primary LanguageLuaRust
Commercial LicenseApache-2.0 · Commercial FriendlyApache-2.0 · Commercial Friendly
ActivityUpdated todayUpdated yesterday
Latest Releasev20.5.0v1.3.0
Best ForNeovim users who want editor-native chat and inline assistance, with the option to switch between direct model APIs, local Ollama inference, and external ACP agentsCoding-agent sessions dominated by verbose tests, diffs, builds, and searches. Start with local filters, spot-check the details retained, and measure savings before adding pipelines or an API proxy
Maintaining codecompanion.nvim, rtk, or an open-source alternative? Reach engineers comparing this stack.
Feature Repo ($19)Sponsor Track

codecompanion.nvim · Highlights & Quickstart

Editor integration: A Lua-based Neovim plugin with a chat buffer, inline interaction, and a CLI workflow.
Model adapters: Built-in HTTP integrations include Anthropic, OpenAI, Gemini, GitHub Copilot, and Ollama; custom adapters can extend the set.
Protocol separation: ACP connects external coding agents such as Claude Code and Codex; MCP addresses tool and context integration.
Session lifecycle: v20.3.0 added ACP subagent support and sends session/close before agent termination; v20.4.0 added :CodeCompanionCLI Resume.
-- 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"
  }
})

rtk · Highlights & Quickstart

Integration: Hooks and plugins can apply filtering automatically; rules files only steer the agent toward rtk.
Filtering: 100+ commands covered, with passing tests collapsed, search matches grouped by file, and Git diff context reduced.
Recovery: Command exit codes are preserved, filter failures return raw output, and rtk bypass disables filtering for one invocation.
Measurement: rtk gain --all --format json exports local savings estimates based on bytes divided by four, not billed tokens.
brew install rtk

codecompanion.nvim vs rtk FAQ

How do codecompanion.nvim and rtk differ on commercial licensing?

olimorris/codecompanion.nvim uses Apache-2.0 · Commercial Friendly (Permissive license allowing commercial use, modification, and proprietary distribution.), whereas rtk-ai/rtk uses Apache-2.0 · Commercial Friendly (Permissive license allowing commercial use, modification, and proprietary distribution.).

Which is growing faster in 2026: codecompanion.nvim or rtk?

According to RepoForAI's 6-hour GitHub telemetry, codecompanion.nvim has 6,965 stars (+9 in 7d) vs. rtk with 88,732 stars (+684 in 7d).

When should engineering teams pick codecompanion.nvim vs rtk?

Choose codecompanion.nvim (Lua) for: Neovim users who want editor-native chat and inline assistance, with the option to switch between direct model APIs, local Ollama inference, and external ACP agents. Choose rtk (Rust) for: Coding-agent sessions dominated by verbose tests, diffs, builds, and searches. Start with local filters, spot-check the details retained, and measure savings before adding pipelines or an API proxy.

More Head-to-Head Comparisons

WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare