---
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://mixpeek.com/.well-known/search?q={query}"
  method: GET
  documentation: "https://mixpeek.com/llms.txt"
---

1.  [](/)
2.  [Diagrams](/diagrams)
3.  Agentic Retrieval: What Changes When the Caller Is Not a Person

[Back to Diagrams](/diagrams)Retrieval Mechanics

# Agentic Retrieval: What Changes When the Caller Is Not a Person

A person types four words. An agent sends its accumulated state, prior tool output and the reason it is asking. The retrieval layer is answering a different kind of caller.

![Diagram contrasting a human query with an agent query, showing how agent calls carry accumulated state and prior tool output, and what a retrieval layer must return differently as a result.](/diagrams/agentic-retrieval.webp)Full screen

A person types four words. An agent sends its accumulated state, prior tool output and the reason it is asking. The retrieval layer is answering a different kind of caller.

A person types "valve maintenance schedule".

An agent sends you this:

"the user asked about downtime. i already checked the ticket log and found nothing after march. tool output: 3 rows returned, status ok. i now need the valve maintenance schedule so i can compare it against the outage window."

The question is in there. So is prior context, tool output and status chatter. Nothing marks which span is the query, and the embedding has to represent all of it at once.

Every retrieval benchmark is built from queries that look like the first one. Which is why a system that scores well can still disappoint inside an agent loop.

A single fixed-length vector has to average the question together with everything around it, so the noise drags the representation away from what you actually wanted. Late interaction keeps one vector per token and scores each query token against its best match in the document, so noise tokens score low on their own and contribute almost nothing. If 40 percent of the query tokens are noise, that difference is the whole ballgame. The trade is storage and compute: a 512-token query becomes 512 vectors of 128 dimensions instead of a single 768-dim vector.

The other half is that the query is never alone. An agent researching a topic finds an overview, chases a specific claim with terms it didn't have before, looks for a second source that agrees or disagrees, and then decides it has enough. Nothing in a retrieval API tells it when that's true.

The AgentIR benchmark, published 2026, measures retrieval quality when queries come from reasoning traces instead of clean human queries. That's the workload worth measuring, because it's the one you have.

And budget the loop rather than the call. An agent will issue ten searches where a person issued one. Total steps to an answer matters more than latency per call, and no single-query benchmark measures it.

mxp.co/d/agentic-retrieval

\[image: agentic-retrieval.png\]

## Where this diagram appears

*   [Agentic RAG →](/agentic-rag)
*   [Multi-Stage Retrieval →](/guides/multi-stage-retrieval-how-agents-search-unstructured-data)

Run this on your own data

Mixpeek turns video, images, audio, and documents in your object storage into searchable, timestamped results through one API.

[Search your own data](https://studio.mixpeek.com/namespaces/create?mode=managed&utm_source=homepage&utm_medium=diagram_detail&utm_campaign=mvs_onramp)

## Related diagrams

[

![A similarity score is an ordinal signal. Within one query, against one index, with one model, higher is better, and that ordering is the entire guarantee. A cosine of 0.80 does not mean 80% similar, and the score is not linear in relevance either: the step from 0.9 to 0.8 is not the same loss as the step from 0.4 to 0.3. Four independent effects shape the absolute value and none is about whether the result is relevant. Training temperature: contrastive models divide similarity by a temperature, so two models can rank identically while one reports around 0.9 and the other around 0.4. The modality gap: a 0.3 text-to-image match can be as strong as a 0.7 image-to-image one. Distribution shape: some models cluster everything between 0.25 and 0.45, where 0.45 is the best possible match. And per-query difficulty: a rare query scores lower even when the right answer is first.](/diagrams/score-calibration.webp)

A 0.83 Cosine Is Not 83% Relevant



](/diagrams/score-calibration)[

![A portrait diagram. The headline reads Search ignores, under 400 dollars, with the subline: an embedding has no idea what a budget is, so the agent picked a second stage and wrote the filter itself. A search bar holds the query I need to furnish a reading nook under 400 dollars, annotated: 3 of 5 results break the budget. A rail badged plain search, feature\_search only, semantic match with no notion of price, shows five price cards: 922 dollars Steel Floor Lamp, 451 dollars Velvet Armchair and 663 dollars Leather Armchair outlined in rose as over budget, then 180 dollars Leather Armchair and 38 dollars Wood Floor Lamp; the chip reads 3 over budget. A bold line says the agent was given the same query and the whole stage catalog as tools. Two numbered trajectory cards follow: 1, feature\_search with query furniture for reading nook, 18712 ms, 5 docs; 2, attribute\_filter with price lt 400, 7 ms, 1 doc. A dark result band shows 180 dollars, Leather Armchair, the one result inside the budget, and the note that it derived price less than 400 from the sentence and nobody configured a filter. A footer line reads model gemini-2.5-flash-lite, 3 iterations, confidence 0.8, cost 0.00061 dollars, then mxp.co/d/search-that-reasons and real query, real trajectory, mixpeek.](/diagrams/search-that-reasons.webp)

Search Ignores "Under 400 Dollars": The Agent Wrote the Filter Itself



](/diagrams/search-that-reasons)