kgai shared decision memory for dev teams

notes for dev teams · kgai.dev/blog

claude-mem alternatives for dev teams, and when to keep claude-mem

If you're searching for a claude-mem alternative, first check whether you have a claude-mem problem at all. Often you don't. You have a team problem, and that's a different category of tool.

What claude-mem does well

claude-mem gives Claude Code persistent memory across sessions on one machine. It watches your work through lifecycle hooks, compresses what happened into summaries, and loads the relevant parts into future sessions. Storage is a local SQLite database with full-text and vector search on top. It installs with one command, runs on its own, and it's Apache 2.0. For a single developer who wants Tuesday's session to know what Monday's did, that's the right shape. If that's your need, keep claude-mem and stop reading here.

When a team needs something else

Session memory is per machine and per person. That's fine until a teammate's agent proposes the database your agent rejected in March, because the rejection lives in your session history, not theirs. A team needs memory with three properties that session recall never claims to have:

You can get partway there with ADR files in the repo. They're shared and reviewable, but nothing makes an agent read them at edit time, and keeping them current is a chore nobody owns. There are also extracted-fact memory platforms that build memory from conversations with an LLM pipeline. Strong at fuzzy recall over prose, weaker as a precise record of engineering decisions.

Where kgai fits

We build kgai, so weigh this part accordingly. kgai keeps an append-only, immutable log of your team's engineering decisions. Capture happens at the write boundary through a skill and hooks while your agent works. Recall is lexical matching plus graph traversal, no embeddings in the read path, and it returns only decisions still in force. There's no daemon and no server, and team sync is opt-in over an S3 bucket you own. Writers recording in parallel can't produce a textual conflict. MIT, shipped as a Claude Code plugin plus a standalone kg CLI. The detailed head-to-head is at kgai vs claude-mem.

Run both

The two don't compete. claude-mem remembers what your sessions did, a decision log remembers what your team decided and why. Running them side by side is a reasonable setup, not a compromise.

If the missing piece is the team record, kgai installs in two commands and stays local until you opt into sync. Keep claude-mem for the sessions.

Try it on your repo. Two commands, MIT, nothing leaves your machine until you configure a bucket.

$claude plugin marketplace add kgaidev/kgai
$claude plugin install kgai@kgai-marketplace
★ Star on GitHub

See how kgai compares to other tools on the comparison page, or browse the other notes.