Compare/claude-mem vs Terrarium

AI tool comparison

claude-mem vs Terrarium

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 — 10x cheaper context

Ship

75%

Panel ship

Community

Paid

Entry

Claude-mem is a plugin that automatically captures and compresses coding session context, then intelligently reinjects relevant memory into future Claude Code sessions. With 67K GitHub stars, it has rapidly become one of the most widely-adopted quality-of-life improvements for developers using Claude Code daily. The system hooks into five lifecycle events — SessionStart, UserPromptSubmit, PostToolUse, Stop, and SessionEnd — to capture observations and store them in an SQLite database with FTS5 full-text search, backed by a Chroma vector database for semantic hybrid retrieval. A real-time web viewer at localhost:37777 shows the memory stream live. Progressive disclosure layers memory retrieval with token cost visibility, and a "<private>" tag excludes sensitive content from storage. Beyond Claude Code, claude-mem works with Gemini CLI, OpenCode, and OpenClaw gateways, making it gateway-agnostic persistent memory. The AGPL-3.0 license with a PolyForm Noncommercial exception on the ragtime/ module means it's free for personal use but requires source-sharing for networked commercial deployments.

T

Developer Tools

Terrarium

Evals that actually simulate real deployment — stateful, multi-turn, alive

Mixed

50%

Panel ship

Community

Paid

Entry

Terrarium is a multi-turn evaluation and optimization engine for LLM agents built by evolvent-ai. Unlike static benchmark suites that measure agents against fixed input-output pairs, Terrarium creates persistent, stateful "living environments" — simulated deployment contexts where agents operate over extended sessions, accumulate state, use tools, and interact with simulated external systems. You evaluate agents the way you'd test a car: by driving it, not by measuring its doors. The system supports configurable environment complexity, including simulated databases, APIs, file systems, and user personas. Agents are scored not just on final outputs but on trajectory quality — how efficiently they reached the answer, how often they hallucinated intermediate steps, and how well they recovered from dead ends. The engine also supports continuous optimization loops where poor-performing trajectories trigger automatic prompt refinement. With 17 stars and created April 14, Terrarium is extremely new. But it's addressing a genuine gap: the disconnect between how agents perform on static benchmarks versus how they behave in production. As enterprise AI deployments scale, the need for realistic pre-production evaluation is becoming critical.

Decision
claude-mem
Terrarium
Panel verdict
Ship · 3 ship / 1 skip
Mixed · 2 ship / 2 skip
Community
No community votes yet
No community votes yet
Pricing
Open Source (AGPL-3.0)
Open Source
Best for
Persistent cross-session memory for Claude Code — 10x cheaper context
Evals that actually simulate real deployment — stateful, multi-turn, alive
Category
Developer Tools
Developer Tools

Reviewer scorecard

Builder
80/100 · ship

If you're using Claude Code heavily, this is table stakes. The FTS5 + vector hybrid search means you stop re-explaining your codebase conventions every session, and the 10x token savings claim holds up in practice. The lifecycle hook architecture is clean and non-intrusive.

80/100 · ship

Static evals are lying to us constantly — agents that ace benchmarks fall apart in production because benchmarks don't have state, side effects, or accumulated context. Terrarium's living environments model is the right approach to catching real failure modes before deployment.

Skeptic
45/100 · skip

The AGPL license with a PolyForm Noncommercial carve-out creates real ambiguity for commercial teams. And piping your entire coding session history into a local SQLite database raises legitimate data security concerns for enterprise work. Test thoroughly before using on proprietary code.

45/100 · skip

Building a realistic simulation of your production environment is often harder than just running the agent in staging. The value proposition assumes your eval environment is meaningfully closer to production than your existing test suite — which is a big assumption for complex deployments.

Futurist
80/100 · ship

This is what personalized AI looks like at the tooling layer — not a vendor feature, but community infrastructure that makes agents progressively smarter about your specific context. The gateway-agnostic design means this pattern will outlast any single coding agent product.

80/100 · ship

The eval-optimize loop is the missing piece in most AI agent development workflows. Tools that can automatically identify weak trajectories and suggest improvements will become as fundamental as unit tests. Terrarium is early, but the category is inevitable.

Creator
80/100 · ship

For anyone using Claude Code to manage creative projects, writing systems, or content pipelines, the cross-session continuity transforms the experience from stateless assistant to genuine collaborator. The web viewer UI is a nice touch for understanding what your agent actually remembers.

45/100 · skip

This is deeply technical infrastructure that won't affect my daily workflow. The people who need this know they need it — but for most creators building with AI tools, static evals are already more than they use.

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