Slides from my talk at O'Reilly AI CodeCon
Video: https://www.youtube.com/watch?v=zMM5zqesL1g
How do you get the best out of AI systems when every token in the context window matters? In this talk I break down context engineering - the art and science of filling an AI’s limited memory with the right mix of instructions, data, and history so it can perform at its best.
You'll learn:
- What tokens and context windows really are, and why they matter 
- Why prompt engineering often fails without strong context management 
- Practical strategies to avoid vague, hallucinated, or poisoned responses 
- Patterns for context management - Write, Select, Compress, Isolate
- How modern AI tools like Cursor and Cline optimize context automatically 
- Actionable tips for AI-assisted coding: from error logs and design docs to database schemas and PR feedback
Whether you’re building with coding agents, debugging with AI, or designing smarter prompts, this talk will help you make every token count.