A sales consultant sits beside a customer who asks one question: how does this compare to the other builder's quote? Quote Intelligence answers it with a side-by-side comparison in which every dollar traces back to the line and page it came from, the arithmetic is done by code, and anything the system cannot verify is flagged instead of guessed.
Principal AI Engineer. Orchestration, the no-fabrication design, the deterministic compute engine, MCP tool surface, test suites and production hardening.
React 18 · Vite · TypeScript · Python 3.12 · FastAPI with SSE · OpenAI Agents SDK · LiteLLM routing · MCP tool servers · pdfplumber with a vision-OCR fallback · SQLite → PostgreSQL · python-docx · XlsxWriter · federated identity (OIDC / SAML)
Inside the client's own tenant, so there is no public demo. The architecture is reproduced in an open-source edition: Read the code ↗
Plain-English captions, no sound needed. Switch to For tech for the architecture, guardrails and evaluation detail.
The consultant uploads two quotes, their own and a competitor's. Minutes later they have a side-by-side comparison: every figure traced to the exact line on the exact page, the arithmetic correct to the cent, and every uncertain item flagged for them to resolve.
Reading PDFs is not the hard part; plenty of tools do that. The hard part is trust. A language model left to itself will happily invent a plausible price. So here the model reads, matches and flags, and it never decides what a number is.
Everything technical further down is these four, made rigorous.
Six agents with one job each: read our quote, read the competitor's, match them up, flag anything ambiguous, double-check every figure, apply edits. Every step can be inspected.
A figure enters the comparison only with its page and the exact words containing it. A price without a receipt is marked unconfirmed and set aside for a person.
A different AI model re-reads both PDFs and confirms every figure, the way two independent people are unlikely to misread the same number the same way.
Language models are superb at language and unreliable at arithmetic, so the arithmetic is taken away from them and done in exact decimals by code.
The two readers run at the same time. Matching, flagging and the independent double-check run in sequence. Then a pure-code check and the arithmetic engine finish the job.
| Agent | What it does |
|---|---|
| Our-quote reader | Reads the homebuilder's own quote into line items; every priced row carries its page and exact source snippet |
| Competitor reader | Same job and same evidence rule for the competitor's quote, in parallel |
| Alignment | Matches like for like across the two vocabularies: one row per comparable item, both sides' scope and price |
| Ambiguity / flag | Raises review items: “included” with no quantity, a promotional discount, an unnamed brand, a missing citation |
| Verifier | A different model re-reads both PDFs and confirms every figure against the raw page text; anything unconfirmed is demoted |
| Chat-revise | Turns “add a rainwater tank at $1,500, source page 7” into an edit that passes the same checks as a manual one |
Reading and matching are language tasks, suited to a fast model. Verification has to be able to disagree with the readers, so it runs on a different model, with a different temperature and prompt. The final check and the arithmetic are plain code; the model layer never touches a sum.
The orchestrator itself is plain Python, not an AI. Every stage streams a progress line to the screen, so a six-minute run never looks frozen.
A single bug in any one wall cannot let a made-up figure through, because the other two still stand. Anything that fails is rewritten to Unconfirmed: amber, no value in the totals, listed for review.
Every priced row must carry a page and a verbatim snippet containing the figure. The readers cannot emit a price without one, and the same rule applies whenever a person or a chat instruction changes a price.
A different model re-reads the source and confirms each figure. A disagreement is never silently resolved: it marks the row for scrutiny.
The first two walls rely on how the AI is instructed. The third does not use AI at all. It asks one question of every figure: does the quoted snippet appear, word for word, on the page it claims?
Everything in the mechanism happens invisibly between steps 3 and 5.
| Audience | What changes for them |
|---|---|
| Sales consultant | Half a day back per customer, and a comparison they can defend: when a customer challenges a figure, they point to the exact source line. They can still edit any row and watch the totals recompute. |
| Sales leadership | Every consultant produces the same standard of comparison in the same house format, regardless of experience, and customers get a credible answer while the decision is live. |
| Risk and brand | The guarantees are built into the pipeline. No setting turns them off and no path bypasses them, so a made-up number cannot reach a customer. |
| IT and security | Customer names, emails and phone numbers are never collected. Access is checked per user, every action is audit-logged, and the system holds no secrets of its own. |
| The business | The reasoning layer is provider-neutral, so the AI models can be swapped as they improve or terms change, without touching the guarantees or the workflow. |
The controls are proportionate to the stakes: the model may read, align and narrate; only code may produce a number that reaches a customer.
The consultant resolves every ambiguity before totals unlock, and only an explicit human action clears an Unconfirmed row, an action that itself has to pass the tripwire. Routine rows need no touch; the system asks only about what the source genuinely does not say.
Measured on real customer jobs and in the automated test suites.
Time to a full comparison. From upload to a finished, source-traced comparison on a real job, against half a day of manual mapping.
Figures traced to source. The share of priced rows that carry their page and the exact words containing the figure.
Automated checks, all passing. Four self-verifying suites run on every change: adversarial (26), data model (14), Word generation (18) and inclusion matrix (5). On a failure they print the broken assertion and stop.
Fabricated figures that got through. The 26 adversarial checks try to sneak a number in: a mismatched snippet, a missing snippet, an edit that should be rejected. Every attempt is caught and flagged.
A real customer job. A mid-tier home against a large national builder's equivalent: 21 sections and 57 line items. The system raised items for review and correctly withheld the headline saving until they were resolved, telling the consultant why.
Arithmetic to the cent. A worked example from the test suite: 1234.99 + 99.99 + 2250 + 4200, reconciled against 3580.00, with no floating-point drift.
Scanned quotes handled, not refused. Two real jobs arrived as image-only PDFs. With the vision step on, each page is transcribed and the full comparison runs.
A screen that never looks stuck. The first progress update arrives soon after a run starts, then a heartbeat roughly every ten seconds through the longer stages.