AI Engineer · Published 2026-10-02

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

Open on YouTube ↗

Summary

Overview

  • Speaker: Jakub Hojsan
  • Channel: AI Engineer
  • Main topic: Building semantic search and retrieval systems for coding and review agents using Exa
  • Purpose: Explain how Exa's semantic search infrastructure solves the knowledge cutoff and context overload problems for coding and review agents. Jakub Hojsan discusses the core limitations of large language models in coding and review agents, specifically focusing on the knowledge cutoff problem where models lag behind upstream repository updates. He introduces Exa's semantic search engine designed to give agents context-rich highlights, enabling agents to handle breaking dependency and version changes accurately. The presentation covers Exa's architecture, token-efficient highlights, cost efficiency, model standardization, and practical agent integration via MCP.

Topic Map

The Problem: Knowledge Cutoff in Coding Agents

  • Explanation: LLMs used in coding and review agents typically have a knowledge cutoff of several months, causing a gap between model training and repository release dates where breaking changes occur.
  • Key claims:
    • Models typically lag around six months from knowledge cutoff date to release date.
    • Real-world repositories experience upstream changes post-cutoff that models cannot natively review or understand.
  • Examples:
    • A cuVS Kmeans migration PR where the inertia check parameter was removed after model cutoff.
  • Terminology:
    • Knowledge cutoff
    • Launch lag
    • Model blind spot
  • Why it matters: Coding agents fail to correctly review PRs or handle dependency bumps because they are unaware of recent upstream API changes.

Why Search Is Not Enough for Agents

  • Explanation: Simply providing a web search tool or 10 blue links to an LLM does not work because models need context-aware instructions on when and how to use search.
  • Key claims:
    • LLMs do not know out-of-the-box when a version or dependency change requires checking upstream sources.
    • Agents need explicit rules and triggers to invoke web search for breaking changes.
  • Examples:
    • Claude Code having access to a web search tool but failing to use it because it doesn't know a newer version exists.
  • Terminology:
    • Agantic search
    • Two-step process
    • Model rules
  • Why it matters: Giving an agent a search tool without instruction or proper API design results in the model ignoring the tool or hallucinating.

Exa Features for Models

  • Explanation: Exa provides four key benefits to models: transparency, token-efficient highlights, cost efficiency, and standardization.
  • Key claims:
    • Exa returns exact sources and queries instead of a black-box synthesis.
    • Highlights distill pages down to ~700 characters per result, saving tokens and reducing latency.
    • Pricing is significantly more effective for large workloads compared to native search providers.
    • Provides a single standardized API across any model provider.
  • Examples:
    • Exa Search API returning specific lines from documentation without dumping whole web pages into context.
  • Terminology:
    • Transparency
    • Token-efficient highlights
    • Standardization
    • Exa Search API
  • Why it matters: Reduces token usage, lowers latency, and avoids black-box retrieval limitations of standard LLM provider web search tools.

Exa Agent and Exa Connect

  • Explanation: Exa Agent and Exa Connect expand search capabilities from the open web to private and specialized data providers like Similarweb, Particle, and Crunchbase.
  • Key claims:
    • Exa Connect reaches private data providers used by financial firms and hedge funds.
    • Can orchestrate complex searches across web analytics, media intelligence, and private markets.
  • Examples:
    • Querying all attendees at the AI Engineer Conference or finding high-compute AI startup founders.
  • Terminology:
    • Exa Agent
    • Exa Connect
    • Similarweb
    • Crunchbase
    • Particle
  • Why it matters: Allows agents to retrieve structured proprietary data and real-time private market information beyond public web pages.

Key Points

Models lag behind real-world repositories

  • Explanation: Because of training cutoffs, LLMs miss recent dependency bumps and breaking API changes.
  • Evidence: Timeline comparison showing GPT-5.5, Sonnet 4.5, and Claude Opus 3 with ~6 months launch lag.
  • Practical implication: Engineers must supply external search grounding to agents reviewing pull requests.

