The Commonplace
Home Papers Evidence Explore Trends Syntheses Digests References Docs 🎲 Workforce Futures
← Papers
Direction, evidence grade, and study type are AI-generated labels (gpt-5-mini), not human-verified. Syntheses are LLM-written. "Tensions" are machine-detected candidates, not confirmed contradictions. A research-acceleration tool, not peer review. How this is built →

Making predictive models first-class tools for LLM agents speeds up work: a pilot system that calls a small pricing model inside an LLM workflow generated priced proposals in under 10 minutes versus multiple hours. The pricing tool—trained on 70 real and human-verified synthetic examples—shows strong in-sample predictive performance, but narrow data and a single pilot limit claims about wider productivity gains.

Machine Learning as a Tool (MLAT): A Framework for Integrating Statistical ML Models as Callable Tools within LLM Agent Workflows
Edwin Chen, Zulekha Bibi · February 15, 2026
arxiv descriptive low evidence 7/10 relevance Full text usable extracted full text Source PDF

Structured author observations

Linked only from stored provider relations; the raw author line above is never matched by name.

Arxiv

Latest observation:

  1. Edwin Chen unresolved corpus identity
  2. Zulekha Bibi unresolved corpus identity

Semantic Scholar

Latest observation:

  1. Edwin Chen provider ID
  2. Zulekha Bibi provider ID
MLAT exposes small predictive models as callable tools within LLM agent workflows; in a pilot (PitchCraft) this enabled automated proposal generation with an XGBoost pricing tool (R^2=0.807 on held-out data) and reduced proposal creation time from hours to under 10 minutes.

Citation observations

Cumulative provider counts captured on specific dates; providers are never combined.

We introduce Machine Learning as a Tool (MLAT), a design pattern in which pre-trained statistical machine learning models are exposed as callable tools within large language model (LLM) agent workflows. This allows an orchestrating agent to invoke quantitative predictions when needed and reason about their outputs in context. Unlike conventional pipelines that treat ML inference as a static preprocessing step, MLAT positions the model as a first-class tool alongside web search, database queries, and APIs, enabling the LLM to decide when and how to use it based on conversational context. To validate MLAT, we present PitchCraft, a pilot production system that converts discovery call recordings into professional proposals with ML-predicted pricing. The system uses two agents: a Research Agent that gathers prospect intelligence via parallel tool calls, and a Draft Agent that invokes an XGBoost pricing model as a tool call and generates a complete proposal through structured outputs. The pricing model, trained on 70 examples combining real and human-verified synthetic data, achieves R^2 = 0.807 on held-out data with a mean absolute error of 3688 USD. The system reduces proposal generation time from multiple hours to under 10 minutes. We describe the MLAT framework, structured output architecture, training methodology under extreme data scarcity, and sensitivity analysis demonstrating meaningful learned relationships. MLAT generalizes to domains requiring quantitative estimation combined with contextual reasoning.

Summary

Main Finding

Exposing pre-trained statistical ML models as callable tools within LLM agent workflows (Machine Learning as a Tool, MLAT) yields practical gains: it enables contextual, agent-controlled invocation of quantitative models, improves interpretability and composability of ML predictions, and—empirically via the PitchCraft pilot—reduces end-to-end proposal generation from 3+ hours to under 10 minutes while producing a pricing model that generalizes well (test R2 = 0.807, MAE = $3,688).

Key Points

  • MLAT pattern: register a pre-trained ML model as a stateless, low-latency tool in an LLM agent’s tool registry; the agent extracts a schema-constrained feature vector and invokes the model when appropriate, then reasons about the returned prediction.
  • Formalized workflow: feature extraction via structured output parsing (Gemini JSON schemas) → ML tool call (fθ) → agent contextual reasoning → structured output generation.
  • PitchCraft case study: two Gemini agents (Research Agent and Draft Agent). Research Agent produces structured features with provenance; Draft Agent extracts features, calls an XGBoost pricing endpoint, reasons about the prediction, and outputs a JSON-constrained proposal mapped to a Google Docs template.
  • Model performance (N = 70): XGBoost trained on 40 real + 30 LLM-generated, human-verified synthetic records. Results: training R2 = 0.937, CV R2 = 0.816 ± 0.060, test R2 = 0.807, test MAE = $3,688 (≈22.6% relative MAE vs. mean price $16,309). Inference latency <100ms.
  • Small-data techniques: human-in-the-loop synthetic data generation conditioned on empirical distributions, group-aware splitting to avoid leakage (multi-phase clients grouped), aggressive feature reduction (final x ∈ R8; tech_stack one-hot encoded), ablation showing integration_complexity is highly influential.
  • System design principles: schema-bridged inputs, stateless and fast endpoints, prediction transparency (confidence/metadata), model-agnostic registration, and agent-controlled invocation.

