Agent memory for LLM agents: 7 neuroscience-inspired layers (working, episodic, semantic, procedural) with FSRS-style spaced repetition and memory consolidation. TypeScript, no third-party dependencies in the core packages; Model Context Protocol (MCP) server, Vercel AI SDK middleware. Paper: arXiv 2604.23878 · reproduction packages on Zenodo.
Latest release v0.6.1 — v0.6.1 -- MCP tool titles in the annotations, an unfilled ZENBRAIN_DB no longer becomes a file name · 31 Oct 2026
1 file for Codex and OpenCode: zenbrain AGENTS.md — 1,300 tokens loaded in every session.
AGENTS.md A 1,300 tok These files are zensation-ai/zenbrain's own configuration — they tell Codex and OpenCode how to work on this repository, so they are not mods to install elsewhere. Copy one as a starting point and replace the parts that are about this project.