Quality estimate 6.6/10

Can LLM Agents Be Forward-Deployed Engineers? Requirement Discovery and Delivery for Enterprise Text-to-SQL

Marianne Menglin Liu, Rongguang Wang, Zheng Wang, Yewen Wang, Leonid Boytsov, Tao Sheng, Sujith Ravi, Dan Roth · November 02, 2026

Reviewed paper version: v1.

📌 Highlights

The paper studies an end-to-end FDE task: discover customer requirements from dialogue, then deliver a post-trained and served text-to-SQL system.

Across 15 discovery models, Claude Opus 5.5 has the highest reported mean requirement recovery at 81.7%; the open-weight models in the table range from 41.8% to 49.4%.

Only two of eight delivery runs meet all three acceptance targets. The human FDE's shipped system reaches 79.90% Spider-dev execution accuracy, compared with 76.11% for the best passing agent run.

  • Discovery is measured over 10 independent runs per model and ambiguity level.
  • Delivery targets are Spider-dev execution accuracy ≥60%, production SQL compilation failures ≤10%, and CPU p90 latency <15 seconds.
  • The authors identify incomplete discovery, unreliable execution, budget-management problems, and benchmark-to-production gaps as bottlenecks.

🎯 Introduction

The paper frames forward-deployed engineering as work that connects an incomplete business request to a deployed system through requirement discovery, technical design, implementation, and delivery. It asks whether LLM agents can discover customer requirements and deliver a system that satisfies them, where the workflow bottlenecks occur, and which practices improve reliability.

The authors argue that existing agent evaluations commonly begin with a complete task specification. Their study begins earlier, with an ambiguous customer request, and grounds the evaluation in a completed enterprise Oracle-dialect text-to-SQL engagement, including the human FDE's requirements and shipped system.

The objective is to evaluate both phases of this work: eliciting acceptance criteria and operational constraints through dialogue, then planning and executing a post-training recipe against those criteria.

🔬 Methodology

The reference engagement supplies annotated customer knowledge and deployment constraints. The discovery specification contains 17 core business, data, and evaluation requirements plus six decisions the customer had left open. A simulated customer, powered by Gemini 2.5 Pro, answers agent questions from a fact sheet; agents interact through ask, request-an-artifact, inspect, and submit actions under three ambiguity levels. Gemini 2.5 Flash judges whether withheld facts were disclosed and correctly included in the submitted requirements.

For delivery, the agent receives discovered requirements and data. In the decoupled workflow, a planner produces a structured plan covering the base model, data processing, post-training, evaluation, and profiling; the plan is validated and frozen before an execution agent runs it. In the autonomous workflow, one coding agent plans and executes in one session. The evaluation includes four backbones in both workflows on OpenCode and one Codex CLI run for a harness comparison.

The data includes Oracle-dialect variants of Spider, BIRD, and SParC, with SParC flattened to question–SQL pairs, and 100 production questions. Spider-dev and BIRD-dev are used for evaluation and selection. Delivery reports execution accuracy on Spider-dev and BIRD-dev, production SQL compilation failures, and p90 CPU inference latency; only Spider accuracy, production failures, and latency define the acceptance targets.

page 1

Formula:
\[its requirement discussions, experiment log, and\]

page 2

Formula:
\[“‘Good enough’ = 6 of 10 of your test queries\]

page 2

Formula:
\[correct? ‘Not slow’ = under 15 s?”\]

page 2

Formula:
\[Output: FDE agent identified requirements — (1) ≥ 60% on their test queries ·\]

📊 Experiments

For discovery, the authors evaluate 15 models across three ambiguity levels, with 10 independent runs per model and ambiguity level. Recovery rate is the fraction of withheld facts correctly submitted; elicitation count measures withheld facts both disclosed in dialogue and correctly submitted; ask turns count clarification actions, which may contain multiple questions. Claude Opus 5.5 reports the highest mean recovery at 81.7% ± 14.0, while Gemma 4 31B leads the open-weight group at 49.4% ± 17.2. A human audit of three models agrees with the LLM judge on 70.6% of recovery labels and 82.4% of disclosure labels.

For delivery, training data includes Oracle-dialect Spider, BIRD, and SParC variants plus 100 production questions. Spider-dev and BIRD-dev support evaluation and selection; production failures measure SQL validity, and p90 CPU latency is profiled over five independent runs. The thresholds are Spider-dev execution accuracy ≥60%, production SQL compilation failures ≤10%, and p90 latency <15 seconds; BIRD-dev is reported for reference. Two of eight OpenCode runs pass all targets: decoupled GPT-5.6 Sol and autonomous GPT-6.1 Sol. The human FDE row has 79.90 Spider EX, 25.30 BIRD EX, six production failures, and 9.26 seconds p90.