Data & Methods

  • Dataset
    • N = 70 records: 40 real agency deals (22 industries) + 30 LLM-generated synthetic records that were human-verified and edited as needed.
    • Target: project price (right-skewed). Feature set: client_revenue, est_duration_weeks, pain_severity_score (1–5), integration_complexity (1–5), phase (1–4), tech_stack (no_code/low_code/custom → one-hot resulting in 8 input dimensions).
  • Synthetic data procedure
    • LLM conditioned on real data summary statistics (means, SDs, correlations, ranges) to generate additional records.
    • Human review to remove implausible entries; synthetic records labeled with unique client groups.
    • Post-checks to confirm preserved correlation structure.
  • Leakage controls
    • Group-aware splitting (GroupKFold/GroupShuffleSplit) to ensure all phases of the same client fall wholly in train or test; final split 56 train / 14 test.
  • Modeling
    • Model: XGBoost regression chosen for small-data tabular robustness and fast inference.
    • Conservative hyperparameters: n_estimators=50, max_depth=3, learning_rate=0.05, subsample=0.8, colsample_bytree=0.8, reg_alpha=0.1, reg_lambda=1.0, min_child_weight=3.
    • CV: three-fold GroupKFold respecting client groups.
    • Comparisons: Ridge regression baseline (CV R2 ≈ 0.565) underperformed XGBoost.
    • Ablation: dropping integration_complexity reduced CV R2 markedly (0.816 → 0.599), indicating feature importance.
  • Structured-output integration
    • Gemini JSON schemas used as the contract between agents: research schema supplies ML feature fields + provenance/confidence; draft schema consumes ML output and generates structured proposal including pricing_section.total_price and value_justification.
    • ML model exposed as a FastAPI REST endpoint; one-hot encoding applied at inference; endpoint latency <100ms.

Implications for AI Economics

  • Productivity and time-to-value
    • Example impact: reducing proposal generation from multiple hours to under 10 minutes materially lowers labor costs per proposal and enables higher lead-response speed—an empirically important driver of conversion. Firms can scale outreach and personalization with the same or fewer staff.
  • Labor substitution vs. augmentation
    • MLAT represents a complementarity: LLMs handle contextual reasoning and narrative, ML models handle quantitative estimation. This division can shift worker tasks from manual estimation and document assembly toward oversight, relationship work, and exception handling—raising per-worker productivity while preserving human-in-the-loop control.
  • Value capture and pricing strategy
    • Embedding predictive pricing within an agentic workflow enables rapid, consistent, and explainable price quotes. Faster, consistent quoting can increase conversion rates and improve revenue capture; however, model errors (bias or systematic under/overpricing) risk lost margin or reputation, so governance matters.
  • Lowering barriers for domain ML
    • MLAT reduces integration friction: models can be swapped/upgraded without changing agent logic, lowering switching costs and enabling continuous improvement. The approach also shows small-data ML (augmented by carefully verified synthetic records) can be economically viable for niche business tasks.
  • Market structure and competition
    • Widespread adoption of MLAT-like architectures could compress time-to-proposal across service industries, intensifying competition on speed and personalization. Firms that combine domain data, validated small-data models, and agent workflows may obtain sustainable advantages.
  • Costs, risks, and governance
    • Deployment costs are modest per-call (stateless REST endpoints, sub-100ms latency), but non-trivial costs arise from data curation, synthetic-data verification, and model validation. Risks include overfitting from synthetic records, distributional drift, and erroneous pricing decisions—requiring monitoring, human oversight, and conservative model outputs (prediction intervals/confidence).
  • Research and policy opportunities
    • Need for empirical work on long-run effects: conversion lift from ML-informed quotes, wage/role shifts in affected occupations, and market-level price dynamics. Policy considerations include transparency requirements where automated pricing materially affects consumer outcomes and auditability of combined LLM+ML decisions.

