QueryData
Google's QueryData API turns the question into SQL, guided by a tuned context set for each agent (query templates, facets and value searches) and scoped to the tables that agent needs.
Ostrander Pump & Valve Co. does not exist. Its people, customers, suppliers, products, data and documents are all synthetic, created for demos and prototyping. Every image on this site is AI-generated.
Ostrander Pump & Valve is a 52-year-old pump and valve maker from Rockford, Illinois, that never existed. I built it, along with five generations of its business systems, to find out how different ways of building AI data agents hold up against the kind of database real companies actually have.
The company's recent years are simulated day by day, through October 2026: orders, shipments, invoices, payroll, machine telemetry, warranty claims and the rest, on top of thinner history going back further. The result is one PostgreSQL database with the scars of every system that ever wrote to it. That database is the test bed.
Rockford, Ill. · Synthetic data estate
Est. 1974 · Fictional
Why build a fake company
Most demos of AI agents that answer questions from a database use a dozen clean, well-named tables. Real company databases grow by accretion: a system from the 1980s, a port that kept its six-character names, a web app bolted on later, an acquisition that never got fully merged. Questions that sound simple, like "what did we ship to this customer last year?", cross three of them.
Real company data can't be published or shared, so I made a company instead, with a history that explains why its data looks the way it does. Because I generated it, I also know the right answer to every question, which makes agents' answers gradable.
CYYMMDD integersEvery trap is catalogued, and the true answers are kept in a separate answer key that agents can't see.
What is being tested
The benchmark asks when each approach is the right one: a managed natural-language query service, hand-built tools, an agent that writes its own SQL from catalog metadata, or hand-built tools with the company's knowledge alongside. Each runs as six business agents (customer service, production supervisor, purchasing, finance, operations and quality, and sales) on operational and analytical tasks, scored for accuracy, latency and cost.
Google's QueryData API turns the question into SQL, guided by a tuned context set for each agent (query templates, facets and value searches) and scoped to the tables that agent needs.
120 hand-designed, parameterized SQL tools served by MCP Toolbox, with about 850 parameters between them. The agent picks a tool and fills in its arguments; it never writes SQL. The company's rules live in the tools' SQL.
Exactly T's tools, plus a shared, read-only execute_sql escape hatch for questions the tools don't cover.
Its SQL sees the database as it stands, with no catalog and no added views.
No custom tools. The agent looks things up in a semantic layer in Knowledge Catalog (table annotations, a business
glossary and company-document passages), then writes its own SQL with the same execute_sql.
Each reuses frozen parts of the four above, so the difference between two arms isolates one ingredient.
T's tools plus a local library of markdown pages on the company's rules, codes, systems and documents, searched with
ref_search and read with ref_read. No SQL.
T's tools plus Knowledge Catalog search and lookups over F's semantic layer. No SQL. Set against T+R, it compares two ways of delivering the same knowledge.
T+S's tools and execute_sql, plus the reference library: the rulebook next to both the tools and the
escape hatch.
All seven share the same model, the same core and role prompts, the same simulated users, graders and scenarios, and the same per-role database permissions. Each arm adds only a short section of usage tips, capped at about 600 tokens, so what an agent knows about the company has to live in the arm's own mechanism (tools, context set, catalog or library), not in its prompt. Each approach is built with full knowledge of the data and tuned in rounds until more tuning stops paying off, so the test measures how well it works in competent hands, not how easy the data is to figure out. A sealed set of new questions, unseen during tuning, decides the final comparison.
Reference library vs Knowledge Catalog
Knowing the tables isn't enough. An agent also needs the company's rules: which table is the system of record, what a status letter meant in 2017, how finance counts bookings, which leftover table never to touch. That knowledge was written down once, from the company's specs, documents and clarification memos, and the benchmark delivers it in two forms with the same rule content. The library is generated from the same model as the catalog layer, plus the text of the company's PDFs.
What it holds. 261 markdown pages bundled with the agent: a data guide for each role, a page for each KPI and business rule, code lists, system and table pages, notes on the data's quirks, the company documents with their known corrections, and a glossary.
How agents use it. ref_search runs a keyword search over about 1,600 sections inside the agent's own
process; ref_read opens a page or a section. No network call and no service to run.
Trade-offs. Fast, free per call, versioned with the code and easy to diff. But it is a copy: every change means rebuilding and redeploying the agent, nobody else in the company sees it, and keyword search only finds what is worded the way the agent asks.
What it holds. Google Cloud's managed metadata catalog (Dataplex entries, aspects and a business glossary). Every table is harvested as an entry; the builder adds an overview and an OPV aspect (system of record, era, trust status, the right source for a leftover table), about 485 glossary terms linked to tables and columns, and about 216 entries for sections of company documents.
How agents use it. MCP Toolbox's catalog tools: search_entries to find entries, then
lookup_entry and lookup_context to read a table's or a document's metadata. Each agent starts
from its role's data guide.
Trade-offs. It sits next to the data, is shared with people and other tools, is governed by Cloud IAM, and changes reach agents without a redeploy. But every lookup is a network call with latency and quota, results are bulkier, and content is applied by a pipeline rather than edited as files.
Interim results · not the final evaluation
The freeze-v2 snapshot on the 79 v1 test questions (40 in-distribution, 39 out-of-distribution), one repeat, so each figure is good to roughly ±5 points. "Correct" is the share of steps a three-judge panel's majority marks right; tokens and seconds are means per conversation.
| Arm | Adds | Correct | Tokens | Seconds |
|---|---|---|---|---|
| T | none | 93.7% | 114k | 30 |
| T+R | library | 94.4% | 156k | 30 |
| T+K | catalog | 92.9% | 238k | 43 |
| T+S | none | 96.0% | 166k | 28 |
| T+S+R | library | 94.4% | 192k | 43 |
Invited testers can browse both as the agents see them on the intranet: the reference library and Knowledge Catalog (sign-in required).
Settling ambiguities
Some business questions have two reasonable readings that give different numbers. Is a customer "lapsed" if its only orders this year were later cancelled? Does "cash collected" net out refunds? A real company wouldn't let an AI agent, or a benchmark author, guess. It would ask the person who owns the procedure and write the answer down. OPV does the same, in-world, through clarification memos. I don't work at OPV, so business rules are never mine to decide; only benchmark policy is.
Example, CM-006. Two reports disagreed about a customer whose two 2025 orders were both cancelled on credit hold. The VP of Sales answered that "lapsed" means no bookings and that orders cancelled later still count, so the customer was not lapsed: it was a credit conversation for the rep, not a win-back call.
53 memos so far, CM-001 to CM-053: finance and sales lead with 14 and 13, then customer service, purchasing, quality, maintenance, engineering and the plant. The program behind them starts with the IMPEL memo, which is public. The memo log is on the intranet's shared drive under IT, IMPEL (sign-in required).
The company's paperwork
OPV has department manuals, a systems history from IT, memos about the Kessler acquisition, an annual report, a product catalog and a quarterly employee newsletter, The Impeller. Figures in them come from the simulated data, and the people named in the newsletters are rows in the employee table. Some passages are out of date on purpose, as real manuals are.



For invited testers
Lookup screens for orders, the parts catalog, the shop floor, support cases, CRM, finance, purchasing and quality; a shared drive with the company's documents and clarification memos; the reference library and Knowledge Catalog, shown as the agents read them; OPVChat, which puts all seven agent designs side by side on the same question, with a CEO View that sends each question to the right department's agent; a copilot beside each of the six roles' screens; and Ask OPV, a production-style analyst assistant that shows how it got each answer.
Sign-in is by invitation only, with a demo login from the project owner.