Compare/claude-mem vs Dirac

AI tool comparison

claude-mem vs Dirac

Which one should you ship with? Here is the side-by-side panel verdict, pricing read, reviewer split, and community vote comparison.

C

Developer Tools

claude-mem

Persistent cross-session memory for Claude Code — auto-capture, compress, and recall

Ship

75%

Panel ship

Community

Free

Entry

claude-mem is a Claude Code plugin that hooks into the agent's full session lifecycle — capturing every tool call, observation, and interaction — compresses them semantically using Claude's agent-sdk, and stores everything in a local SQLite + Chroma vector database. On each new session, it injects only the most contextually relevant history via a 3-layer token-efficient retrieval system. The result: a coding agent that actually remembers your project across disconnected sessions. It's crossed 55K GitHub stars with support for Cursor, Gemini CLI, Windsurf, and OpenClaw. A community audit flagged the unauthenticated HTTP API on port 37777 as a HIGH severity issue — any local process can read every stored observation including API keys. The fix hasn't shipped yet. The 'Endless Mode' beta enables truly continuous sessions with automatic context compression when approaching token limits, making it useful for long-running projects that currently require frequent re-orientation.

D

Developer Tools

Dirac

Open-source coding agent that crushed TerminalBench-2 at 64.8% lower cost

Ship

75%

Panel ship

Community

Free

Entry

Dirac is an open-source AI coding agent built by Dirac Delta Labs that shot to the top of TerminalBench-2 with a 65.2% score using Gemini Flash — while costing 64.8% less than competing agents. Forked from Cline and rebuilt with a performance-first architecture, it handles file modifications, multi-file refactoring, terminal commands, and browser automation through an approval-based workflow. What sets Dirac apart is its technical substrate: hash-anchored edits replace fragile line-number targeting with stable content hashes, AST-native processing understands language structure for TypeScript, Python, and C++, and multi-file batching reduces LLM roundtrips by processing several files per call. The result is a leaner context that preserves model reasoning quality without burning through tokens. Available as both a VS Code extension and an npm CLI, Dirac supports Anthropic, OpenAI, Google, Groq, and Mistral as backends. Its Apache 2.0 license and strong TerminalBench showing on the affordable Gemini Flash model make it a compelling pick for developers who want production-grade coding assistance without the per-token bill shock.

Decision
claude-mem
Dirac
Panel verdict
Ship · 3 ship / 1 skip
Ship · 3 ship / 1 skip
Community
No community votes yet
No community votes yet
Pricing
Free / Open Source (AGPL-3.0)
Free / Open Source (Apache 2.0)
Best for
Persistent cross-session memory for Claude Code — auto-capture, compress, and recall
Open-source coding agent that crushed TerminalBench-2 at 64.8% lower cost
Category
Developer Tools
Developer Tools

Reviewer scorecard

Builder
80/100 · ship

This is one of those tools that should have existed from day one of Claude Code. The fact that agents forget everything between sessions is genuinely painful for long-running projects. The 3-layer token retrieval is clever — it filters before fetching. One-command install, multi-IDE support, local-first. The AGPL license is the main friction for commercial teams.

80/100 · ship

Topping TerminalBench-2 while being 64.8% cheaper is the kind of benchmark that actually matters to developers. The hash-anchored editing and AST-native approach fix the two most annoying failure modes of existing coding agents — wrong line edits and syntax-blind refactors.

Skeptic
45/100 · skip

55K stars and a known unauthenticated API on port 37777 — that's not a footnote, that's a fire. Any process on your machine can read every stored observation and view cleartext API keys. The fix isn't complicated, but it hasn't shipped. Until the port is locked down, this is a hard skip for anyone working on anything sensitive.

45/100 · skip

It's a Cline fork with smart optimizations — not a ground-up rethink. TerminalBench-2 scores are reproducible only if you're running similar tasks; complex real-world codebases may tell a different story. Also, requiring your own API key still means real money.

Futurist
80/100 · ship

The real unlock here isn't memory for Claude Code specifically — it's the emerging pattern of agent memory as infrastructure. claude-mem is one of the first tools to implement this at the session-lifecycle level rather than bolting it on as an afterthought. The vector + FTS hybrid approach and 'Endless Mode' beta point at what production agent memory systems will look like in 18 months.

80/100 · ship

The race to build the cheapest, most accurate coding agent is the real infrastructure play of 2026. Dirac's multi-provider support and lean context model are exactly the primitives that make agentic coding deployable at scale — not just on powerful machines.

Creator
80/100 · ship

If you run Claude Code for anything longer than a single afternoon, you know the pain of re-explaining your project on every session start. claude-mem just fixes that. The privacy tags are a nice touch — wrap sensitive info and it won't get stored. The web viewer is genuinely useful for auditing what the agent has learned. Solo devs, this is a clear win despite the security caveat.

80/100 · ship

The VS Code extension makes it approachable for designers who code. Approval-based workflows mean it won't silently rewrite your carefully named CSS classes. Worth trying if you've been burned by agents that act first and apologize later.

Weekly AI Tool Verdicts

Get the next comparison in your inbox

New AI tools ship daily. We compare them before you waste an afternoon.

Bookmarks

Loading bookmarks...

No bookmarks yet

Bookmark tools to save them for later

claude-mem vs Dirac: Which AI Tool Should You Ship? — Ship or Skip