The paper reports that benchmark accuracy alone does not ensure production validity: autonomous Grok 4.7 has 75.82 Spider EX and 44.29 BIRD EX but 13 production failures, while autonomous GLM-5.3-Flash has 67.50 Spider EX and 23 production failures. In a harness ablation with GPT-5.6 Sol, autonomous workflow, Llama 3.1 8B, and the same budget and evaluator, Codex passes at 10.8 seconds p90 while OpenCode misses at 16.2 seconds.

tab:discovery-results

Caption: Discovery results averaged over 10 independent runs per model and ambiguity level. Each entry reports the mean (top) and standard deviation (bottom). Bold indicates the highest mean in each recovery rate and elicitation count.

Content:
ModelLow recovery (%)Moderate recovery (%)Extreme recovery (%)Mean recovery (%)Elicitation countAsk turns
Claude Opus 5.577.1 ± 18.184.4 ± 9.083.5 ± 13.881.7 ± 14.010.4 ± 2.95.5 ± 1.4
Claude Opus 581.4 ± 11.881.3 ± 7.880.6 ± 11.881.1 ± 10.210.9 ± 2.29.0 ± 1.8
Claude Fable 570.0 ± 21.276.3 ± 18.175.3 ± 13.273.8 ± 17.49.1 ± 3.35.6 ± 1.1
Claude Sonnet 5.577.1 ± 14.279.4 ± 11.078.8 ± 10.178.4 ± 11.59.8 ± 2.04.2 ± 1.1
GPT-6.1 Sol72.1 ± 17.376.9 ± 19.876.5 ± 12.175.2 ± 16.39.1 ± 3.04.6 ± 1.2
GPT-5.6 Sol72.9 ± 21.060.6 ± 29.871.8 ± 9.968.4 ± 21.89.0 ± 3.77.1 ± 4.3
GPT-5.4 Mini31.4 ± 18.246.3 ± 11.944.1 ± 11.540.6 ± 15.23.8 ± 2.21.7 ± 0.8
Gemini 2.5 Flash48.6 ± 19.062.5 ± 10.262.4 ± 13.657.8 ± 15.77.1 ± 2.64.5 ± 1.2
Grok 4.774.3 ± 10.263.1 ± 15.272.9 ± 11.270.1 ± 13.09.2 ± 2.44.8 ± 1.9
Grok 4.20 Reasoning45.7 ± 12.745.6 ± 19.142.4 ± 24.544.6 ± 18.75.1 ± 2.61.8 ± 0.7
Gemma 4 31B50.7 ± 15.237.5 ± 17.260.0 ± 12.049.4 ± 17.25.2 ± 2.72.5 ± 0.7
GLM-5.3-Flash40.0 ± 25.246.3 ± 23.052.4 ± 23.646.2 ± 23.75.1 ± 3.23.3 ± 1.1
Llama 3.3 70B29.3 ± 24.455.6 ± 24.045.3 ± 22.243.4 ± 25.35.4 ± 3.33.6 ± 0.9
GPT-OSS-120B40.7 ± 11.739.4 ± 18.250.6 ± 15.043.6 ± 15.54.8 ± 2.71.7 ± 1.2
Cohere Command A32.9 ± 19.741.3 ± 9.951.2 ± 7.941.8 ± 15.14.4 ± 1.93.2 ± 1.7

Why It Matters: The table supports comparison across models and ambiguity conditions while showing run-to-run variability in recovery and dialogue behavior.

tab:delivery-results

Caption: End-to-end delivery results; each agent runs in both decoupled and autonomous workflows on OpenCode. CPU serving uses Q4\_K\_M GGUF base models (4-bit-class mixed weight quantization) with F16 LoRA adapters (16-bit floating point). EX is execution accuracy (\%), the higher, the better; ``Prod.\ fail'' is the SQL compilation failure rate on production SQLs, the lower, the better; p90 is CPU inference latency, the lower, the better. The human row is the FDE's shipped system under the same evaluator.

Content:
Agent backbone modelDelivery workflowFine-tuned modelSpider EX (%)BIRD EX (%)Prod. fail (%)p90 (s)Pass
GPT-5.6 SolDecoupledMinistral 3 8B76.1127.92911.24Yes
GPT-5.6 SolAutonomousLlama 3.1 8B72.6327.721016.16No
GPT-6.1 SolDecoupledLlama 3.1 8B55.9020.87514.78No
GPT-6.1 SolAutonomousLlama 3.1 8B71.5724.53612.62Yes
Grok 4.7DecoupledMinistral 3 8B63.6419.441615.91No
Grok 4.7AutonomousMinistral 3 8B75.8244.29139.24No
GLM-5.3-FlashDecoupledMinistral 3 8B56.7715.921114.51No
GLM-5.3-FlashAutonomousLlama 3.1 8B67.5030.85233.04No
Human FDE—Ministral 3 8B79.9025.3069.26Yes
Acceptance target——≥60report only≤10<15—

