How Brainbase Improved a Competitor-Pricing Agent from 41% to 97%

Milind Sunil Shah describes an iterative workflow for collecting and evaluating competitor prices with a back-office agent.

MSMilind Sunil ShahVortrag · Brainbase
Kanal
AI Engineer
Veröffentlicht
5. Nov. 2026
Video
13:22
Lesezeit
4 Min.
Original
Englisch
Auf YouTube öffnen
Beim Scrollen schrumpft das Video in die rechte untere Ecke und läuft weiter. Untertitel folgen Ihrer Lesesprache.
LesespracheIn 2 Sprachen verfügbar
Diesen Artikel gibt es noch nicht auf Deutsch, daher wird das Original (Englisch) angezeigt.
ZUSAMMENFASSUNG

In 30 Sekunden

Brainbase’s Milind Sunil Shah presents a Domino’s competitor-pricing project and a six-step workflow for agent development. He reports accuracy improving from 41% to 97% across eleven versions while cost and runtime fell, attributing the changes to instructions, skills and playbooks.

  1. 1From 41% to 97%The speaker reports higher accuracy and lower cost and runtime over eleven versions without changing the model.
  2. 2Define the ontologyExplicit definitions reduce the need for the agent to guess.
  3. 3Build a benchmarkHistorical spreadsheets and captured browser evidence support repeatable evaluation.
  4. 4The deal below the linkA rule to inspect the whole page corrected a missed promotion.
  5. 5A zoom loopInspecting the DOM first and limiting zoom reduced image reads and cost.
  6. 6Hand off the loopCustomers need ownership of review, corrections, benchmarks and release decisions.

Das Wichtigste

  1. Define the business outcome, human sign-off and forbidden assumptions before building.
  2. Give the agent explicit definitions for items, fulfillment methods, promotions and unverifiable values.
  3. Combine deterministic checks, model and agent judges, and human review with a reproducible benchmark.
  4. Start with a narrow measurable slice and prioritize costly or frequent failures.
  5. Hand off the maintenance and evaluation loop along with the agent.
VOLLTEXT

Den bearbeiteten Text nach Kapiteln lesen

Nur das Transkript
01

The competitor-pricing task

Shah describes the manual workflow and the project’s reported accuracy, cost and runtime.

I am Milind Sunil Shah, a member of technical staff at Brainbase. We help enterprises deploy and manage internal agents. I will explain how we improved a back-office agent for Domino’s through repeated measurement and iteration.

The customer wanted to know the lowest available prices at nearby competitors: on their own sites and delivery apps, with and without promotions. Analysts previously gathered these figures manually, selecting the right store, fulfillment method and deal before filling in a spreadsheet. A plausible-looking cell can still be wrong if any step fails.

The agent needed to perform the same workflow, record sources and flag uncertainty for an analyst. According to our project measurements, version one was 41% accurate; by version eleven it reached 97%. Cost per source fell from $2 to $1, and a run fell from 129 to 71 minutes. We changed instructions, skills and playbooks rather than the model.

Our six-step framework is kickoff, ontology, benchmarks and evaluations, a narrow first agent, iteration, and handoff. It is a way to make the work measurable and improve the entire operating process rather than treating the first agent as the finished product.

02

Kickoff and ontology

The team defines the outcome, sign-off and precise business rules.

At kickoff, agree with the end user on the job, what a human signs off, current time and cost, required accuracy, who judges the output, and what the agent must never assume or do alone. For Domino’s, the aim was repeatable local price collection without losing judgment on edge cases.

An analyst had spent about two hours a day actively assembling the spreadsheet, and every cell was checked. Our target was high accuracy at low source cost and runtime, with an analyst signing off and examining flagged cases. At the outset it was not even clear whether the discount search could be automated.

The ontology defines the terms and rules the agent needs: what to collect, where each answer comes from, where it goes and what to do when it cannot verify a result. If a term is not defined, the agent may guess. Each definition should reflect how the actual analyst performs the work.

We supplied a target table identifying each item, competitor, fulfillment method and source. In one example a product displayed $24 crossed out and $19 on sale. A rule says to record the price the customer pays at checkout. The observation table stores the selected price, full price and source, so a bad cell can be traced to the page and rule.

Other rules came from real failure traces: define what qualifies as a large pizza or bundle, keep delivery distinct from takeaway, calculate percentage discounts, and record an unverifiable value as a gap rather than guessing. These definitions became part of the working system.

