AI tool comparison
claude-mem vs Ferretlog
Which one should you ship with? Here is the side-by-side panel verdict, pricing read, reviewer split, and community vote comparison.
Developer Tools
claude-mem
Persistent cross-session memory for Claude Code — 10x cheaper context
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.
Developer Tools
Ferretlog
git log for your Claude Code agent runs — local, zero dependencies
50%
Panel ship
—
Community
Free
Entry
Ferretlog is a zero-dependency pure Python CLI that treats your Claude Code session logs like a git repository. It parses the raw JSONL logs in `~/.claude/projects/` and gives you git-style history browsing, diff between runs, per-tool-call breakdowns, and cost/token stats — entirely locally, with no network calls and no configuration required. If you've been using Claude Code heavily, you've likely experienced the frustration of losing track of what changed across sessions, what tools were called how many times, and how much each session actually cost across sub-agent calls. Ferretlog makes that history explorable and comparable the same way `git log` makes code history explorable. This is an indie solo project from Eitan Lebras, submitted as a Show HN. It's genuinely useful as a power-user tool for anyone doing serious Claude Code work, especially those managing multi-session agent pipelines where debugging "what did the agent do last time?" is a real pain. The zero-dependency, local-only design means there's no trust surface and no setup friction.
Reviewer scorecard
“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.”
“If you run Claude Code daily, you need this immediately. Being able to diff two sessions like git commits and see exactly which tools fired and what they cost is something that should have existed from day one. Zero-dependency Python means it just works.”
“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.”
“This is a niche tool for a niche user (heavy Claude Code power users) and the session log format Anthropic uses is undocumented and could change at any update. Tying workflows to internal log parsing is fragile infrastructure — treat it as a convenience, not a dependency.”
“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.”
“Agent observability tooling built by the community, not the vendor, is how this ecosystem will mature. Ferretlog is primitive but it points at a real gap: we need git-style versioning and auditability for agent sessions, not just for code.”
“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.”
“Terminal-only, Claude Code-specific, no visuals — this tool exists entirely outside my workflow. The underlying insight (session replay and cost tracking) is useful, but it needs a UI before it reaches anyone outside the developer community.”
Weekly AI Tool Verdicts
Get the next comparison in your inbox
New AI tools ship daily. We compare them before you waste an afternoon.