# Your Coding Agent Is 6 Months Out of Date — Jakub Hojsan, Exa

## Executive summary

Jakub Hojsan of Exa details how they built specialized search capabilities for coding and code-review agents, addressing the critical issue of Large Language Model (LLM) knowledge cutoffs. Exa's solution provides context-rich, token-efficient highlights by distilling massive documents (e.g., 100,000 characters) down to only the necessary snippets (e.g., 500 characters) for the LLM. The talk emphasizes that simply adding a web search tool is insufficient; agents require explicit rules for when and how to search. Exa's platform offers transparency (full search trace), cost efficiency, and model-provider independence, allowing integration across various LLMs and tools via the Exa MCP.

## Key takeaways

- The Knowledge-Cutoff Gap in Code Review: LLMs suffer from a knowledge cutoff, meaning they cannot review changes (like PRs) made after their training date. This gap is critical in code review, where reviewing recent changes requires access to current repository information.
- Context-Rich, Token-Efficient Highlights: Instead of returning entire web pages, Exa's search engine uses an interpretation step to distill large documents into small, highly relevant snippets (e.g., 500 characters) for the LLM, significantly improving context quality and efficiency.
- Agents Need Explicit Search Rules: Bolting on a web search tool is not enough. Agents must be provided with explicit rules (e.g., 'When a diff bumps a dependency, look at the upstream source') to guide when and how to use the search tool.
- Exa's Technical Advantages: Exa provides transparency by giving the full search trace (exact queries, sources, and highlights), offering cost-effective pricing compared to native web search APIs, and ensuring model-provider independence.

## Technical details

- Search Architecture: Exa uses a semantic search engine that provides context-rich highlights rather than traditional 'blue links.' The search process is described as computational, pulling specific lines at runtime without relying on an LLM for the core retrieval, thus adding zero extra latency.
- Exa MCP: The Exa Model Control Plane (MCP) allows for standardization, enabling a fixed API and set of parameters that can be used across various model providers (OpenAI, Anthropic, GLM), ensuring model-provider independence.
- Query-Dependent Highlights: This feature distills an entire page down to only the information needed to answer a specific query, allowing the model to focus on highly targeted context.
- Reranking and Indexing: The search process is a multi-stage process involving query embedding, keyword filtering, and semantic search, culminating in a reranking step to ensure the highest quality, most relevant information is passed to the model.

## Practical implications

- Code review agents can now reliably review changes (PRs) that occurred after the LLM's knowledge cutoff date.
- Developers can build more robust agents by integrating explicit rules for search usage, moving beyond simple tool access.
- The ability to distill massive amounts of data (e.g., 100,000 characters) into small, focused context windows improves LLM performance and reduces token costs.
- Build systems and CI pipelines can leverage Exa's standardized API to integrate web search capabilities regardless of the underlying LLM provider.

## Topics

AI Agents, Code Review, Semantic Search, LLMs, API Design, Knowledge Cutoff, Exa, Exa MCP docs, Exa MCP server (GitHub)

Source: https://www.youtube.com/watch?v=cKhpeEBnT1o
