Skip to main content
Lab Grimoire
TW EN
Coffee

All articles

Our Own AI Memory System: Ghost In Shell 5.2 Illustrated

This is an AI memory system we designed ourselves from a year of actual use. It does not use a vector database. It uses plain-text files plus a trigger-phrase index. Six figures show how it works: three roles, trigger phrases written as symptoms, the startup index character budget, the propose → judge → apply flow for merging memory, a hit-rate measurement over 301 sessions, and the trade-offs of this approach.

Agent Architecture

AI Remembers but Fails to Recall: A Year of Lessons from Our Own AI Memory System

Several AI CLIs shared a memory system we designed ourselves, in one workspace, for a year. It accumulated about a thousand episodic memories and more than five hundred knowledge notes. What caused the loss was not that the AI forgot. It was that the AI trusted something it had not checked. This piece covers the three fixes in Ghost In Shell 5.2, and six pitfalls we hit ourselves, each with the check we use now.

Agent Architecture

One Month of Local Model Benchmarking: I Overturned My Own Rankings

From acceleration knobs and extreme quantization to a nine-model comparison, a large-sample retest at month's end reshuffled the entire leaderboard. A record of a broken yardstick, small-sample error bars, and the current division of labor between pi and local models.

Hands-On