Loading video player...
A deep dive into the context window - the most important constraint when using AI coding agents. Learn what makes up a context window (input and output tokens), why models have limits, and the critical "lost-in-the-middle" problem that causes models to deprioritize information buried in long conversations. Discover practical strategies for managing context effectively in Claude Code, including when to clear vs. compact conversations, why bigger context windows aren't always better, and how MCP servers can bloat your context. Understanding context windows is the key skill that separates developers who get great results from coding agents versus those who struggle. Includes real examples and best practices for maintaining lean, focused contexts that maximize AI coding performance. Become an AI Hero with my AI SDK v5 Crash Course: https://www.aihero.dev/workshops/ai-sdk-v5-crash-course Sign up to my mailing list: https://aihero.dev/newsletter Join the Discord: https://aihero.dev/discord