HarnessUp / Alternatives / claude-mem

Honest question

Thinking about claude-mem to save tokens?

Good instinct, partly. If you're tired of explaining the project all over again every new session, it's a great pick. But memory is only one slice of the bill, and writing it down isn't free either.

youI installed claude-mem. My agent remembers yesterday now. Tokens solved, right?

HarnessUpNice. No more explaining the project from scratch.

youSo... solved?

HarnessUpOne faucet closed. Let me show you the others still leaking.

First, the compliment

claude-mem is a genuinely good idea.

Nearly 119 thousand stars on GitHub agree. It fixes a real pain: every session starts with an agent that forgot everything. claude-mem watches what the agent does, writes it down as short observations and hands the relevant part back in the next session.

GitHub · claude-mem

★ 119k

stars · 10k forks

respect.

Memory across sessions

Observations and session summaries in a local SQLite database, injected back when a new session starts.

Search in layers

MCP tools that return a short index first and the full details only when asked, plus a web viewer to browse it all.

Open source

Apache-2.0 license. A <private> tag keeps anything you want out of storage.

Lots of agents

Claude Code, Codex, Cursor, OpenCode, Gemini and more, installed with one npx command or as a Claude Code plugin.

Tired of telling the agent the same thing every morning? Install it, seriously.

The catch

Remembering isn't a smaller bill.

claude-mem cuts what the agent has to relearn. But the memory is written by a model: a second agent reads the tool activity and summarizes it, on claude-mem's paid hosted observer, on your own key or on your Anthropic plan. And most of the bill is what the agent reads inside the session, again and again:

  • Re-sent contextEvery message, the whole history goes out again. And you pay again.
  • 40,000-line logsDumped into context to find a one-line error.
  • Fluffy answersThree intro paragraphs before the answer. Fluff is tokens too.
  • Sessions that should have endedNobody tells you when starting fresh costs less than carrying on.
  • Builds and commits burning turnsStuff that didn't even need AI, burning an expensive model.
  • Relearning the projectThis is the faucet claude-mem shuts off. One of many.

claude-mem publishes its search costs as about 50 to 100 tokens per index result and 500 to 1,000 per full result, and says plainly that this ratio is not a measured end-to-end saving. Anonymous usage analytics are on by default; one command turns them off.

claude-mem fixes one faucet. But others are still leaking.

Confession

We wanted memory too. Without the model writing it.

Our agents also kept notes: state, decisions, to-do lists. The files grew every session and got read in full at every opening. A summary written by a model would shrink them, but a summary can drop exactly the line you needed.

So HarnessUp keeps memory in the project's own files and only moves what's old: whole, unsummarized, and findable.

The verdict

Remembering is good. Remembering exactly is better.

A summary is the model's reading of what happened. The original is what happened. HarnessUp never throws the original away.

Why Hot Context

Hot Context: lean files, nothing lost.

The file keeps what's hot: the recent, the urgent and the critical. HarnessUp moves the rest to a folder next to it, whole and without summary, with an index of what went where.

The agent reads less, and only on demand: Read Router hands over the index of a big context file on the first read, and the whole file only if it's asked for again.

The past stays findable: Decision Graph answers what was decided, what tripped you up and what something used to be called, with a pointer to the file and line.

No second model, no summary, no extra bill to remember.

# Hot Context, next to the file it keeps lean

 

TODO.md the recent, the urgent

.hot-context/TODO/

index fragment → period, titles

diary done, decided, solved

open open, not urgent

01, 02 … the original, word for word

 

# moved, never summarized:

# grep still finds every line

Now we're talking

The claude-mem alternative for anyone who wants to see the bill go down.

HarnessUp has an engine for every leak. Each number was measured on the tasks that engine covers.

0 tokens

Build Now and Smart Commit

Builds and commits at the end of the task, without spending a model turn.

light model

Cheap Swarm

The expensive model only decides. Tests, search and reading go to a cheap model.

Renew Session

Flags the exact turn where starting fresh costs less than continuing.

−73%

Response Diet

Straight to the point. No walls of text, no intro.

−64%

Code Finder

Big file? It returns a map of functions and lines, not the whole file.

−59%

Command Ceiling

A 40K-line log shrinks to the part that matters.

−56%

First Pass

Builds on your machine and shows the error before the next turn.

−35%

Reduction measured per engine, on the tasks it covers. 26 tools are savings-only.

Comparison

claude-mem and HarnessUp, side by side.

No beating around the bush. Where claude-mem doesn't show up, it's not a flaw: it's just not its job.

What you wantclaude-memHarnessUp
Main focusPersistent memory: hooks, a local worker, SQLite and MCP searchSavings, control and security for the agent
Find things in the codeNot its thing✓Code Finder: file map, −59%
Cut huge logs and outputNot its thing✓Command Ceiling, −56%
Answers without fluffNot its thing✓Response Diet, −64%
Know when to start a fresh sessionNot its thing✓Renew Session, −73%
Build and commit without spending a turnNot its thing✓Build Now, Smart Commit, First Pass
Send grunt work to a cheap modelNot its thing✓Cheap Swarm
Remember the project's decisions and pitfalls✓Memory of past sessions, summarized by an observer model✓Context Graph and Fresh Context
Measure how much you spend and where it leaksPer-result estimates, which it says are not a measured saving✓Deep Scan, free on Basic
Protect passwords, history and filesNot its thing✓Secret Lock, Git Shield, No Delete, Checkpoint
How memory is writtenAn observer model summarizes the tool activityProject files kept lean; old parts moved whole, never summarized
Model calls of its ownYes: hosted observer, your own key or your Anthropic planNot to keep memory. Hooks at tool-call boundaries
AgentsClaude Code, Codex, Cursor, OpenCode, Gemini and moreClaude Code and Codex
PriceFree, Apache-2.0. Hosted observer is a subscription after a 30-day trialBasic free forever. Pro from US$ 6/mo billed yearly
Runs locally✓Yes, with optional Cloud Sync✓Yes

claude-mem details taken from its public repository in November 2026. Spotted something outdated? Write to help@harnessup.dev and we'll fix it.

Fair questions

Before you decide. . .

Nobody here is trashing a good tool.

Can I use claude-mem and HarnessUp together?

Yes. Both plug in through the agent's hooks and don't step on each other. claude-mem keeps the memory between sessions; HarnessUp works on the rest of the bill: command output, big reads, long answers and sessions that should have ended.

Does claude-mem use the model to write its memory?

Yes, according to its README: an observer agent turns tool activity into short observations and writes a summary at the end of the session. It runs on claude-mem's hosted observer, on your own OpenRouter or Gemini key, or on your Anthropic plan.

Does HarnessUp have a memory too?

A different kind. HarnessUp keeps the project's own files lean: Hot Context leaves the recent and the urgent in the file and moves the rest, whole and without summary, to a folder next to it. Nothing is rewritten by a model, and the original is always recoverable.

What does HarnessUp measure that claude-mem doesn't?

Real token counts from your own transcripts, on your own sessions. claude-mem itself says its token figures are not a measured end-to-end saving. Deep Scan shows how much you spent and where it leaked.

Deal?

Keep the memory. Add the ruler.

7 days with everything on. No card. No signup. Installs in about 1 minute.

irm https://harnessup.dev/install.ps1 | iex

Paste it into your agent and ask it to install. That's it.

Turn it on.

Same plan, way more mileage.

Start my 7 free days
Memory is a start. HarnessUp is the ruler.7 days free