Blog
Notes from building a brain.
Guides to AI memory: why AI tools forget, how long-term memory for AI agents works, context engineering, long context vs memory, and how to choose.
Guide · 17 October 2026
How to cut AI coding agent token costs: 10 practical ways
Where an agent's tokens actually go, ten ways to spend fewer of them, and what memory saves: the same answers at about a fifth of the cost.
Read the guideGuide · 15 October 2026
Self-hosted AI memory: a privacy and security guide
What an agent's memory really holds, hosted vs self-hosted, memory poisoning, secrets, and a 10-point checklist for any memory layer.
Read the guideGuide · 14 October 2026
AI coding agent hooks, explained: Claude Code, Cursor, Codex, Copilot CLI and more
Which coding agents have hooks, which events they fire, what to use them for, and seven rules for hooks that never break a session.
Read the guideGuide · 11 October 2026
Long context vs RAG vs memory: when does a 1M-token context window win?
Full context wins when everything fits, and costs about 4.6 times as much. What happens at 1.27 million tokens, why RAG isn't dead, and how to choose.
Read the guideGuide · 6 October 2026
Context engineering, explained: how to give AI agents the right context
Context engineering vs prompt engineering, why bigger context windows don't fix context rot, six techniques to manage a token budget, and a checklist for your own agents.
Read the guideGuide · 5 October 2026
AI memory layers, explained: long-term memory for AI agents
Types of agent memory, context window vs RAG vs memory, vector vs graph, how to benchmark it, and how to choose between a hosted memory API and self-hosted memory.
Read the guidePre-launch · 4 October 2026
Why your AI coding tools forget everything, and why they need a memory
Every session starts from zero, and no tool knows what the others learned. What that costs in time and tokens, and how one private, encrypted memory fixes it.
Read the post