Token-efficient search is essential

  • Explanation: Feeding entire web pages or repositories into an LLM wastes context and increases costs.
  • Evidence: Exa highlights return ~700 characters per result with zero loss in evaluation quality.
  • Practical implication: Lower latency and reduced token costs for agentic workflows.

Frameworks, Models & Processes

Exa Multi-Stage Search Architecture

  • How it works: Processes natural language queries into embeddings, applies keyword filtering and semantic search, and runs re-ranking steps to drop irrelevant results.
  • Components:
    • Query embedding
    • Keyword filtering
    • Semantic search
    • Re-ranker
    • Content retrieval
  • When to use: When indexing and querying billions of web and private documents with high precision.

Examples & Case Studies

An LLM reviewing a PR removing inertia_check parameter marked it as a clean refactor without web search, missing the breaking API change.

  • Illustrates: The model blind spot caused by knowledge cutoffs.
  • Lesson: Agents require web search grounding to identify upstream breaking changes.

Actionable Takeaways

  • Immediate:
    • Use npm i exa-mcp to drop Exa search into any MCP coding agent.
    • Incorporate rules into your agent prompts to trigger search on dependency or version diffs.
  • Strategic:
    • decouple search infrastructure from specific LLM providers to maintain flexibility and standardization.
  • Questions to investigate:
    • How can private data providers be best integrated into internal enterprise coding workflows?

Claims Worth Verifying

  • Exa adds zero extra latency to search calls while providing contents of almost any page on the internet. (performance)

Notable Quotes

"Coding agents don't skim ten blue links. They need the right answer in a handful of tokens fast." (at 0:20) "A model can't search a gap if it doesn't know it has. Bolt on an API and it still won't call it unless the agent knows the tool is there and when to reach for it." "Coding is just the beginning." (at 12:18)

Compressed Summary

  • LLM knowledge cutoffs create a 6-month blind spot for coding agents handling PRs and dependencies.
  • Exa provides semantic search with token-efficient highlights (~700 characters per result).
  • Exa Connect bridges public web search with private market, media, and web analytics data providers.
  • Easily integrated via MCP for tools like Cursor, Claude Code, and Windsurf.
  • Keywords: semantic search, coding agents, knowledge cutoff, mcp, retrieval
  • Core insight: Coding agents require real-time semantic search with token-efficient highlights and explicit agentic rules to overcome knowledge cutoffs and accurately review code.

Core insights

6
Failure Modemedium noveltystrong evidence

Giving an agent a web-search tool is insufficient; the agent must be given explicit rules/triggers that tell it when a version or dependency change warrants consulting upstream sources, otherwise it silently ignores the tool.

Why it matters

Agents fail quietly rather than erroring: Claude Code had access to web search but did not call it because it did not know a newer version existed, producing a confident but wrong review. Tool availability is not the same as tool invocation policy.

Generalization

Any agent that must conditionally call an external service needs an explicit invocation policy (triggers, preconditions, defaults) layered on top of raw tool access, or it will not call the tool at the moments that matter.

A model can't search a gap if it doesn't know it has. Bolt on an API and it still won't call it unless the agent knows the tool is there and when to reach for it.
Open source video
Agents need explicit rules and triggers to invoke web search for breaking changes.
Open source video
Claude Code having access to a web search tool but failing to use it because it doesn't know a newer version exists.
Open source video
Failure Modemedium noveltystrong evidence

Model knowledge cutoffs create a ~6-month blind spot precisely at breaking-change boundaries, where a PR that looks like a clean refactor actually removes an API parameter added/removed upstream after the cutoff.

Why it matters

The failure is not general staleness but a specific class of review error (dependency bumps and API removals) that looks locally correct to the model and is therefore hard to catch without external grounding.

Generalization

Static model knowledge is systematically wrong exactly at the highest-risk change points (post-cutoff upstream API shifts), so grounding should be version-aware rather than broadly topical.

