WhoBuilt

Backtest Your Agent Against Yesterday's Web

Oct 19, 2026· 27 min· 4.3K views·Watch on YouTube

Speaker

Ryan Ahern, a full-stack engineer at Exa, explains Exa Snapshot and how teams can backtest agentic web search at an AI Engineer event.

Why agents need web search

Ahern describes how AI agents search across multiple pages to answer questions that go beyond their built-in knowledge. He says Exa provides search for coding agents and applications such as Cursor and Gamma, as well as financial firms looking for investment, risk, and due diligence information.

Search quality, cost, and speed

Ahern says Exa focuses on search quality, cost, and latency, and builds benchmarks that teams can adapt to their own use cases. He describes returning only the needed tokens to reduce input costs and cites search speeds below 300 milliseconds, alongside longer searches for broad tasks.

Snapshot makes past searches testable

Exa Snapshot lets teams run searches as they would today, but against information available at a chosen past date. It can retrieve a known URL's earlier content or search more broadly across Exa's index, which Ahern describes as covering about 100 billion documents and trillions of URLs. This helps avoid future information leaking into evaluations of past predictions.

Backtesting patterns and examples

Ahern walks through testing acquisition predictions before an announcement, as well as uses such as adverse media checks, counterparty due diligence, and coding models evaluated before a pull request was solved. Teams can use past data to build features for an existing model or test agentic search features one at a time.

Workshop results and overfitting

In a hands-on exercise, attendees tested yes-or-no features for predicting acquisitions one, seven, or 30 days beforehand. The scoring rewarded correct predictions and penalized false alarms, while misses had no effect. Ahern points out that a leaderboard entry tailored to the known companies illustrates overfitting and the value of a holdout set.

Takeaways

  • Use dated search snapshots to check whether a prediction relied on information available at the time.
  • Test agentic search features against the specific decisions your system needs to support.
  • Compare search quality, token cost, and latency when choosing how search fits into an application.
  • Keep a holdout set so repeated tuning does not make a system look better than it is.
  • For acquisition predictions, test features at multiple lead times and track false alarms as well as correct hits.

Mentioned in this talk

Search inside this talk

What was claimed 7

Related talks