Skip to main content
Glama
EdonZo

Brain

by EdonZo

Brain

Brain is a persistent, outcome-grounded memory system I built for Claude Code. It gives an AI agent long-term memory that learns from what actually worked: every stored memory carries a Bayesian confidence that rises when a decision it informed proved correct and falls when it didn't. Brain runs as a local FastAPI service backed by per-project SQLite databases, and it exposes itself to Claude Code through an MCP server.

The core mechanism is a background consolidation cycle I called "sleep" — eight phases (replay, contradiction evaluation, pattern extraction, connection formation, homeostasis, promotion) that run on cron and mirror how the mammalian brain reorganizes memory overnight. This was built independently before equivalent features shipped in Claude Code — the commit history is public.

I used Brain to run the pre-registered cosmology study at github.com/EdonZo/ccc-hawking-points, where persistent memory across weeks of analysis sessions was load-bearing rather than convenient.

F
license - not found
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/EdonZo/brain'

If you have feedback or need assistance with the MCP directory API, please join our Discord server