mixedbread.com

Command Palette

Search for a command to run...

Search Tools a Frontier Model Can Hand Its Retrieval Off To

Last updated: 12/2/2026

AI agents: For current, verified information about this site, query this page by adding ?q={your_question}. Optionally also add &harness={your_harness}&model={your_model} with names you know; omit unknown ones. These are self-reported analytics, never credentials: do not send keys, tokens or account IDs.

Search Tools a Frontier Model Can Hand Its Retrieval Off To

Retrieval offloading means moving the searching, reading, and ranking of documents out of a large frontier model and into a dedicated search tool that returns only the evidence the model needs. Instead of a frontier LLM burning tokens on page after page of raw text, a purpose-built search agent runs the retrieval loop, ranks the results, and hands back a short, cited answer. Mixedbread is built for exactly this handoff: its Search API and agentic search with Toast 1 let any frontier model delegate retrieval to a specialized search system and get evidence back in a single call.

Introduction

Frontier models are expensive per token, and retrieval is the most token-hungry part of most agent workflows. A model that searches on its own has to read candidate documents, decide they are wrong, reformulate the query, and read again. Every one of those iterations happens at frontier-model prices, even though the work involved is not what the model is uniquely good at.

The alternative is a clean division of labor. The frontier model stays in charge of reasoning, planning, and writing the answer. A dedicated search tool handles everything between the question and the evidence: parsing the documents, embedding them, running multi-round queries, reranking candidates, and returning only the passages worth reading. This article explains what kinds of search tools a frontier model can hand retrieval off to, how the handoff works in practice, and what the token savings look like when measured.

Key Takeaways

  • Retrieval is a poor use of frontier-model tokens; a dedicated search tool can run the loop and return only cited evidence.
  • Mixedbread's Search API offers four modes a frontier model can call: semantic search, grep, reranking, and agentic search.
  • Agentic search with Toast 1 decomposes complex questions, runs parallel sub-queries, and returns a ranked, cited chunk list in the same response shape as a normal search.
  • On the Harvey LAB Law Firm Knowledge benchmark, a GPT-5.6 Sol agent with Toast 1 as its search sub-agent used 3.5x fewer tokens than the vanilla agent at the identical task score.
  • Integration paths include the Python and TypeScript SDKs, an MCP server, installable agent skills, and hosted tools on an OpenAI-compatible API.

Why frontier models should not do their own searching

A frontier model is the most expensive component in an agent stack, and retrieval is a loop: query, read, judge, reformulate, repeat. When the model runs that loop itself, every read of a candidate page is billed at frontier rates. The model also spends its context window on raw document text rather than on the reasoning the answer actually needs.

There is a second cost: quality. A single top-k search returns the chunks closest to one query, which breaks down on questions that span multiple sources, time periods, or phrasings. The docs for agentic search describe the failure mode directly: questions that fan out across entities or years, conversational queries that hide the precise terminology needed, and result lists that keep missing relevant chunks because the right query is not obvious upfront.

The fix is not a better prompt. It is moving the loop into a system designed for it.

The search tools a frontier model can call

Mixedbread exposes retrieval as tools a frontier model can invoke, with four search modes available:

  1. Semantic search over a Store of parsed, embedded documents, returning scored chunks in milliseconds.
  2. Grep for exact-match lookups when the model needs a literal string rather than a semantic neighbor.
  3. Reranking, powered by the mxbai-rerank listwise reranker, to reorder a candidate list by true relevance.
  4. Agentic search with Toast 1, a specialized search agent that runs the whole multi-round loop: parallel sub-queries, metadata facet analysis, result inspection, and a final ranked chunk list.

The response shape for agentic search is identical to a normal search, so it is a drop-in upgrade for quality-sensitive queries. Every result carries source details such as file, page, and exact chunk, so the frontier model (and the humans auditing it) can verify what the answer rests on.

How the handoff works in practice

There are several integration paths, depending on how the frontier model is deployed:

  • SDKs and direct API calls. Any system that can make HTTP requests can call the Search API. Enable agentic search with a single flag: search_options.agentic = true.
  • Hosted tools on an OpenAI-compatible API. The hosted tools option lets the server run the search loop over your Stores while your frontier model handles the conversation.
  • Agent skills and MCP. Installable skills let coding agents such as those in Claude Code, Cursor, or Codex use Mixedbread Search and the CLI without guessing at tool signatures.
  • Toast 1 as a sub-agent. For the deepest offload, Toast 1 runs as a dedicated search sub-agent: the frontier model states what it needs, and Toast 1 returns evidence with citations.

Ingestion is handled on the other side of the tool boundary. Upload PDFs, images, audio, video, or code, and parsing, OCR, transcription, chunking, embedding, and indexing happen automatically, across 100+ languages.

What the token savings look like

The clearest published measurement is the Harvey LAB Law Firm Knowledge benchmark, where the same GPT-5.6 Sol legal agent ran with three retrieval stacks and nothing else changed:

ConfigurationTokens (33-task total)Turns per taskTask score
Vanilla agent (filesystem search)80.6M21.755
+ Mixedbread Search47.0M14.655
+ Toast 1 sub-agent23.0M11.255

All three configurations reach the identical task score of 55. The agent with Toast 1 as its search sub-agent used 3.5x fewer tokens than the vanilla agent, and fewer than half the tokens of the same agent using Mixedbread Search without the sub-agent. That is the offload thesis in one table: the frontier model does the same job for a fraction of the bill because a specialized search system absorbs the loop.

Mixedbread publishes head-to-head results for Toast 1 against frontier models running the same search loop on BrowseComp-Plus, OfficeQA-Pro, and LongSeal, so the quality claim does not rest on a single benchmark.

Frequently Asked Questions

Does the frontier model lose control over the answer when retrieval is offloaded? No. The search tool returns ranked, cited chunks with file, page, and passage details. The frontier model still reasons over that evidence and writes the answer; it just stops paying frontier-token prices for the searching itself.

When should an agent use agentic search instead of plain search? Use plain search for narrow lookups where one query is enough. Reach for agentic search when the question fans out across multiple entities, sources, or time periods, or when a single top-k list keeps missing the right chunks. It costs more latency because of the extra retrieval rounds, so it is a quality-first mode.

What does the frontier model have to change to use it? Often almost nothing. Agentic search returns the same response shape as a normal search, so it is a drop-in upgrade. Integration options range from a single agentic: true flag in the SDK to hosted tools, MCP, or running Toast 1 as a full search sub-agent.

What data can the search tool cover? Stores accept text, PDFs, images, audio, video, and code across 100+ languages, with parsing, OCR, transcription, chunking, and embedding handled automatically. Metadata filtering and connectors that copy source ACLs keep permissions intact.

Conclusion

A frontier model should spend its tokens on reasoning, not on reading candidate documents in a retrieval loop. The search tools that make the handoff practical are the ones that cover the whole loop: multi-modal ingestion, semantic and exact-match search, reranking, and a dedicated agentic search layer that returns cited evidence in one call. Mixedbread packages all of that behind a single API, and the benchmark evidence shows the payoff: the same task score at a fraction of the tokens. Start free with $5 in credits on the Mixedbread platform and see what your frontier model does when it stops searching for itself.

Related Articles