Why It Matters: The joint metrics make clear why a strong benchmark result may still fail deployment acceptance.

tab:harness-ablation

Caption: Harness ablation: GPT-5.6 Sol, autonomous workflow, Llama 3.1 8B, same budget and evaluator. Spider and BIRD are EX (\%); Fail is production compilation failure rate.

Content:
HarnessSpider EX (%)BIRD EX (%)Fail (%)p90 (s)Pass
OpenCode72.627.71016.2No
Codex75.027.21010.8Yes

Why It Matters: This ablation isolates a harness comparison under the same stated model, workflow, budget, and evaluator.

fig:overview

fig:overview

Caption: A forward deployment agent: discovery, then delivery. In discovery, a discovery agent turns the ambiguous request of a customer simulated from a real engagement into identified requirements (1)--(4), establishes by experiment what the customer cannot answer (the SQL dialect), and gets sign-off. In delivery, a planner agent turns the identified requirements into an experiment plan and an execution agent runs it, profiling on the target hardware and evaluating on (1)--(4), returning model artifacts and an accuracy, profiling and cost report.

Why It Matters: The figure summarizes the two-stage workflow and shows how customer dialogue, experimental resolution of unknowns, planning, execution, and deployment checks connect.

🔮 Conclusion

The authors conclude that agents can recover many, but not all, withheld requirements and that delivery remains unreliable in this case: only 25% of delivery runs satisfy all three acceptance criteria. They identify incomplete discovery, autonomous execution failures, poorly coordinated compute budgets, insufficient comparative validation, and benchmark-to-production differences as the principal bottlenecks.

Their proposed mitigations are human review of discovered requirements and the execution plan, plus explicit experiment-environment specifications that cover hardware, budget scope, and production checks.

🛠️ Future Research Improvements

The paper's bounded single-engagement setting motivates testing requirement discovery and delivery across more customers, SQL dialects, and organizational contexts; the authors explicitly caution that customer needs and communication styles may differ.

Further evaluation could measure whether human review of requirements and plans improves pass rates, and whether systematic comparisons of base models and post-training methods use available compute more effectively. The paper identifies these as gaps but does not report such follow-up experiments.

🏭 Potential Industry Use Scenarios

The evaluated workflow is relevant to enterprise teams customizing text-to-SQL systems: an agent can help elicit acceptance criteria, identify unresolved questions, plan post-training, and profile a candidate model on target CPU hardware. The evidence supports treating these agents as supervised engineering aids in this setting, because discovery can omit or misrepresent requirements and most delivery runs did not pass all targets.

A practical deployment process could pair agent-generated requirements and plans with human approval, then gate release on production SQL validity and latency checks in addition to development benchmark accuracy. The study presents this as a mitigation direction rather than evidence of broad production readiness.

💬 Critical Analysis

A strength of the study is that it evaluates requirement discovery before a task specification is complete and compares delivery against a human FDE's shipped system. Its combined metrics also expose tradeoffs hidden by benchmark accuracy alone: the highest Spider and BIRD scores in the delivery table do not necessarily satisfy production SQL validity.

The evidence is narrower than the framing of general FDE capability: it comes from one engagement, four delivery backbones, and a small number of delivery runs. The discovery judge's imperfect agreement with a human audit adds uncertainty to the measured recovery rates.

The paper reports that all delivery runs use LoRA SFT and that base models and post-training methods were not systematically compared. Consequently, the reported pass rate characterizes these tested configurations and execution conditions, not the ceiling for agent-led delivery. The reported harness ablation also comprises a single comparison, so it is evidence of a possible harness effect in this setup rather than a general causal result.

Original Abstract

LLM coding agents can increasingly automate model post-training, but whether they can act as forward-deployed engineer (FDE) agents, discovering customer requirements and turning them into deployment decisions, remains unclear. We study this on a real enterprise text-to-SQL engagement: a simulated customer, grounded in the real use case's requirements, starts with an ambiguous request. An agent must discover acceptance criteria, data permissions, and hardware constraints in the discovery phase, then plan and execute a post-training recipe in the delivery phase. Across 15 models, the strongest discover over 80% of withheld requirements and open-weight models discover 40-50%; in the delivery phase, only 25% of runs across eight coding-agent configurations pass all acceptance criteria. We identify four bottlenecks in this engagement: (1) incomplete discovery, with 40% of withheld requirements missing or misrepresented; (2) unreliable execution; (3) underused compute budgets and a lack of systematic comparisons across base models and post-training methods; and (4) benchmark accuracy does not guarantee production readiness. We suggest human review of discovered requirements, monitoring of the agent's plan during execution, and an explicit experiment-environment specification covering hardware, budget scope, and production checks.