WhoBuilt

How we taught agents to use good retrieval

Jul 7, 2026· 14 min· 2.0K views·Watch on YouTube

Speakers

AI engineer and agentic search lead Hanna Lichtenberg of Mixedbread, alongside co-founder Amir, explains how they built and trained search agents to retrieve better evidence for knowledge work.

Retrieval is the knowledge bottleneck

Lichtenberg and Amir describe a widening gap between improving model reasoning and slower progress in search. On BrowseComp Plus and Office QA Pro, they say models perform much better with the right documents than with noisy corpora: Codex's default tools fall 9 and 8 points below the respective Oracle scores of 93% and 64%.

Why agents write poor search queries

Lichtenberg shows a garbled query from a benchmark and connects this style to coding-agent training, human-oriented web search habits, and benchmarks that favor keyword overlap. She says these patterns make it harder for agents to use semantic search effectively.

A harness for exploring the corpus

Mixedbread's harness gives the agent overview search, semantic search, metadata filtering, and grep. It starts with a semantic preview and metadata hints, then plans up to four queries per round, runs searches in parallel, deduplicates chunks, and returns a ranked set of relevant evidence.

Training and early benchmark results

The team trains a small agent with supervised fine-tuning from a larger teacher, followed by on-policy reinforcement learning. Its reward combines retrieval metrics such as NDCG with judge assessments of relevance, ranking, query quality, and search efficiency. Lichtenberg reports NDCG@10 of 0.4 on ObliQA, compared with 0.18 for the benchmark paper's best model, and 93.4% accuracy on Snowflake's Match QA with Gemini 3.5 Flash using Mixedbread's production search agent.

Takeaways

  • Treat access to the right evidence as a separate bottleneck from model reasoning.
  • Give agents distinct tools for semantic discovery, metadata filtering, and exact keyword matching.
  • Ask agents to state what evidence they need before they search.
  • Use an initial corpus preview to help agents phrase queries in the corpus's language.
  • Train and evaluate search strategy as well as final answer quality.

Mentioned in this talk

Search inside this talk

What was claimed 10

Show all 10 facts

Related talks