Caveats and limitations - Small N (70) and reliance on LLM-generated synthetic data—mitigated here by human verification and group-aware CV—but external validation on larger, out-of-distribution datasets is needed. - Results come from a single pilot (Legacy AI’s PitchCraft); generalization to other domains and scales should be tested. - Economic impacts depend on adoption, regulation, and downstream behavioral responses (client acceptance of machine-informed pricing).

Overall, MLAT formalizes a pragmatic division of labor between quantitative ML models and reasoning LLMs, offering an actionable architecture that can increase productivity, enable modular upgrades, and lower operational friction for business tasks that combine numeric estimation with contextual narrative.

Assessment

Paper Typedescriptive Evidence Strengthlow — Claims are based on a single pilot system and predictive-model performance on a very small training set (70 examples) with unspecified held-out sample size; there is no randomized or quasi-experimental evaluation of productivity gains, no user study, and potential selection/measurement biases are not addressed, so causal claims about time savings or economic impact are weak. Methods Rigorlow — Methodological details are limited: the predictive model is trained on only 70 (real + synthetic) examples, no full reporting of train/validation/test splits or cross-validation, limited information on synthetic-data generation and verification, and no external or large-scale validation; while a sensitivity analysis is reported, the small sample and potential overfitting make the methodological rigor low. SamplePricing model trained on 70 examples combining real and human-verified synthetic data; reported model performance R^2 = 0.807 and MAE = $3,688 on a held-out set (held-out size not specified); system evaluation is a pilot production deployment (PitchCraft) used to convert discovery call recordings into proposals and a time-to-proposal comparison (from 'multiple hours' to under 10 minutes) but sample size and measurement protocol for the time reduction are not reported. Themesproductivity human_ai_collab GeneralizabilityVery small training sample (70 examples) limits statistical generalizability, Use of human-verified synthetic data may not reflect real-world distributional variation, Single pilot (PitchCraft) in one application (sales/proposal generation) — domain-specific, Unclear how results transfer across industries, languages, or company sizes, No randomized or controlled evaluation of productivity gains — observed time savings may not generalize, Depends on specific LLM, tooling interface, and XGBoost model implementation

Claims (10)

ClaimDirectionOutcomeConfidence & EvidenceDetails
We introduce Machine Learning as a Tool (MLAT), a design pattern in which pre-trained statistical machine learning models are exposed as callable tools within large language model (LLM) agent workflows, allowing an orchestrating agent to invoke quantitative predictions when needed and reason about their outputs in context. Other positive other
Reading fidelity high
Study strength speculative
not reported
0.03
MLAT differs from conventional pipelines by positioning the model as a first-class tool alongside web search, database queries, and APIs, enabling the LLM to decide when and how to use it based on conversational context. Other positive other
Reading fidelity high
Study strength speculative
not reported
0.03
We present PitchCraft, a pilot production system that converts discovery call recordings into professional proposals with ML-predicted pricing. Organizational Efficiency positive organizational_efficiency
Reading fidelity high
Study strength medium
not reported
0.18
The system uses two agents: a Research Agent that gathers prospect intelligence via parallel tool calls, and a Draft Agent that invokes an XGBoost pricing model as a tool call and generates a complete proposal through structured outputs. Other neutral other
Reading fidelity high
Study strength medium
not reported
0.18
The pricing model was trained on 70 examples combining real and human-verified synthetic data. Other neutral other
Reading fidelity high
Study strength medium
n=70
0.18
The pricing model achieves R^2 = 0.807 on held-out data. Other positive other
Reading fidelity high
Study strength low
n=70
R^2 = 0.807
0.09
The pricing model has a mean absolute error of 3688 USD on held-out data. Other neutral other
Reading fidelity high
Study strength low
n=70
mean absolute error of 3688 USD
0.09
The system reduces proposal generation time from multiple hours to under 10 minutes. Task Completion Time positive proposal_generation_time
Reading fidelity high
Study strength medium
from multiple hours to under 10 minutes
0.18
Sensitivity analysis demonstrates meaningful learned relationships in the pricing model. Other positive other
Reading fidelity medium
Study strength low
not reported
0.05
MLAT generalizes to domains requiring quantitative estimation combined with contextual reasoning. Other positive other
Reading fidelity medium
Study strength speculative
not reported
0.02

Notes