zensation-ai/zenbrain

Dynamic agent memory for LLM agents: 7 neuroscience-inspired layers (working, episodic, semantic, procedural) with FSRS spaced repetition and memory consolidation. Zero-dependency TypeScript library, Model Context Protocol (MCP) server, Vercel AI SDK middleware. Paper: arXiv 2604.23878 · reproduction packages on Zenodo.

This repository also configures its own agents. See what zenbrain tells them →

27Stars on the repository
2Mods indexed here, across every type
todayLast push, which is what freshness is scored on
Apache-2.0Licence, which decides whether bodies are shown

zenbrain

01

zensation-ai/zenbrain

MCP server Claude CodeCodexCursor +2

Seven-layer agent memory: episodic, semantic, procedural and core. Local SQLite, no account. Runs locally from the @zensation/mcp npm package. Needs 2 environment variables to run.

not rated 27 today A tokens not measured original Apache-2.0