Visualize your AI memory
The neural map turns an AI brain into something you can actually see. Every memory becomes a node, and every connection is inferred from meaning — using the same embeddings that power cerebrum search. No manual linking. The result is a self-contained HTML file you can open in any browser.
Render the 3D map #
$ cerebrum map --graphThis reads your memory layers, computes embedding similarity between entries, and writes an interactive WebGL map to .cerebrum/neural_map.html — then opens it. Drag to rotate, shift-drag to pan, scroll to zoom, and hover any point to read the memory with its connections highlighted. Pick a layer in the panel to isolate it.
Press / (or click Memories) to open the list: every memory grouped by topic, searchable as you type. Matches glow in the graph while everything else fades back. Click a row to fly to it, or click a point in the graph to find it in the list.
Layer colors #
Nodes are colored by the memory layer they live in:
EpisodicSemanticProceduralPersonalReflectionHow connections are inferred #
Cerebrumma embeds every memory into a 384-dimensional vector and measures cosine similarity between them. Each node links to its most similar neighbors above a relevance threshold — so clusters of related thinking emerge on their own, and foundational ideas naturally become hubs with the most connections.
Topics and galaxies #
Related memories are grouped into topics. Each topic has a hub, the memory most connected to the rest, with its other memories placed around it on a golden-angle spiral wrapped around a sphere. That is why every topic reads as a small galaxy from any angle: dense at the core, sparse at the edges. Topics are then laid out in 3D so that topics that share connections pull together.
The layout is inspired by Rob Phillips’ learning knowledge graph, which distributes exercises around each skill with the golden ratio.
The static report #
Without --graph, cerebrum map generates a premium HTML report of your Brain — a readable overview of every layer and its entries.
$ cerebrum map • Brain report generated → .cerebrum/brain_report.html
Fully offline #
The generated map is self-contained — the rendering engine is baked into the HTML, so it works with no internet connection and nothing leaves your machine. Share it, commit it, or open it on a plane.
