3 cookbooks for building the unified memory and context layer that powers reliable AI agents - from fundamentals to production patterns.
The 5 context sources, Valkey data structures for each, system instructions, conversation history, tool outputs, and long-term memory.
Build a complete context assembly function that gathers from all 5 sources + token budgeting.
Short-term vs long-term memory, pruning, multi-user isolation, monitoring, data structure reference.