An LLM reviewing a PR removing inertia_check parameter marked it as a clean refactor without web search, missing the breaking API change.
Open source video
A cuVS Kmeans migration PR where the inertia check parameter was removed after model cutoff.
Open source video
Models typically lag around six months from knowledge cutoff date to release date.
Open source video
Empirical Resulthigh noveltymoderate evidence

Retrieval returns token-efficient highlights (~700 characters per result) instead of full pages, and the speaker claims this yields zero loss in evaluation quality.

Why it matters

Where distillation happens (at retrieval time vs. dumping raw pages into context) is an architectural decision that directly controls token cost, latency, and context pressure without sacrificing answer quality.

Generalization

Pushing compression to the retrieval boundary rather than the prompt is a reusable context-engineering pattern for any agent that must consult many external sources.

Highlights distill pages down to ~700 characters per result, saving tokens and reducing latency.
Open source video
Exa highlights return ~700 characters per result with zero loss in evaluation quality.
Open source video
Coding agents don't skim ten blue links. They need the right answer in a handful of tokens fast.
Open source video
Tradeoffmedium noveltymoderate evidence

Returning exact sources and queries (transparency) instead of a black-box synthesized answer is treated as a feature that distinguishes a dedicated retrieval layer from native provider web search.

Why it matters

Black-box synthesis removes the provenance an agent needs to verify breaking changes and prevents the agent from reasoning about or re-querying the underlying evidence.

Generalization

Retrieval layers designed for agents should expose raw sources and the query used, not a pre-digested answer, so downstream agents can audit and re-query.

Exa returns exact sources and queries instead of a black-box synthesis.
Open source video
Reduces token usage, lowers latency, and avoids black-box retrieval limitations of standard LLM provider web search tools.
Open source video
Architecturemedium noveltymoderate evidence

A single standardized search API across model providers lets search infrastructure be decoupled from any specific LLM provider.

Why it matters

It makes retrieval a portable dependency rather than a provider-locked one, enabling model swaps without reworking the retrieval path and matching pricing/behavior across workloads.

Generalization

Treat retrieval as an infrastructure service with a stable interface, separate from the model runtime, to preserve flexibility and avoid vendor lock-in.

Provides a single standardized API across any model provider.
Open source video
decouple search infrastructure from specific LLM providers to maintain flexibility and standardization.
Open source video
Mechanismlow noveltymoderate evidence

The retrieval pipeline is multi-stage: query embedding, keyword filtering, semantic search, re-ranking, then content retrieval.

Why it matters

A re-ranker that drops irrelevant results before content retrieval is what allows high precision over billions of documents while still keeping the returned payload small.

Generalization

Hybrid keyword + semantic retrieval with an explicit re-rank stage is a standardizable pattern for large-corpus agent grounding.

Processes natural language queries into embeddings, applies keyword filtering and semantic search, and runs re-ranking steps to drop irrelevant results.
Open source video
When indexing and querying billions of web and private documents with high precision.
Open source video

Deep dives

5

Tool invocation policy: teaching agents when to search, not just how

Research question

How much does an explicit trigger/rules layer improve breaking-change detection over raw search-tool access alone, and what trigger encodings maximize invocation precision/recall?

Why

The core failure is silent non-invocation: an agent with web search still marks a post-cutoff API removal as a clean refactor. If trigger design can be formalized and ablated, the agent harness gains a policy layer as important as the tools themselves.

A model can't search a gap if it doesn't know it has. Bolt on an API and it still won't call it unless the agent knows the tool is there and when to reach for it.
Open source video
Claude Code having access to a web search tool but failing to use it because it doesn't know a newer version exists.
Open source video
Agents need explicit rules and triggers to invoke web search for breaking changes.
Open source video
Source video

Highlight distillation and the zero-loss quality claim

Research question

Do ~700-character retrieval highlights preserve answer quality versus full pages on breaking-change and dependency-reasoning tasks, or does the zero-loss result hold only on the speaker's evaluation set?

Why

