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

7 Fatal Mistakes My AI Agent Made

Seven real-world AI Agent disaster stories from six months of use: from rm -rf burns and API Key leaks to total cross-session amnesia, every mistake became a system safeguard.

Hands-On