kgai shared decision memory for dev teams

notes for dev teams · kgai.dev/blog

"kgai vs LangMem: memory for your product's agents or for your dev team"

Two different readers land on this page. One is building agents with LangGraph and wants them to remember users and context. The other codes with AI every day and wants the project itself to remember. LangMem serves the first. kgai serves the second. We build kgai, so weigh this page accordingly.

What LangMem is good at. It's the LangChain team's memory SDK. Agents get tools to save and search memories in the hot path, and a background memory manager extracts, consolidates and updates knowledge from conversations without slowing the session down. The agent decides what's worth storing. Storage rides LangGraph's store interface, in-memory for development and a Postgres-backed store for production, and it's available by default on LangGraph Platform deployments. MIT. If your product is a LangGraph agent, this is the native option and it composes with the rest of that stack.

Where kgai differs, structurally.

Choose LangMem if you're building memory into a product on LangGraph, especially knowledge distilled from conversations, and you want it native to that ecosystem. Choose kgai if you're an AI-assisted dev team and what you need remembered is the decision record. kgai won't hold conversations and won't personalize per user, by design. For the agent-platform side of this space, kgai vs Letta is the closer read.

Setup is two commands, the store is files, nothing runs in the background. Try it on one project and see if the graph earns its keep.

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.