03

Benchmarks and evaluations

Spreadsheets, browser evidence, code and judges make the agent measurable.

For benchmarks, ask for past cases with known answers and decide what can be evaluated offline or online. We started with analyst spreadsheets and attempted to recreate historical competitor sites using archive snapshots. Delivery apps did not work the same way, so from version one we stored browser screenshots to build our internal benchmark environment.

We used deterministic code to check that IDs were replaced, discount math was correct and a price changing by more than 20% was flagged. A language-model judge checked traces for item and promotion selection. An agent judge investigated flagged prices with multiple tool calls, and an analyst reviewed the final exceptions.

04

Start small and iterate

The first agent covers a narrow slice; failures drive targeted changes.

Ship the smallest useful slice that can be scored from day one. Version one’s job is to be measured, not to be good. We began with one item in one city on one app, then added burgers, takeaway, another app and further sites as the baseline improved.

Iteration means score, fix and ship: improve the ontology, benchmarks and evaluations, prioritize frequent or expensive failures, and consider whether a fix adds time or cost. Change one thing at a time where possible, and fix instructions before replacing the model.

05

Two practical fixes

A full-page search finds a missed offer, while DOM inspection prevents a zoom loop.

One agent followed a link straight to a large pizza and stopped at the displayed price. A human found a $21 deal lower on the same page. The fix was simple: do not stop at the linked section; inspect the entire page for applicable offers.

In another run, promotion prices appeared inside 26 images. The agent found the right card at minute 13 but kept zooming and had to be stopped at minute 15. Engineers inspected the trace and page, then instructed it to examine the HTML DOM, image titles and text first and to stop beyond a zoom limit.

That change reduced image reads to one third and cut cost by more than half in the example, while producing a completed report. Automated evaluations catch many problems, but engineers still need to inspect traces and browser tool calls to understand some failures.

06

Handing off the improvement loop

Analysts review exceptions and turn corrections into benchmark cases.

Handoff means handing over the whole improvement loop: who runs the agent, reviews outputs, turns corrections into rules and benchmark cases, and decides when a new version is ready. At Domino’s, the agent runs on a schedule or by email trigger, analysts review exceptions, and corrections can be added to the benchmark. The team is expanding the approach to other markets and work.

Mehr aus diesem Kanal

20:45EN
AI Engineer· 5. Nov. 2026John Stecher and Scott Worland on Building AI Systems That Can ChangeScott Worland, John Stecher · Norm AIThe Blackstone and Norm AI CTOs discuss data strategy, evaluations, production controls and when to wait for a better model.Enterprise-KIEvalsAgent Engineering+1
4 Folien15:32EN
AI Engineer· 5. Nov. 2026Emil Chetty on Letting Payment Agents Act Within Customer-Approved BoundariesEmil Chetty · WiseWise’s data and AI product lead describes an immutable job agreement that lets agents choose steps while trusted payment services enforce customer authorization.Agenten-AuthentifizierungAI securityFintech+1
3 Folien14:15EN
AI Engineer· 4. Nov. 2026How Ramp Applies Smaller Models, KV-Cache Cartridges and Agent SwarmsAlexander Shevchenko · RampAlexander Shevchenko explains three applied research projects that trade latency and cost against task-specific accuracy and operational complexity.AI agentsModelle & TrainingAI cost & performance+1
15:12EN
AI Engineer· 4. Nov. 2026Dillon Rolnick on AI Vendor Lock-In and Open Agent FoundationsDillon Rolnick · Nous ResearchThe Nous Research CEO argues that businesses should retain control over their agent stack, presenting his company’s Hermes Agent as one option.AI agentsOpen-weight modelsUnternehmen & Strategie+1
3 Folien18:50EN
AI Engineer· 4. Nov. 2026Pim de Witte on Training Visual Action Models with Video GamesPim de Witte · General IntuitionThe General Intuition founder describes using game recordings and controller actions to train systems intended for both computer use and robotics.AI researchModelle & TrainingAI agents
5 Folien19:12EN
AI Engineer· 4. Nov. 2026Why AI Agents Need Reliable Processes to Scale Across a CompanyMitchell Troyanovsky · BasisBasis co-founder Mitchell Troyanovsky explains behavior specifications, trajectory forks and simulations for production agents.Agent EngineeringEvalsEnterprise-KI+2