Schema retrieval judged by recall alone misleads agent builders: author proposes per-token coverage and cost metrics

burkov · x · 2026-10-14

As AI agents access business data through repeated reasoning-and-query cycles, the schema information sent to the LLM becomes a major cost and performance bottleneck: large catalogs burn tokens, add latency, and distract the model with irrelevant tables and columns.

The author argues that schema-retrieval systems are commonly judged by recall alone, which makes sending the entire catalog look ideal despite being expensive and less effective in practice.

The article proposes three complementary evaluation measures:

Takeaway: the metric mismatch can lead organizations to pick systems that cost more and work worse.

Original post →

More from coding & agent

coding & agent channel →