Systems on Glass · Episode 9 · AI agents

Give Your Agent a Memory

or: your corrections are the memory

The 48-second version. The full video is coming to YouTube; the link goes here when it's up. The narration is an AI clone of my voice.

Made with AI, for fun

Systems on Glass is an AI-automation side project of mine. Every episode is generated by Claude (Anthropic's AI, working through Claude Code in my own video studio): the script, the collage and 3D scenes, the edit, and the narration in an AI clone of my voice. I choose the topics, bring the stories from my own work, and review each episode before it goes up. Not affiliated with Anthropic.

Halfway through making episode 8, the agent that makes this series ran out of context. Claude Code summarized the conversation, threw the rest away and kept going, with my voice settings, my colours and my rules intact. None of those lived in its memory. They lived in files.

The short version

CLAUDE.md: target under 200 lines (Claude Code docs) · mine: 130
compaction keeps a summary + the 5 most recently accessed files (Anthropic) · 4 kinds of memory (CoALA, 2023)

The examples are from my own studio: its CLAUDE.md, its contributing rules ("one video at a time" came from me asking why two renders were crawling) and its log of which photo opened each episode.

Further reading

Next episode: Retries, backoff and jitter. Previously: Queues. All episodes →