Book: AI Agents Pocket Guide: Patterns for Building Autonomous Systems with LLMs Also by me: Thinking in Go (2-book series) — Complete Guide to Go Programming + Hexagonal Architecture in Go My project: Hermes IDE | GitHub — an IDE for developers who ship with Claude Code and other AI coding tools Me: xgabriel.com | GitHub A user tells your agent on Tuesday that they prefer metric units. Friday, different session, the agent quotes a distance in miles. The user files a ticket. You check the logs and the Tuesday conversation is right there, with a clean assistant response saying "got it, metric." But the Friday session opened with a fresh messages[] array and no idea that Tuesday ever happened. That gap is what people mean when they say "agent memory," and it is almost always misdiagnosed. The team patches it by ramming the entire user history into the system prompt. Cost goes up, latency goes up, and the agent still misses the preference half the time.…