LoMASA: A Local Multi-Agent Sales Assistant with Confidence-Gated Delegation for B2B Quoting

Yu Liu, Xingbang DuarXiv 2026

TL;DR

LoMASA is a local, training-free multi-agent AI assistant that automates B2B quoting while safely delegating risky decisions to humans. By combining fast LLM judgments with hard-coded pricing rules and a novel confidence-gated delegation mechanism, it reduces salesperson workload by 80% without sacrificing accuracy or data privacy.

What Problem Does This Paper Address?

B2B quoting is a tedious "coordination task." Sales staff spend their days re-calculating quotes as customers change quantities, ask for discounts, or as underlying costs shift. While generative AI seems like a natural fit, two major barriers exist:

  1. Data Privacy: Pricing and customer data are highly sensitive; many companies cannot send this data to a cloud-based LLM.
  2. Data Scarcity: Small-to-medium sales teams rarely have the massive, labeled datasets required to fine-tune a custom model.

The authors set out to build an assistant that runs entirely on local hardware (a Mac mini), requires no training, and—most importantly—reliably knows when to step back and ask a human for help.

Methods

LoMASA uses a multi-agent architecture where agents have fixed, specialized roles. The workflow is orchestrated by a deterministic Code Harness that owns all the math and enforces "hard rules" (like margin floors) that the AI cannot override.

Fig. 1. LoMASA overview. Code computes all numbers and enforces hard rules; System-1 decides when confident; System-2 is consulted otherwise; uncertain cases go to the salesperson. The 27B model also drafts outgoing texts, which may contain only code-computed numbers. (Placeholder figure.)

The system follows a "System-1/System-2" cognitive model:

  • System-1 (Qwen 35B MoE): A fast model that makes initial decisions in a single forward pass.
  • Confidence-Gated Delegation: Instead of asking the model "how sure are you?" in words, the system reads the log-probabilities of the answer tokens. If the confidence is below a threshold (calibrated on a small validation set), the case is escalated.
  • System-2 (Qwen 27B Dense): A slower, more "thoughtful" model that reviews cases System-1 is unsure about and drafts customer replies or escalation briefs.
  • Numeric Case Retrieval: To provide context, the system retrieves similar past cases from a library using numeric features (like margin and discount) rather than standard text embeddings, which often get distracted by surface-level wording.

Datasets

The authors introduced a reproducible benchmark built from three public sources:

  • Costs: Derived from the scm1d supply-chain management game.
  • Orders/Customers: Sourced from Online Retail II and DataCo Smart Supply Chain.
  • Evaluation: A test split of 500 simulated episodes containing 1,512 individual decisions.

Key Insights and Ideas

  • Log-probs > Verbal Confidence: One of the most striking findings is that LLMs are much better at "knowing what they don't know" through their internal token probabilities than through verbalized self-assessment. Verbalized confidence tended to be wildly overconfident.
  • The "Structural Reason" for Safety: Safety isn't just a prompt; it's built into the architecture. Because the LLM only chooses from options pre-calculated and validated by the code harness, it is physically impossible for the AI to "hallucinate" a price that violates company policy.
  • System-2's Niche: Surprisingly, the larger 27B model rarely changed the actual decisions made by the 35B model. Its primary value was in drafting human-facing text rather than improving the logic of the "fast" model.
  • Numeric RAG: Standard RAG (Retrieval-Augmented Generation) often fails in economic tasks because text embeddings prioritize language over logic. Using standardized numeric features for k-NN retrieval significantly improved escalation accuracy.

Key Results

  • Massive Time Savings: The system handled 80.5% of decisions without the salesperson. 38% were settled automatically, and 42.5% were escalated to a manager by hard rules.
  • High Speed: Automated decisions had a median latency of just 2.67 seconds.
  • Improved Risk Management: Compared to a standard rule-based baseline, LoMASA reduced "risky" commitments (where margins would fall below the floor the next day) from 4.53% to 2.61%.
  • Calibration: The confidence scores were remarkably well-calibrated "out of the box" without any additional training.
Fig. 2. Left: reliability of the commit decision. Right: risk–coverage of the commit decision (the 27B curve uses the 30-episode subset).

Limitations and Future Work

  • Managerial Overhead: While the system saves the salesperson time, it increases the number of cases escalated to the manager (90 unnecessary escalations in the test set). Future work could focus on reducing these "false alarms."
  • Simulated Environment: The data is simulated from public sources; performance on real-world, messy sales logs remains to be seen.
  • Predictability Ceiling: The system's accuracy is ultimately limited by the unpredictability of future market costs, which no model can perfectly foresee.
  • Writing Quality: The authors did not formally test if the smaller 35B model could handle the drafting tasks as well as the 27B model, which could potentially simplify the architecture further.

Summary updated

Abstract

Frontline sales staff spend much of their day re-coordinating quotes after customers change quantities, ask for discounts or new payment terms, or costs move. We present LoMASA (Local Multi-Agent Sales Assistant), a training-free multi-agent system that runs entirely on one desktop computer. A 35B mixture-of-experts model (System-1) makes each decision in a single forward pass and reads its confidence from the probabilities of the answer options. A 27B dense model (System-2) writes customer replies and escalation briefs and is consulted when System-1 is unsure. Code computes every price, margin and option, and hard pricing rules cannot be overridden. On a test split of 500 simulated episodes with 1512 decisions built from public supply-chain data, the salesperson has to decide only 19.5% of decisions: 38.0% are settled automatically, with a median latency of 2.67 seconds, and 42.5% are escalated to a manager by the hard rules. On the automatically settled decisions LoMASA is as accurate as a rule baseline (0.894 vs.\ 0.894) and makes fewer commitments whose margin later falls below the floor (2.61% vs 4.53%); the price is additional escalations to the manager. Option probabilities are well calibrated without any training, unlike confidence stated in words by the same model. We also report where the design does not help: the 27B model rarely changes a decision.
BibTeX
@misc{liu2026lomasa,
  author = {Yu Liu and Xingbang Du},
  title = {{LoMASA: A Local Multi-Agent Sales Assistant with Confidence-Gated Delegation for B2B Quoting}},
  year = {2026},
  eprint = {2611.11234},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.11234},
}
Figure