Compression at the retrieval boundary is a reusable context-engineering pattern, but the claim that it is free of quality loss is unverified and, if false, would silently degrade exactly the highest-risk reviews.

Exa highlights return ~700 characters per result with zero loss in evaluation quality.
Open source video
Highlights distill pages down to ~700 characters per result, saving tokens and reducing latency.
Open source video
Coding agents don't skim ten blue links. They need the right answer in a handful of tokens fast.
Open source video
Source video

Version-aware versus topical grounding for coding review

Research question

Is static model knowledge systematically wrong at post-cutoff upstream API shifts specifically, and does version-aware retrieval outperform broadly topical search for PR review accuracy?

Why

The failure class is narrow and locally invisible: a parameter removal reads as a clean refactor. If staleness concentrates at breaking-change boundaries, grounding should be version-aware rather than topic-driven, which changes index and query design.

An LLM reviewing a PR removing inertia_check parameter marked it as a clean refactor without web search, missing the breaking API change.
Open source video
A cuVS Kmeans migration PR where the inertia check parameter was removed after model cutoff.
Open source video
Models typically lag around six months from knowledge cutoff date to release date.
Open source video
Source video

Transparency and provenance contracts for agent retrieval layers

Research question

Does returning raw sources and the executed query (rather than a synthesized answer) materially improve an agent's ability to audit and re-query breaking-change evidence?

Why

Black-box synthesis removes the provenance an agent needs to verify a dependency bump and prevents re-querying the underlying evidence. This makes the retrieval interface shape a decision with downstream reasoning consequences.

Exa returns exact sources and queries instead of a black-box synthesis.
Open source video
Reduces token usage, lowers latency, and avoids black-box retrieval limitations of standard LLM provider web search tools.
Open source video
Source video

Retrieval as provider-agnostic infrastructure

Research question

What is the operational cost of decoupling retrieval from the model provider versus using native built-in search, and at what workload scale does the claimed cost advantage appear?

Why

A standardized search API across providers makes retrieval a portable dependency, enabling model swaps without reworking the retrieval path, but adds integration and operational surface that has to be justified.

Provides a single standardized API across any model provider.
Open source video
Pricing is significantly more effective for large workloads compared to native search providers.
Open source video
decouple search infrastructure from specific LLM providers to maintain flexibility and standardization.
Open source video
Source video

Article ideas

4

Your Agent Has Web Search and Still Won't Use It: Tool Access Is Not Tool Policy

Registering a search tool is not a retrieval capability; agents fail silently unless the harness encodes explicit trigger conditions for dependency and version diffs, so invocation policy — not tool count — is the real engineering artifact.

Angle

Trace the inertia_check PR miss end to end, contrast tool registration with trigger-rule design, and argue that agent harnesses need a first-class policy layer.

Source video

Compress at Retrieval, Not at the Prompt: The Case for ~700-Character Highlights

Pushing distillation to the retrieval boundary rather than stuffing full pages into context controls token cost and latency without sacrificing answer quality — but only if the zero-loss claim survives scrutiny on code and dependency tasks.

Angle

Compare full-page context stuffing against token-bounded highlight retrieval, examine where the zero-loss claim is and isn't verified, and derive context-budget planning consequences.

Source video

The Six-Month Blind Spot Lands Exactly Where It Hurts: Version-Aware Grounding for Code Review

Model staleness is not uniformly distributed — it concentrates at post-cutoff upstream API shifts, so grounding must be version-aware rather than topical, otherwise reviews are confidently wrong at the highest-risk change points.

Angle

Use the inertia_check removal as the canonical case, argue against broad topical search, and specify what version-aware triggers and indexes would have to look like.

Source video

Don't Give Your Agent Answers, Give It Sources: Provenance as a Retrieval Feature

Black-box synthesized search answers strip the provenance agents need to verify and re-query evidence, so agent-facing retrieval layers should return raw sources plus the executed query as a deliberate interface contract.

Angle

Contrast native provider web search against a transparent retrieval layer and show how provenance enables auditing and re-querying of breaking-change evidence.

