Searching widely and choosing what an AI should read are different jobs. This context-engineering interview explains a two-stage approach: retrieve a broad set of potentially useful documents, then use a Retrieval rerankingReordering retrieved candidates with a stronger relevance model.Full definition →, a model that reorders those results by relevance, to narrow what enters the answering model's Context and context windowContext is the information available for a generation; the context window is the capacity available to hold it.Full definition →. A wide initial search helps avoid missing evidence; the second pass limits irrelevant material in the text the model must work through. The guest also acknowledges developer complaints about the reranker's latency, while saying it matters less for the dynamic agents the reranker is increasingly used with. This makes selection quality and response time an explicit tradeoff when designing a document-answering system.
Terms in this piece · Glossary
Context and context window — Context is the information available for a generation; the context window is the capacity available to hold it.
Retrieval reranking — Reordering retrieved candidates with a stronger relevance model.
context engineering — Deciding what an agent sees at each step — the discipline that replaced prompt engineering once context windows got large enough to fill badly.
Model Context Protocol (MCP) — A published agreement for an AI application to discover what a separate program offers and ask it to run one of those offerings.