Bellamem banner
immartian immartian

Bellamem

AI community

Description

Persistent belief-graph memory for AI agents. Retrieves decisive context by importance — not recency, not RAG, not /compact.

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

Bella — continuous hypergraph memory for AI agents

**~~RAG retrieves documents.~~ Agents need to retrieve beliefs.**

**[`npm install -g bellamem`](https://www.npmjs.com/package/bellamem)**, then `bellamem install && bellamem daemon start`. Use `/bella` in any Claude Code session. The daemon auto-saves your graph every 5 minutes and serves a **localhost web UI** with a session trace replay view at `http://localhost:7878`.


The problem

Your AI agent is like a brilliant intern with amnesia. Every morning you re-explain the project. Every afternoon it re-introduces the bug you fixed yesterday. It smiles and nods and produces confidently wrong output. Fluent, agreeable, and fundamentally untrustworthy.

**Loses continuity.** Today's session suggests the exact bandaid you rejected yesterday. Yesterday doesn't exist.

**Hits the wall.** `/compact` and `/clear` evaporate the specifics — rejected approaches, causal chains, small invariants that took ten messages to earn.

**Confabulates with conviction.** When it forgets, it doesn't ask to be reminded. It re-asserts the wrong approach with full confidence, and *you're* the one who has to catch it every time.

One root cause: **agents only have working memory.** The context window *is* the memory. When a turn falls out, it's gone — and the agent carries on unaware, filling the gap with plausible defaults. You can't guardrail a system that doesn't own its own beliefs.

**Bella is the long-term memory layer.** It extracts the *structure* of every conversation — decisions, rejected approaches, causes, self-observations — into a belief hypergraph that survives `/clear`, new sessions, and new days. When tomorrow's session asks about the flaky test, it loads what yesterday decided, what yesterday rejected, and why.

Measured across **15 real Claude Code projects** on a