Skip to content
zensation

Research overview

Three tracks, architecture and agenda

Publications

Preprints, software, identifiers

Methodology

Operational standards and validation

Research ethics

Fundamental rights and compliance

Resources

Code, data, citation, open science

Adopt AI

Neutral roadmap & interactive simulation

Public sector & funding

Collaborations in the public sector

Protecting public spaces

Track B — rights-preserving early warning

Applied AI · knowledge work

Track C — memory for knowledge work

Technology

The architecture behind every application

Playground

Run the open memory core live

Work with usAboutOpen SourceBlog
EN·DE
Contact
zensation
Research overviewPublicationsMethodologyResearch ethicsResources
Adopt AIPublic sector & fundingProtecting public spacesApplied AI · knowledge workTechnologyPlayground
Work with usAboutOpen SourceBlogContact
Blog
Tutorial

Memory for Claude Code in one line

Alexander Bering
Alexander Bering
October 30, 2026 · 2 min read

Coding agents forget between sessions what they learned about a project. ZenBrain gives Claude Code a memory that lasts, installed as a plugin with one line.

Install (from the terminal with Claude Code 2.1.292 or newer, Node.js 22 or newer): claude plugin install zenbrain --marketplace zensation-ai/zenbrain Inside a running session the same works from 2.1.275 as /plugin install zenbrain --marketplace zensation-ai/zenbrain.

The five tools. zenbrain_store saves something and picks the layer from the content. zenbrain_recall searches episodes, facts, procedures and core memory and ranks hits on one scale from 0 to 1. zenbrain_forget deletes on purpose, together with what consolidation made of it. zenbrain_consolidate turns selected episodes into facts without deleting anything from long-term memory. zenbrain_health shows how full each layer is.

Graphic in petrol design. Title: One line, and the next shift has a handover. Subtitle: ZenBrain as a plugin, local, no account, open under Apache 2.0. A terminal shows the command claude plugin install zenbrain --marketplace zensation-ai/zenbrain, the message Successfully installed plugin, the command claude mcp list and the message Connected. Below, the five tools: zenbrain_store remember, zenbrain_recall find again, zenbrain_forget forget on purpose, zenbrain_consolidate turn episodes into knowledge, zenbrain_health check the state. Bottom: one file, ~/.zenbrain/memory.db on your machine.

Chart: excerpt from the test output on 30 October 2026, Claude Code 2.1.308, empty home directory.

Where the memory lives. In ~/.zenbrain/memory.db, an SQLite file on your machine. Choose another place at install time: --config db_path=~/notes/zenbrain.db. Uninstalling leaves the file in place.

What the plugin downloads. It starts the server @zensation/mcp at a fixed version (currently 0.3.0) through npx. On first start npx fetches that version from the npm registry; after that the server makes no network call of its own. It calls no language model.

Why layers. Memory research distinguishes episodes, knowledge and skills. ZenBrain keeps them apart, and when episodes become knowledge the episode stays. A recall finds the general fact and the single case it came from. Why that matters is the subject of the memory tax.

More: the plugin on GitHub · the MCP server for Claude Desktop and Cursor.

Share on XShare on LinkedIn

Related Articles

GDPR and AI Memory: What Self-Hosting Solves, and What It Doesn't

What self-hosting solves for AI with memory under data-protection law, what it doesn't, and why erasure must be a query. Legal status: 11 October 2026.

How We Built Memory Into an AI OS: The 9 Neuroscience Algorithms Behind ZenBrain

Most AI systems forget everything the moment a conversation ends. We decided to fix that properly — with 9 algorithms grounded in neuroscience.

Sleep Consolidation: Teaching AI to Dream

How we implemented hippocampal replay simulation for AI memory — and why it matters that your AI 'sleeps' to consolidate knowledge.

zensationIndependent AI research lab · Kiel
ResearchPublicationsMethodologyResearch ethicsResourcesMemory architecturesBenchmarksAgent memory comparedAdopt AIPublic sectorProtecting public spacesApplied AITechnologySystem explorerPlaygroundEigenraumWork with usOpen SourceAboutBlogChangelog
GitHubLinkedInarXivZenodoORCIDScholarSemantic ScholarHuggingFacenpmDiscussions

© 2026 Alexander Bering / ZenSation Enterprise Solutions

RSSPrivacy PolicyLegal NoticeAccessibility