Can an Agent Be a Forward-Deployed Engineer? 25% Pass
Agents can recover most requirements but cannot say what they missed, so the contract has to legalise "we don't know" and test on production queries.
On this page
8 delivery runs produced 2 passes, but the failure was not SQL syntax. Suppose you run a data platform team, and a vendor puts a contract on your desk. Their agent will sit with the business unit, turn a vague request into firm conditions, then fine-tune and ship a model. The usual advice says a strong coding agent can do this, because the work is code; the paper splits that advice in half. Writing a correct query is the second half. Across 15 models on one text-to-SQL project, the best recovered more than 80% of hidden requirements, and only 25% of delivery runs passed.[1]
Writing SQL is not the same as sitting in the customer's room
A forward-deployed engineer stays inside the customer's team, works out what the customer needs, builds the system, installs it, and owns it when it breaks. That work of turning a vague sentence into conditions you can put in a contract is called requirement discovery; the hard numbers it produces are the acceptance criteria, agreed before anyone writes code. Customers open with something vague: accurate, fast, not too expensive.
The paper picks enterprise text-to-SQL. Staff ask in plain language; the system turns it into SQL an Oracle database can run. Spider and BIRD give a public yardstick.
Here is the default view. The model can already write a correct query, so sending it on site is mostly a chat box on top. The data refuses that step: the best model recovered 81.7% of hidden facts, the weakest open-weight model 41.8%.
Two jobs. Two tests.
A simulated customer who never says anything precise
The base is a real engagement: four months, one human engineer, an Oracle-dialect text-to-SQL model shipped to an internal team, 100-plus LoRA adapters, 200 evaluations. It became 17 checkable facts, 15 hard constraints and two preferences, plus six decisions the customer never settled.
Openings hide 14, 16, or 17 of those facts. Fifteen models from seven families, ten runs per level: 450 traces, 7,050 fact instances.
Delivery runs four models times two workflows: decoupled, where a plan is frozen before an executor runs it, and autonomous, where one session does both. The budget is one A100 80GB and 43,199 seconds.
Three acceptance lines: Spider-dev accuracy at or above 60%, at most 10 compile failures across 100 production queries, p90 latency under 15 seconds on CPU.
All three, or nothing.
A model graded discovery (Gemini 2.5 Flash); humans re-checked 51 facts and agreed on 70.6% of recovery labels. The judge favoured open-weight models, so the gap is, if anything, understated.
Four failure points, each with a number attached
The paper sorts failure into four buckets, and every bucket has a figure. Laid out as a table, they read like a checklist for your own acceptance terms.
| Failure point | Number | Clause to add |
|---|---|---|
| Discovery | 60.0% recovered, 21.2% lost | Source column |
| Execution | 2 of 8 runs pass (25%) | Three repeats |
| Budget | 37.10% and 37.58% used | Minimum comparisons |
| Production | 13 of 100 queries fail | Separate prod set |
The first bucket is the easiest to underrate. Of 7,050 fact instances, agents recovered 4,227, exactly 60.0%. The handoff is worse: of 4,122 disclosed facts, 874 (21.2%) never reached the final document, so a fact can be elicited and still lost before delivery. Elicited, then lost, equals never asked. One result also runs against intuition. Recovery rises as the opening gets vaguer: 56.3%, 59.8%, 63.2%, helped by sharper questioning at 4.74 ask turns.
The second bucket is execution. GPT-6.1 Sol ran three times per workflow: three of six produced a model, one met every criterion. The third bucket is money. Against a 43,199 GPU-second cap, the two conditions used 16,025.63 and 16,233.64 seconds, or 37.10% and 37.58%. The cap was 12 hours; execution stopped inside five, and every lease reserved three GPUs while one was allocated. The fourth bucket hurts procurement most. Grok 4.7 scored 75.82% on Spider and 44.29% on BIRD, then failed 13 of 100 production queries; GLM failed 23, and four of eight runs missed the compile target.
Five clauses to write before you send an agent on site
- The deliverable is a table, not a paragraph. Every requirement carries three labels: customer words, your inference, still undecided. Drop the third column and the 40% loss hides inside a fluent summary.
- Make "we do not know" a legal deliverable. If the customer never settled a point, the agent records it and marks it; a filled-in default counts as failure. The extreme-ambiguity trace carried 11 open decisions.
- Score discovery and delivery separately. Discovery is checked fact by fact, 17 in the paper; delivery is all three hard lines at once. Both, or no pass.
- Keep a production set and never substitute the dev set. One hundred real questions, at most 10 compile failures, p90 under 15 seconds, one request at a time on CPU.
- Run every configuration three times and report all three. Six repeats produced one full pass; report only the best and 25% becomes 100%.
These clauses do not improve the model. They improve what you can see: a human reviews the requirements, a human watches the plan, and hardware and budget get written down.
One clause costs nothing: use a mature harness. Same model, same budget, Codex hit a p90 of 10.8 seconds and passed; OpenCode took 16.2 seconds and failed. The difference came from quantization, not the model.
Where this evidence stops
State the boundary, or this reads as a general verdict.
One setting only: an internal Oracle text-to-SQL project, four months, one shipped 8B model. Where requirements come from logs, site walks, or data profiling, dialogue is not the main channel, and this does not apply. Second, the customer is simulated. Gemini 2.5 Pro answers from a human-checked fact sheet. It never gets impatient, changes its mind, or replaces its sponsor. Real customers do all three. Third, the task is narrow: text-to-SQL compresses acceptance into three numbers, which is why it works as a benchmark and why it does not generalise. Fourth, the sample is small. Ten runs per model per level, eight delivery configurations, repeats on one model. The 25% interval is wide, and a reader should treat it as a warning rather than an industry pass rate.
Its most valuable output is not the answer. It is the line that says the customer has not decided.
Put that line at the top of the acceptance sheet.
