There is a newer version of the record available.

Published February 16, 2026 | Version v3
Preprint Restricted

BrainBox: Hebbian Memory Architecture for AI Coding Agents

Authors/Creators

Description

We present BrainBox, a novel memory architecture for AI coding agents that learns behavioral patterns using Hebbian learning and synaptic myelination. Unlike declarative memory systems (Mem0, SuperMemory, OpenMemory, Zep, Letta, LangMem), BrainBox implements procedural memory — learning how agents work rather than what they know. The system records file co-access patterns, error-fix associations, and tool usage sequences, strengthening neural pathways through repeated use. We survey seven prominent agent memory systems and demonstrate that all operate at Layer 2 (declarative knowledge). BrainBox operates at Layer 3 (agent behavioral learning) — a layer where no prior published work exists. Production evaluation shows 8.9% gross token savings in 5 hours, with benchmark evaluation achieving 67% top-1 recall accuracy (5x over baseline) on a 2,276-neuron production network.

Files

Restricted

The record is publicly accessible, but files are restricted. <a href="https://zenodo.org/account/settings/login?next=https://zenodo.org/records/18665052">Log in</a> to check if you have access.