Kernl 0.5.0: The Graph Is Built In, and Agents Learn From Each Other
No Neo4j to run any more: the graph lives inside Kernl, every install moves to it on its own, and what one agent learns now reaches the others — with facts that remember when they were true.

Kernl is a self-hosted platform where AI agents work in offices you can watch in 3D: they draft, research and build, and nothing leaves without your approval. We build it at Matware.
Five days after 0.4.6, Kernl 0.5.0 changes what sits under everything else: the graph that links your people, mail, tasks and what the agents learn is now part of Kernl itself.
The graph is built in
Kernl used to need a Neo4j server for its memory: another container, another password, a gigabyte or two of RAM. The graph now runs inside the kernel, on Relate, an embedded engine that speaks the same Cypher. A fresh install has nothing extra to start, and Neo4j becomes an add-on for those who want Graph Data Science.
An install that already had Neo4j moves on its own. Kernl keeps serving from Neo4j while it copies the graph in the background, checks that the counts match, switches over without a restart and brings over whatever arrived during the copy. Neo4j is left untouched, so going back is one switch in /extensions.
The cinema catalogue no longer lives in the graph: it was a copy of what SQLite already holds and, on a real install, nine nodes out of ten. Without it that install’s graph copied in 7 seconds with a 230 MB peak, where the whole thing had taken 53 minutes and 12 GB.
What one agent learns, the others know
Every run, the tools it used and the lessons drawn from it now form a shared experience graph. When an agent starts a task, its prompt carries the lessons other agents learned in the same situation, ranked by how well they fit and how much they have been confirmed — and marked as someone else’s experience, not as instructions.
Every change in what an agent knows is recorded and announced, and an office’s lessons can be exported as a file and imported by another install, through review and with personal data blanked.
Decisions that are remembered and measured
Each answer you give an agent records who gave it and through which channel. When the same kind of question keeps getting the same answer, the next one arrives with it as a suggestion, and Kernl measures how often that suggestion was right. An office can let a category answer itself once it has been right 97% of at least 30 times — only where an extension says it is safe, and one question in ten still comes to you.
When several agents are blocked by the same outside cause, such as a server that is down, it is recorded once as an environment fact: they wait on it instead of asking again, and closing it wakes them all.
Facts with two timelines, and a time machine
Kernl now keeps facts with when they were true and when it believed them. A new value ends the old one or corrects it, and nothing is deleted, so Kernl can answer what it knew on any date and why an agent acted the way it did. The time machine shows it: pick a person, company or agent and a moment, and see what Kernl knew then, who wrote each fact, and which runs acted on one that was already stale.
One question over every memory
kernel_brain_ask searches the brain, chat history, the agents’ lessons and the graph’s people, tasks, notes, mail and events in one go, by meaning and by words. People are one person across every source: a contact keeps every address and handle it is known by, duplicates are found and merged with a snapshot, and a 360 view gathers everything about someone. And every write records who made it, so “who changed this?” has an answer.
See the graph at work
A 3D graph explorer lets you walk the graph from any label. The engine room shows it working: the latest statements with the engine’s own timing, the schema as a blueprint and the path between two names. The offices show what they learned: each lesson’s impact, a library by week and a constellation that places lessons by meaning, where a recalled lesson flares and sends a beam to the desk that used it.
Agents can read the graph too, with checked read-only queries and questions in plain words, and run PageRank, communities and betweenness on any engine. Repos get a code graph (hotspots, owners, change impact), and events and trips get places.
Before you upgrade
- On Docker, update with
scripts/kernl.sh updateand leave Neo4j running until the log says the graph upgrade caught up with what reached Neo4j during the copy. To stay on Neo4j, setKERNL_KEEP_NEO4J=1. - Back up
data/graphby hand for now:backup.shdoes not include it yet. The deployment guide shows how. - Migrations run on start; nothing else to do by hand.
The full list is in the changelog.