Home/Compare/codecompanion.nvim vs claude-mem

Comparison

codecompanion.nvim vs claude-mem

Verdict

Pick codecompanion.nvim when codecompanion.nvim is primarily Lua; claude-mem is JavaScript; pick claude-mem when claude-mem is primarily JavaScript; codecompanion.nvim is Lua.

Markdown twin · codecompanion.nvim alternatives · claude-mem alternatives

GraphCanon updated today

codecompanion.nvim logo

codecompanion.nvim

olimorris/codecompanion.nvim

6.7kpushed Jul 15, 2026
vs
claude-mem logo

claude-mem

thedotmack/claude-mem

87kpushed Jul 9, 2026

Trust & integrity

Signalcodecompanion.nvimclaude-mem
Maintenance
Very active (0d since push)
As of today · github_public_v1
Very active (1d since push)
As of 4d · github_public_v1
Provenance
Not a fork · Personal account
As of today · github_public_v1
Not a fork · Personal account
As of 4d · github_public_v1
OSV dependency advisories
No lockfile (source not queried)
As of today · osv@v1
No lockfile (source not queried)
As of 4d · osv@v1
deps.dev advisories
Not queried
deps.dev@v1
Not queried
deps.dev@v1
OpenSSF Scorecard
Not queried
openssf-scorecard@v1
Not queried
openssf-scorecard@v1

Tagline

codecompanion.nvim
✨ AI Coding, Vim Style
claude-mem
Persistent Context Across Sessions for Every Agent

Stars

codecompanion.nvim
6.7k
claude-mem
87k

Forks

codecompanion.nvim
436
claude-mem
7.5k

Open issues

codecompanion.nvim
10
claude-mem
252

Language

codecompanion.nvim
Lua
claude-mem
JavaScript

Adopt for

codecompanion.nvim
-
claude-mem
claude-mem provides persistent context across sessions, leveraging AI to capture and compress agent activity.

Persona

codecompanion.nvim
-
claude-mem
-

Runtime

codecompanion.nvim
-
claude-mem
-

License

codecompanion.nvim
Apache-2.0
claude-mem
Claude-Mem is distributed under the Apache License 2.0, allowing it to be freely used in a variety of development and production environments while maintaining clear licensing terms.

Last pushed

codecompanion.nvim
Jul 15, 2026
claude-mem
Jul 9, 2026

Categories

codecompanion.nvim
AI Agents, Inference & Serving, LLM Frameworks
claude-mem
AI Agents, Inference & Serving

Trust and health

Days since push

codecompanion.nvim
0d
claude-mem
1d

Open issues (now)

codecompanion.nvim
10
claude-mem
252

Full report

codecompanion.nvim
Trust report
claude-mem
Trust report

Choose codecompanion.nvim if…

  • codecompanion.nvim is primarily Lua; claude-mem is JavaScript.
  • Tags unique to codecompanion.nvim: acp, agent, agent-client-protocol, anthropic.
  • Also covers LLM Frameworks.
  • codecompanion.nvim ships Docker support for self-hosted deployment.

When NOT to use codecompanion.nvim

  • AI Agents: Don't use an agent loop when a deterministic workflow would do; agents add latency, cost, and non-determinism.
  • Inference & Serving: Self-hosting rarely beats a hosted API on cost until you have steady, high-volume traffic.
  • LLM Frameworks: Avoid a framework for a single prompt-and-retrieve call; the abstraction can cost more than it saves.

Choose claude-mem if…

  • claude-mem is primarily JavaScript; codecompanion.nvim is Lua.
  • Requirements: Requires Node.js v20.0.0 or higher.; Must have the latest version of Claude Code with plugin support.; Auto-installs Bun (JavaScript runtime and process manager) if not already present.; Requires uv (Python package for vector search), auto-installation supported..
  • Tags unique to claude-mem: ai-agents, ai-memory, chromadb, claude.
  • When you require seamless and persistent context continuity between different session interactions with Claude Code or other supported agents.

When NOT to use claude-mem

  • When working in environments where Node.js v20.0.0 or higher cannot be installed, as claude-mem requires this version to operate.
  • If your specific AI agent or tool does not integrate with the supported frameworks listed (e.g., Claude Code, OpenClaw), making context persistence ineffective for your workflow.

Explore

Sources

Every stat on this page traces to a dated GitHub sync, license file, enrichment field, or trust scan.

GitHub stars on cards: codecompanion.nvim 6.7k · claude-mem 87k (synced Jul 15, 2026).

Common questions

What is the difference between codecompanion.nvim and claude-mem?
codecompanion.nvim: ✨ AI Coding, Vim Style. claude-mem: Persistent Context Across Sessions for Every Agent. See the comparison table for live GitHub stats and shared categories.
When should I choose codecompanion.nvim over claude-mem?
Choose codecompanion.nvim over claude-mem when codecompanion.nvim is primarily Lua; claude-mem is JavaScript; Tags unique to codecompanion.nvim: acp, agent, agent-client-protocol, anthropic; Also covers LLM Frameworks; codecompanion.nvim ships Docker support for self-hosted deployment.
When should I choose claude-mem over codecompanion.nvim?
Choose claude-mem over codecompanion.nvim when claude-mem is primarily JavaScript; codecompanion.nvim is Lua; Requirements: Requires Node.js v20.0.0 or higher.; Must have the latest version of Claude Code with plugin support.; Auto-installs Bun (JavaScript runtime and process manager) if not already present.; Requires uv (Python package for vector search), auto-installation supported.; Tags unique to claude-mem: ai-agents, ai-memory, chromadb, claude; When you require seamless and persistent context continuity between different session interactions with Claude Code or other supported agents.
When should I avoid codecompanion.nvim?
AI Agents: Don't use an agent loop when a deterministic workflow would do; agents add latency, cost, and non-determinism. Inference & Serving: Self-hosting rarely beats a hosted API on cost until you have steady, high-volume traffic. LLM Frameworks: Avoid a framework for a single prompt-and-retrieve call; the abstraction can cost more than it saves.
When should I avoid claude-mem?
When working in environments where Node.js v20.0.0 or higher cannot be installed, as claude-mem requires this version to operate. If your specific AI agent or tool does not integrate with the supported frameworks listed (e.g., Claude Code, OpenClaw), making context persistence ineffective for your workflow.
Is codecompanion.nvim or claude-mem more popular on GitHub?
claude-mem has more GitHub stars (86,816 vs 6,743). Stars measure visibility, not whether either tool fits your constraints.
Are codecompanion.nvim and claude-mem open source?
Yes - both are open-source projects on GitHub (codecompanion.nvim: Apache-2.0, claude-mem: Apache-2.0).
Where can I find alternatives to codecompanion.nvim or claude-mem?
GraphCanon lists graph-backed alternatives at codecompanion.nvim alternatives and claude-mem alternatives (codecompanion.nvim markdown twin, claude-mem markdown twin), ranked by typed relationship edges rather than popularity votes.
Is there a machine-readable version of this comparison?
Yes. The markdown twin at this comparison mirrors this page for agents and LLM crawlers, with the same stats table and FAQ answers.
Which is better maintained, codecompanion.nvim or claude-mem?
codecompanion.nvim: Very active. claude-mem: Very active. Compare maintenance labels, days since push, and release cadence in the trust section below - stars alone do not measure maintenance.
Where are the full trust reports for codecompanion.nvim and claude-mem?
GraphCanon publishes per-repo trust reports with dated maintenance, provenance, and scan summaries: codecompanion.nvim trust report; claude-mem trust report.

Was this helpful?

Anonymous feedback helps us improve pages and translations.