Context engineering isn't just about throwing more data at your LLM - it's about giving it the right context at the right time.
In this talk for @OReillyMedia, our Developer Relations Engineer @tuanacelik walks through how memory blocks help you build agents that maintain structured context for complex tasks. She demonstrates artifact memory blocks using a restaurant order tracking bot - showing how to distill entire conversations down to just the essential structured information (pizza type, toppings, address) rather than processing the full chat history.
Key concepts covered:
· Different types of memory blocks (static, fact extraction, vector, artifact)
· Context ratio management - balancing chat history vs system prompts vs memory
· Using agent workflows to construct and optimize context step-by-step
The example shows how artifact memory blocks can transform a meandering conversation into a clean, structured order - exactly what you need for production agents handling real-world tasks.
Watch the full talk: youtube.com/watch?v=POO3ck…