Source video

Project ideas

4

Trigger-Policy Ablation Harness for Breaking-Change Review

beyond-evals

Adding explicit dependency-diff and version-bump trigger rules to a coding agent measurably increases search-invocation recall on post-cutoff breaking changes compared to tool access alone, without unacceptable false-positive invocation cost.

Proof of concept

Build a small eval of PRs containing post-cutoff API parameter removals (seeded from the inertia_check pattern); run three arms — no tool, tool with no trigger rules, tool with encoded trigger rules — and log whether search fires and whether the review flags the breaking change.

Measurement

Search-invocation precision/recall and breaking-change detection rate per arm; false-positive invocation rate.

Source video

Highlight-Fidelity Benchmark for Code and Dependency Reasoning

beyond-evals

~700-character highlights match full-page retrieval on breaking-change detection accuracy while substantially reducing tokens, but the quality parity degrades on tasks requiring surrounding multi-file context.

Proof of concept

Construct a benchmark of dependency-bump and API-shift questions derived from real post-cutoff changes; run identical agents with full-page retrieval versus highlight retrieval and score answer correctness and token consumption.

Measurement

Accuracy delta between full-page and highlight arms, tokens per query, latency per query, and breakdown by task requiring broad vs. narrow context.

Source video

Provenance-First Retrieval Adapter

gatehouse

Exposing raw sources and the executed query to the agent (instead of a synthesized answer) increases the rate at which an agent corrects an initially wrong review by re-querying evidence.

Proof of concept

Wrap a standardized search API behind two interfaces — synthesized-answer and source-plus-query — and run both against review tasks with a deliberately ambiguous first retrieval, measuring whether the agent re-queries and fixes its verdict.

Measurement

Rate of successful self-correction after re-query, total tokens used, and number of retrieval round-trips per task.

Source video

Private-Source Grounding Prototype for Enterprise Code Review

new

Connecting private/enterprise retrieval sources to a coding agent improves PR review accuracy on internal dependency changes relative to public-web-only grounding.

Proof of concept

Stand up a small internal corpus of proprietary API changelogs and internal docs, wire it as an additional retrieval scope for a review agent, and compare review verdicts against a public-web-only baseline on internal dependency bumps.

Measurement

Review accuracy on internal dependency-change PRs, coverage of private sources hit per query, and added latency versus public-only.

Source video

Architectural implications

3

Search is being pulled out of the model provider's built-in web tool and into a separate, standardized retrieval service.

Before

Rely on the LLM provider's native browsing/search tool, accepting its black-box synthesis.

After

Route agent retrieval through an independent API that returns sources, queries, and token-bounded highlights.

Consequence

Retrieval becomes a swappable, provider-agnostic infrastructure component, decoupling agent design from model vendor lock-in.

Source video

An agent's ability to use search depends on an explicit rules/trigger layer, not just tool registration.

Before

Register a search tool and assume the agent will call it when needed.

After

Encode prompts/rules that trigger search on dependency and version diffs.

Consequence

Agent harnesses gain a policy layer that governs when external calls fire, becoming as important as the tools themselves.

Source video

Compression shifts from the prompt side to the retrieval side.

Before

Fetch full pages/repos and stuff them into context.

After

Retrieve ~700-character highlights per result and let the agent pull more only when needed.

Consequence

Lower token spend and latency with the claim of no evaluation-quality loss, changing how context budgets are planned.

Source video

Tradeoffs and failure modes

4

Tool access without invocation policy

Benefit

Adding a search tool is cheap and requires no scaffolding changes.

Cost or risk

The agent silently ignores the tool when it cannot detect that a newer version exists, producing confident incorrect reviews (the inertia_check PR marked as a clean refactor).

A model can't search a gap if it doesn't know it has. Bolt on an API and it still won't call it unless the agent knows the tool is there and when to reach for it.
Open source video
Source video

Token-efficient highlights vs. completeness

Benefit

