How AI Agent Memory Works
Separate model context, task state and saved preferences. Use Python and SQLite to test consent, scoped retrieval, stale updates, expiry and deletion.
Read the articleA personal publication for curious developers
Practical articles and visual lessons on software, AI, and the systems behind everyday applications.
Read. Try. Understand.
Separate model context, task state and saved preferences. Use Python and SQLite to test consent, scoped retrieval, stale updates, expiry and deletion.
Read the articleBuild a read-only HTTP adapter with validated inputs, controlled errors and bounded retries. Test a local API without model credentials or real secrets.
Build a bounded support assistant with one read-only tool, a reviewable trace and clear handoffs. Run fixtures first, then connect an optional model.
Build a local read-only MCP glossary server with the official Python SDK. Test discovery, valid calls, rejected inputs and subprocess shutdown.
Expose one documentation service as a resource, search tool and reusable prompt. Run discovery and use locally, then check host support and access boundaries.
Compare a direct HTTP API with an MCP adapter through the same local weather lookup, including discovery, schemas, access boundaries and maintenance costs.
SkillsHats Visualize
Follow an algorithm step by step. Change an input. Watch a system respond. Build an intuition for what the code is doing.
Explore visual lessonsData structures & algorithms · System design
One comparison. Half the possibilities.
Looking for 23: 12 is too small. Keep the right half.