# Context engineering

A pack of 10 talks from the AI Engineer YouTube channel, in the order to watch them. 4h 36m of video.
Page: https://aietalks.com/packs/context-engineering

More context can make an agent worse. Important facts vanish into the middle, old tool results crowd out the current job, and a catalog of 100 tools gives the model another search problem before it can begin the user's task. Truncation, retrieval, progressive disclosure, memory and active context editing each decide what survives inside the conversation. Tool routing makes that choice earlier by searching a catalog and loading only the relevant schemas. From there, context engineering reaches beyond the prompt. Browser agents need a compact view of the page, performance agents need summaries shaped for diagnosis, and Cloudflare exposes 2,600 endpoints through two tools so one generated program can complete many steps. Each design gives the model a smaller, more useful working set.

## This pack is for you if

- Your agent has a large context window but still forgets facts from earlier in the task.
- Adding tools or retrieved documents has made your agent slower and less reliable.
- You need to decide what the model should see now, what it can fetch later, and what it should forget.

## The talks, in order

### 1. Why More Context Makes Your Agent Dumber and What to Do About It

Nupur Sharma, Qodo | 26:27 | AI Engineer Europe 2026
Video: https://www.youtube.com/watch?v=EcqMYoIV57A
Summary: https://aietalks.com/talks/why-more-context-makes-your-agent-dumber-and-what-to-do-about-it.md

Why start here: Sharma names the failure that motivates Delucia's design: a model can accept a long prompt while losing what sits in the middle. Her split between open discovery and bounded validation gives Delucia a useful principle to make concrete: different work deserves different context.

### 2. How We Solved Context Management in Agents

Sally-Ann Delucia, Arize | 16:17 | AI Engineer Europe 2026
Video: https://www.youtube.com/watch?v=esY99nYXxR4
Summary: https://aietalks.com/talks/how-we-solved-context-management-in-agents.md

Why here: Sharma explains why more input does not guarantee more attention. Delucia shows the failure in a running product: blunt truncation breaks follow-up questions, so Alyx keeps the head and tail and makes the middle retrievable. Bouchard follows by testing whether any compaction is needed in the first place.

### 3. Context Engineering in 2026

Louis-François Bouchard, Omar Solano & Samridhi Vaid, Towards AI | 1:03:26 | AI Engineer World's Fair 2026
Video: https://www.youtube.com/watch?v=WP3hjUXd918
Summary: https://aietalks.com/talks/context-engineering-in-2026.md

Why here: Delucia has a working compression rule. Bouchard tests that instinct against prompt caching and finds that untouched history can be cheaper, faster and better at recall. His safer common ground is progressive disclosure, which Lesse turns into concrete platform controls.

### 4. Evolving Claude APIs for Agents

Katelyn Lesse, Anthropic | 13:25 | AI Engineer CODE 2025
Video: https://www.youtube.com/watch?v=aqW68Is_Kj4
Summary: https://aietalks.com/talks/evolving-claude-apis-for-agents.md

Why here: Bouchard warns against compacting by default. Lesse separates two actions that can be evaluated on their own: memory stores useful information outside the window, while context editing removes stale tool results. Shaikh and Rastogi apply the same discipline before tools enter the window at all.

### 5. The 100-Tool Agent Is a Trap

Sohail Shaikh & Ankush Rastogi, Prosodica | 28:27 | AI Engineer World's Fair 2026
Video: https://www.youtube.com/watch?v=vh2VGuQ3zhY
Summary: https://aietalks.com/talks/the-100-tool-agent-is-a-trap.md

Why here: Lesse edits context after a session has accumulated it. Shaikh and Rastogi prevent the buildup by routing a request before the model sees any schemas, then injecting only a few relevant tools. Monigatti widens that routing problem from tool catalogs to every source an agent may search.

### 6. Agentic Search for Context Engineering

Leonie Monigatti, Elastic | 1:03:13 | AI Engineer Europe 2026
Video: https://www.youtube.com/watch?v=ynJyIKwjonM
Summary: https://aietalks.com/talks/agentic-search-for-context-engineering.md

Why here: Shaikh and Rastogi retrieve tools. Monigatti argues that the same search decision governs all context, whether it comes from files, databases or memory. Her mix of simple specialist tools and flexible general tools leads into Dougherty's practical advice: let the agent retrieve structure instead of stuffing it into a prompt.

### 7. How to Build AI Agents that Actually Work

Patrick Dougherty, Rosco | 17:44 | AI Engineer Summit 2025
Video: https://www.youtube.com/watch?v=7MiFIhlkBoE
Summary: https://aietalks.com/talks/how-to-build-ai-agents-that-actually-work.md

Why here: Monigatti chooses search interfaces according to the query. Dougherty brings that choice inside the agent loop: retrieve tables and columns as needed, then tune the tool's input and output format for the model using it. Raj takes the same interface argument into the browser.

### 8. Browser Agents Don't Need Better Models. They Need Better Eyes.

Kushan Raj, ARK | 04:26 | AI Engineer World's Fair 2026
Video: https://www.youtube.com/watch?v=JnubYCYunk8
Summary: https://aietalks.com/talks/browser-agents-dont-need-better-models-they-need-better-eyes.md

Why here: Dougherty shows that a small change from Markdown to JSON can fix a database agent. Raj makes page representation the central design choice: give the browser agent a compact view of the whole page and report what changed after each action. Hablich follows with the same lesson from a production developer tool.

### 9. Building Agent Interfaces: Lessons from Chrome DevTools (MCP) for Agents

Michael Hablich, Google | 22:38 | AI Engineer Europe 2026
Video: https://www.youtube.com/watch?v=_B4Pv9ttFgY
Summary: https://aietalks.com/talks/building-agent-interfaces-lessons-from-chrome-devtools-mcp-for-agents.md

Why here: Raj compresses browser state so the model can see the page. Hablich compresses Chrome performance traces so the model can still reason after reading them, then measures the interface by tokens per successful outcome. Pai shrinks the model-facing interface again, replacing thousands of tool schemas with two executable tools.

### 10. Code Mode: Let the Code do the Talking

Sunil Pai, Cloudflare | 19:40 | AI Engineer Europe 2026
Video: https://www.youtube.com/watch?v=8txf05vVVl4
Summary: https://aietalks.com/talks/code-mode-let-the-code-do-the-talking.md

Why end here: Hablich shows how much careful work it takes to make 25 tools usable. Pai asks whether the model needs that menu at all. Cloudflare exposes 2,600 endpoints through search and execute, so one generated program can perform many steps without repeated model round trips. It is the pack's clearest example of context engineering changing the interface, not merely trimming the prompt.

## Editor's note

Delucia tests failures late in long sessions, Hablich measures tokens per successful outcome, and Pai insists that generated code remain inspectable. Those checks need records of real runs. Kitaru captures an agent's inputs, outputs and tool calls so a team can replay the same task after changing retrieval, compaction or tool exposure and inspect what the new context changed.

Written by the AIE Talks editors (the Kitaru team), not by any of the speakers.