~700 characters per result saves tokens and reduces latency, claimed with zero loss in evaluation quality.

Cost or risk

Aggressive distillation could drop context the agent later needs, and the zero-loss claim is evaluation-dependent and not independently verified here.

Highlights distill pages down to ~700 characters per result, saving tokens and reducing latency.
Open source video
Source video

Standardized retrieval API vs. native provider integration

Benefit

One interface across any model provider, with pricing more effective for large workloads and no provider lock-in.

Cost or risk

An external retrieval dependency adds an integration and operational surface versus using the provider's built-in search.

Pricing is significantly more effective for large workloads compared to native search providers.
Open source video
Source video

Latency claim

Benefit

Exa reportedly returns content from almost any page with no added latency.

Cost or risk

A 'zero extra latency' claim is a strong performance assertion that may not hold under load or at scale.

Exa adds zero extra latency to search calls while providing contents of almost any page on the internet.
Open source video
Source video

Open questions

4

How should private data providers be integrated into internal enterprise coding workflows?

Why unresolved

The summary flags this as an open investigation and only demonstrates consumer-style Exa Connect queries (e.g., conference attendees, startup founders), not internal code/enterprise sources.

Research direction

Prototype connecting private/enterprise retrieval sources to coding agents and measure whether grounding improves PR review accuracy.

Source video

Do distilled highlights (~700 characters) preserve quality across task types, or only on the evaluation the speaker used?

Why unresolved

The zero-loss-in-eval-quality claim is asserted without detail on the evaluation set or whether it generalizes to code and dependency reasoning.

Research direction

Build a benchmark that compares full-page vs. highlight retrieval on breaking-change detection tasks.

Source video

What reliably triggers search on a breaking change, and how does an agent detect that a version diff matters?

Why unresolved

The summary states agents need explicit triggers but does not specify how the trigger condition is detected or encoded.

Research direction

Design and ablate trigger heuristics (dependency-diff detection, version-bump rules) and measure invocation precision/recall.

Source video

Does Exa truly add zero extra latency, and how does it scale?

Why unresolved

Listed explicitly as a claim worth verifying with a performance tag and no supporting measurement.

Research direction

Run controlled latency benchmarks of Exa calls vs. native search under realistic agent workload.

Source video

Key claims

7
factualVerification needed

LLMs used in coding/review agents lag roughly six months between knowledge cutoff and release date.

Evidence

Models typically lag around six months from knowledge cutoff date to release date.

Question

What is the actual measured lag per model, and does it consistently produce breaking-change misses?

Source video
comparativeVerification needed

Exa highlights return ~700 characters per result with zero loss in evaluation quality.

Evidence

Exa highlights return ~700 characters per result with zero loss in evaluation quality.

Question

Which evaluation set was used, and does quality hold for code/dependency reasoning?

Source video
factualVerification needed

Exa adds zero extra latency to search calls while providing page content.

Evidence

Exa adds zero extra latency to search calls while providing contents of almost any page on the internet.

Question

Under what load and corpus conditions does zero added latency hold?

Source video
comparativeVerification needed

Exa pricing is significantly more effective than native search providers for large workloads.

Evidence

Pricing is significantly more effective for large workloads compared to native search providers.

Question

At what workload scale and query mix does the cost advantage materialize?

Source video
causalVerification needed

Agents cannot use search unless told when to call it, so explicit rules are required.

Evidence

Agents need explicit rules and triggers to invoke web search for breaking changes.

Question

How much does adding trigger rules improve breaking-change detection over tool access alone?

Source video
causalVerification needed

Giving an agent a search tool without instruction results in the model ignoring the tool or hallucinating.

Evidence

Giving an agent a search tool without instruction or proper API design results in the model ignoring the tool or hallucinating.

Question

What is the measured ignore/hallucinate rate for ungrounded search tools?

Source video
factualVerification not requested

Exa provides a single standardized API across any model provider.

Evidence

Provides a single standardized API across any model provider.

Source video

Connections

5