Open Reader

How We Took an AI Agent From 41% to 97% Accurate - Milind Sunil Shah, Brainbase Labs

completed 13:22 Nov 05, 2026 Watch on YouTube

Current Status

completed

Video ID

4VmugsE-iP0

RAG / Chat

Enabled
How We Took an AI Agent From 41% to 97% Accurate - Milind Sunil Shah, Brainbase Labs
Description

Milind Sunil Shah of Brainbase Labs walks through a six-step framework for improving back-office agents, using a Domino's project that tracks competitors' pizza prices across websites and delivery apps. From version 1 to version 11, accuracy went from 41% to 97%, cost per source halved from $2 to $1, and run time fell from 129 to 71 minutes, all through instructions, skills and playbooks rather than a new model. The steps: kickoff, ontology, benchmarks and evals, a narrow first agent, iteration, and handing off the whole loop. Chapters: 0:00 Intro 0:26 The Domino's pricing problem 1:36 From 41% to 97% 2:02 The six-step framework 2:23 1. Kickoff: agree on the win 3:35 2. Ontology: define every term 5:43 3. Benchmarks and evals 7:42 4. Ship a narrow first agent 8:49 5. Iterate: score, fix, ship 9:44 Fix: the deal below the link 10:28 Fix: stuck zooming into images 11:56 6. Hand off the whole loop Milind Sunil Shah Join us in SF for the second annual AIE CODE summit: https://aie.codes our last flagship summit of 2026. Applications live now!

Summary

Generated by gpt-5.6-terra

At-a-Glance

  • Verdict: Watch fully
  • Core thesis: Reliable enterprise browser agents are built through a closed-loop operating system—explicit task ontology, layered evaluation, narrow deployment, trace-led failure analysis, and customer-owned exception handling—rather than by simply changing models.
  • Why it matters: The Domino's case offers a concrete pattern for taking an agent that touches messy, changing web sources from 41% to 97% reported accuracy while reducing per-source cost from over $2 to $1.
  • Best use: Use it as a practical design review for any agent that produces business-critical artifacts from unstructured external sources, especially browser-based research, pricing, monitoring, or back-office workflows.

Executive Summary

Brainbase Labs presents a Domino's competitive-pricing agent that gathers the lowest purchasable competitor price across websites and delivery apps, including promotions, delivery versus takeaway distinctions, and local-store context. The task appeared simple at the action level, but a single wrong interpretation could produce a polished spreadsheet with incorrect business data. The operational requirement was therefore not autonomous completion at all costs, but accurate output with explicit uncertainty and analyst sign-off on exceptions.

The team reports improving the agent from 41% accuracy in version one to 97% by version 11, while cutting reported cost per source from more than $2 to $1 and reducing a run from 129 to 71 minutes. The speaker attributes this primarily to better instructions, task-specific rules, benchmark coverage, and browser-use policies—not a model replacement. Their six-stage framework is kickoff, ontology, benchmarks/evals, a narrow first agent, iterative improvement, and handoff of the full improvement loop to the customer.

The key technical lesson is to turn tacit analyst judgment into explicit definitions, data schemas, and rules. For example, the agent must distinguish strikethrough from checkout price, delivery from takeaway, an individual product from an eligible bundle, and verified promotions from uncertain ones. It must record the observed source and reason for its selection, and write a gap rather than guess when verification fails.

Evaluation is deliberately layered: deterministic code checks spreadsheet completeness and arithmetic; an LLM judge inspects traces for correct item and promotion selection; an agent judge revisits flagged prices using tools; and analysts resolve residual exceptions. The agent is then improved by reviewing real traces, fixing high-frequency or costly failure modes one at a time, adding each meaningful failure to benchmarks, and eventually shifting users to exception-only review with a mechanism to turn corrections into new test cases.

Key Takeaways

  • Claim: Define success jointly with the business owner before building the agent, including quality, cost, runtime, approval ownership, and prohibited autonomous decisions. | Evidence: For Domino's, the team established that analysts had been spending roughly two hours daily producing a pricing spreadsheet, every cell was checked manually, the pricing team consumed the result, and the agent had to flag uncertainty for analyst sign-off. | Implication: For a production agent, the specification should include an explicit human-control boundary and economic/service-level targets—not merely a natural-language task prompt.
  • Claim: An explicit ontology prevents the agent from silently substituting its own interpretation for business rules. | Evidence: Brainbase used item IDs and a price-observations table to tie each result to an item, full price, selected payable price, and source. Rules specified that the checkout price—not a $24 strikethrough price versus a $19 sale price—should be recorded; delivery is not takeaway; eligible 'large pizza' may be an item or bundle; promo math must be applied; unverifiable results become gaps. | Implication: Treat agent instructions as a versioned operational policy and data contract, with provenance at the cell or record level so reviewers can audit why a value was chosen. | Caveat: The ontology requires continued maintenance because live sites, product menus, promotion conventions, and business definitions can change.
  • Claim: Use layered evaluations rather than relying on one overall accuracy metric or an LLM judge alone. | Evidence: Deterministic checks verified that IDs were replaced, discount arithmetic was correct, and price changes of 20% or more were flagged. An LLM judge reviewed traces for correct item/promotion selection, while an agent judge revisited flagged prices with multiple tool calls to determine whether the flag was valid. | Implication: Build replayable evidence collection into the first deployment; otherwise, browser-agent regressions on dynamic sources will be difficult to reproduce, score, or fix. | Caveat: Historical web environments were not fully reproducible: Archive.org snapshots worked for competitor websites but not delivery apps, so the team captured browser screenshots from version one onward for benchmarks.
  • Claim: The first version should be deliberately narrow and measurable; its purpose is to reveal failures, not to look broadly capable. | Evidence: Domino's version one covered one app, one item, and one city before expanding to burgers, takeaway, another app, and other websites. It was only 41% correct, took over two hours, and cost more than $2 per source, but gave the team a baseline from which to iterate. | Implication: Gate scope expansion on demonstrated performance in a constrained slice, and preserve baseline metrics for accuracy, run time, unit cost, exception rate, and failure category. | Caveat: The reported 97% end-state accuracy is a vendor-presented result from this particular workflow; the transcript does not provide sample size, an external audit, or a precise definition of the accuracy denominator.
  • Claim: Many material improvements come from targeted behavioral rules discovered in production traces, often before any model change is warranted. | Evidence: The agent stopped after finding a highlighted pizza price but missed a cheaper $21 deal lower on the same page; a rule to inspect the entire page fixed that failure. The speaker recommends changing one thing at a time and fixing instructions before changing the model. | Implication: Maintain a failure-to-policy workflow: classify each reviewed error, decide whether it is a prompt/rule, tool, data, or model issue, then add the corrective case to regression coverage.
  • Claim: Browser agents need explicit efficiency policies, including structured-page inspection before expensive visual analysis and stopping conditions for loops. | Evidence: On a promotions page containing 26 image-based offers, the agent repeatedly zoomed images at 4x, 5x, and 6x, found the correct card around minute 13, but continued until manually stopped at minute 15. Inspecting the HTML DOM, image titles, and alt text first, plus setting a maximum zoom behavior, cut image reads to one-third and reduced cost by more than 50%. | Implication: Instrument browser runs with trace review, per-tool cost/latency metrics, loop detection, and escalation limits; correctness monitoring alone will not control operational cost. | Caveat: Automated evaluation did not surface every inefficiency; engineers still had to inspect traces and tool behavior directly.
  • Claim: The deliverable to an enterprise customer is an improvement loop, not just a running agent. | Evidence: At handoff, Domino's runs the agent daily or manually by email trigger, analysts review only exceptions, and corrections can be added as benchmark cases. The team explicitly identifies owners for running, reviewing, converting corrections into rules/tests, and approving releases. | Implication: Production readiness requires clear RACI for operations, exception review, benchmark curation, and deployment authority, with low-risk user corrections made self-service where possible.

Detailed Brief

Artifact design and auditability

  • Claims: The agent workflow is structured around stable item identifiers rather than free-form spreadsheet edits.; A reviewer should be able to trace a wrong result back to both the exact source page and the rule used to select the value.
  • Evidence: The input target table identifies each requested combination of brand, item, channel, and fulfillment mode; the price-observations table stores corresponding observed price, full price, and source.; The final spreadsheet begins with placeholder item IDs, which are replaced by the agent after lookup rather than being filled through an unstructured process.
  • Caveats: This design presumes the requested work can be normalized into identifiable records; highly open-ended research tasks may require a different artifact and scoring model.
  • Implications: Stable IDs, intermediate observations, provenance, and a deterministic final rendering layer make agent work easier to audit, correct, and regress-test than direct document editing.

Iteration economics and escalation logic

  • Claims: The iteration loop prioritizes failures by frequency and expense, while explicitly considering whether a fix increases runtime or unit cost.; Flags serve both as a safety mechanism and as a source of new benchmark cases.
  • Evidence: The speaker advises evaluating whether a proposed correction raises runtime or cost and whether that trade-off is acceptable.; The agent flags prices that move by 20% or more from a previous run, and analysts investigate final flags to identify why something went wrong.
  • Caveats: A 20% change threshold is an example from competitive pricing, not a universal anomaly threshold.
  • Implications: Set domain-specific alert thresholds and make approval of cost-versus-quality trade-offs an explicit product or operations decision rather than an accidental consequence of prompting.

Notable Concepts & Terms

  • Ontology: The explicit definitions, source rules, output locations, and uncertainty behavior that constrain an agent from making business-critical assumptions.
  • Price observations table: An intermediate, auditable record keyed to an item ID that stores observed and selected prices plus their source before final spreadsheet rendering.
  • Deterministic eval: Code-based validation for objectively checkable conditions such as field completion, arithmetic, and anomaly-flag behavior.
  • LLM as judge: A model-based review of traces for semantic judgments such as whether the correct item or promotion was selected.
  • Agent as judge: A tool-using agent that investigates an output or flag over multiple steps, used where a static evaluation cannot establish correctness.
  • Trace-led iteration: Reviewing browser actions and tool calls to find behavioral failures, inefficiencies, and loops that aggregate metrics may conceal.
  • Exception-only review: The target operating model in which analysts review flagged uncertainty rather than rechecking every completed output.
  • Hill climbing: The speaker's iterative approach of repeatedly measuring, making bounded corrections, and expanding scope only after improvements hold.

Operator Notes / Why Ken Should Care

  • Adopt a launch template requiring: business outcome, accuracy definition, unit-cost and latency targets, forbidden autonomous actions, review owner, and release owner before an agent enters production.
  • Require every browser agent to persist replayable evidence from day one—screenshots or equivalent page captures, action traces, source URLs, and versioned rules—rather than relying on live web reproduction.
  • Implement a three-tier evaluation stack: deterministic assertions first, semantic trace review second, and tool-using re-verification for ambiguous or high-impact cases.
  • Add hard browser guardrails for repeated visual actions: maximum zoom/retry counts, loop detection, DOM/metadata-first extraction, and budget-based escalation to a human.
  • Design the customer handoff around an exception queue and a one-click path from validated correction to regression case; assign ownership for curating and approving those additions.
  • Treat reported end-state accuracy as a target to independently validate against a held-out, representative sample before using it to justify broader autonomous scope.

Source/Metadata

  • Title: How We Took an AI Agent From 41% to 97% Accurate - Milind Sunil Shah, Brainbase Labs
  • Transcript words: 4482
  • Duration seconds: 802
  • Timestamp note: No usable timestamps or chapters were provided; the transcript contains a substantial repeated segment.

Transcript

2499 words en Processed in 84.1s

Milind, MTS at Brainbase. We help enterprises deploy internal agents at scale and manage them. Today I'm going to be talking about hill climbing back office agents and how we did that successfully with the customer. Our customer in this case that I'm going to be talking about throughout and the framework we use repeatedly is Domino's. As you all know, they have 20 plus thousand stores, 90 plus markets. We started off with a single region with their CMO office. We wanted to answer this question that they kept asking. What does a pizza cost at the competitor down the street? What does it cost in their delivery apps? What does it cost on their actual website with promos, without promos, things like that? They essentially wanted a spreadsheet at the end with the lowest price possible for a bunch of different items. Before we built the agent for them, they had an analyst manually doing these steps. They all look easy in isolation. You open a competitor's website, pick the right store, compare prices with delivery, takeaway, find the right promos, find the cheapest price, and write it all down into a spreadsheet. It all looks easy enough, but if you get one of these steps wrong, you get a spreadsheet at the end that looks finished, but it's just wrong. We had to build an agent that does the same. Reads a bunch of items, finds the website, interprets prices, fills the spreadsheet, hand it off to an analyst, and flag anything that it thinks it's not sure of. When we created version one of this agent for them, we had 41% accuracy. By the end, at version 11, we had 97% accuracy. Cost per source—per source means per item, per competitor, per website—went from $2 per source to $1 per source. And the amount of minutes it took per run went from $129 to 71. All of this went just through instructions and skills and playbooks changing. Here are the six steps that we use, not just with Domino's, but with other customers as well. We start off with kickoff, followed by ontology, benchmarks, first agent, iterating, and handing off. I'll talk about what these steps mean in detail and what we did for Domino's in each of these, and hopefully it's a repeatable framework that we all can use internally as well. So step one is kickoff. You should idly talk to your customer or end user and agree on what the win looks like. As of today, what is the job? What is a human sign-off on at the end of it? How long does it take? How much does it cost? How accurate does your agent need to be? Who judges the output? And what must the agent never do alone? What assumptions should it never make? For Domino's, we ended up creating this brief that worked really well for us. Our outcome at the end had to be a faster, repeatable way to collect local competitive pricing without losing the judgment edge cases need. So we asked them all of these questions. As of today, the analysts create a spreadsheet and the pricing team finally analyzes it. An analyst spent two hours daily manually actively working on creating the spreadsheet. Every cell was then checked and confirmed. And the agent at the end just had to ask for the analyst to sign off and flag anything else it had to. Our win in numbers looked like having the highest accuracy, the lowest cost per source as possible, runtime to be as low as possible. And before we even started, they weren't even sure if we can do discount search at all. Step two is ontology. What does that exactly mean? We try to write down all the terms that the agent needs to know to never make assumptions, which means we need to tell the agent exactly what it's supposed to collect, where each answer comes from, where does it go? What does each term mean to the analysts that actually do the work manually? And what should the agent do when it can't figure something out? If there's one rule here, it is that every term should ideally have a definition. If you don't write something down, the agent's going to guess and probably get something wrong. For Domino's, here's what it looked like. We at Brainbase have a memory primitive of our own that has memory that looks like a PostgreSQL database that the agent can do whatever it wants with. We gave it a target table where we gave it all the items. In this case, let's look at ID number 14. ID 14 is brand B. It's a large pizza. Delivery method, on app B. The agent hypothetically does browser use, finds the price on the website, finds that it's 24 and 19. 24 is a strikethrough price, 19 is a sale price. We also now have a rules file where we actually tell the agent to specifically mark down the price that a user pays at checkout, not 24. This came from a valid failure. What it saves at the end, we created a table again called price observations where it, with the corresponding ID, stores what price it saw, what the full price was, and the actual source. And at the end, we give it a spreadsheet that has all placeholder item IDs. And all it has to do is look up the ID and replace the price. When a cell is wrong, it points to the exact page and the rule behind why it chose the selected price. Other rules that we mentioned that came through actual live traces were definition of what a large pizza looks like. It's anything that's the item itself or a bundle. Delivery is not equal to takeaway. It got confused with that. It's supposed to do promotion math. If it's 30% off the price, it should do that before entering it in the spreadsheet. And if it can't verify it, write it down as a gap and do not guess. Step three is figuring out benchmarks and evals. Now, these steps can be interchangeable slightly, but essentially you're trying to figure out what you can run offline evals on and what you can run online evals on. For offline evals, you should ideally start off by asking them if they have past cases that they already have answers for. In this case, we had analysts from Domino's who had spreadsheets that they worked on. Can we actually rerun those input cases to get the same final output? And then at the end, how do you figure out how to score each thing that the agent's doing? For evals, you try to figure out what you can check deterministically, what you can check with an LLM as a judge, and what you can check as an agent as a judge. That's a concept that we think is slightly more unique, where if there's an output artifact, you probably want an agent to take multiple turns, multiple tool calls to figure out how correct that artifact is. And at the end, what happens when something goes wrong and what happens when it's flagged? You should try to score as many things as you can with these three things. At Domino's, our benchmark essentially started off with old spreadsheets that they had. We tried to create the input environment by going to archive.org and having snapshots of competitor websites at those given dates. What we saw was that it didn't work with delivery apps because they didn't serve data the same way. So we ended up storing browser screenshots for everything the agent was doing starting from version one of the agent. And that's how we create our environment for the internal benchmark. For evals, we use code for things like checking if every ID cell was replaced with the price, if the discount math was computed correctly, if the price was 20% plus or minus compared to the previous run, was it flagged or not. LLM as a judge just checks the trace to see if the right item was selected and if the right promo was applied. Agent as a judge actually goes to every flagged price and actually confirms if the flag was valid or not. And the analyst at the end will go look at the final flags and try to figure out what the reason for it was if something went wrong. Step four is actually shipping some version of a first agent. You should ideally ship a narrow first agent in your stack that you can score from day one. You should probably figure out what the smallest slice worth scoring is. You should figure out how accurate things should be. How long it takes. And you should use this agent to figure out how long does the run take? What does it cost? What does it get wrong? And things like that. Version one's job is to be measured. It's not to be good. You should widen the scope after you get some baseline score they're trying to meet. For Domino's, version one for us was 41% correct. It took more than two hours. It was $2 per source. And it just wasn't working well. We found a bunch of changes, made fixes, and then improved and increased the scope. So we started off with just one app, one item in one city, moved on to adding burgers and takeaway options, moved on to adding another app, and finally other websites as well. So starting off with small narrow scope worked out really well for us to figure out how we can fix things. Step five is to iterate. You should score, fix, and ship. Here is where you'll do steps two, three, and four. Keep rating, improving your ontology, improving your evals, your benchmarks to get things that work. You should figure out which failures are most expensive, most frequent, fix them. What changes should be used to fix them? If that change results in increased runtime or cost, if yes, are you okay with that increased runtime and cost? And how can you use those failures to create and add to your benchmark cases or eval criteria? Ideally, change one thing at a time and fix the instructions before you want to change the model entirely. At Domino's, I've highlighted two examples. Before I get to that, here is a graph of how our progression went. V1 started off at 41%, more than $2 a source. V11, after a bunch of changes, is $1 a source and 97% accurate. Here's an example of a very simple rule change that we made. We gave the agent a link of a large pizza to find for brand B via delivery on its own website. It went to the link which had the section already highlighted. It clicked on it, found the large pizza, found the price, and ended there. The analyst caught that there was actually a deal below that website, below on the same page that was $21 instead, and it missed that. So all we had to do there was add a simple rule to not stop at the section that it gets linked to, but actually look at the entire page. And a simple change like that helped us catch this and make sure it doesn't happen again. Another more intricate change that we had to make was actually browser use behavior of the agent. So in one of the runs, we saw that for brand D, promotions page, where all the promotion prices were inside images, so not actually captured in text. What the agent did is it looked at all 26 promo images to find the item it was looking for. It looked at them again by zooming in 4x, 5x, 6x. It found the right card at minute 13, but it still kept zooming to double check and verify, and it was in a loop, and we had to manually stop it at minute 15. We realized after manually looking at the trace and the website that the HTML DOM is actually super important and could have saved the agent a lot of work here. So we tell the agent in our latest rules to go look at the HTML DOM first, look at things like image titles, alt text before looking at the actual image reads, and just stopping past a certain zoom level. What that resulted in is one-third the number of image reads, reducing cost by over 50%, and us getting an actual answer on a finished report. So while we have automated checks and eval criteria to help us catch a lot of things, some things require our engineers to actually look at traces and browse around use tool calls and see what went wrong. We made a bunch of these changes, got to V11, got to 97% accuracy, and now it's figuring out here, what next? So our way of this is trying to figure out how best to hand off to the customer at the end. We want to figure out who's running these agents, who's reviewing the outputs, who's trying to correct, who's trying to take the corrections into, and converting into rules and benchmark cases, and who decides when the new version is there to ship. All these questions are things you should probably have written down. You're trying to hand off an entire loop and not just the agent. Ideally, the user should be empowered enough to make these changes if they're small enough themselves. So for Domino's, that's exactly what we did. The agent now runs on their schedule, either daily or via email trigger manually. Analysts review only the exceptions at this point. Each correction that they catch, they're automatically able to add as a benchmark case. If they can't, then they're always available for them. And we are now at a place where we are expanding with them, trying to cater to multiple markets and multiple other areas. This is basically how we used our framework to work with Domino's to go from an agent that barely works to an agent that works almost perfectly while reducing the cost. We found this framework to be very effective for various other use cases, especially where you have messy sources of data where you're trying to figure out the right answer. Thanks. How long does it take? How much does it cost? How accurate does your agent need to be? Who judges the output? And what must the agent never do alone? What assumptions should it never make? For Domino's, we ended up creating this brief that worked really well for us. Our outcome at the end had to be a faster, repeatable way to collect local compared to pricing without losing the judgment edge cases need. So we asked them all of these questions. As of today, the analysts create a spreadsheet and the pricing team finally analyzes it. An analyst spent two hours daily manually actively working on creating the spreadsheet. Every cell was then checked and just confirmed. And the agent at the end just had to ask for the analyst to sign off and flag anything else it had to. Our win in numbers looked like just having the highest accuracy, the lowest cost per source as possible, runtime to be as low as possible. And before we even started, they weren't even sure if we can do discount search at all. Step two is ontology. What does that exactly mean? We try to write down all the terms that the agent needs to know to never make assumptions, which means we need to tell the agent exactly what it's supposed to collect, where each answer comes from, where does it go? What does each term mean to the analysts that actually do the work manually? And what should the agent do when it can't figure something out? If there's one rule here, it is that every term should ideally have a definition. If you don't write something down, the agent's going to guess and probably get something wrong. For Domino's, here's what it looked like. We at Brainbase have a memory primitive of our own that has memory that looks like a PostgreSQL database that the agent can do whatever it wants with. We gave it a target stable where we gave it all the items. In this case, let's look at ID number 14. ID 14 is brand B. It's a large pizza. Takeaway method, sorry, it's delivery and on app B. The agent hypothetically does browser use, finds the price on the website, finds that it's 24 and 19. 24 is a striked out price, 19 is a sale price. We also now have a rules file where we actually tell the agent to specifically mark down the price that a user pays at checkout, not 24. This came from a valid failure. What it saves at the end, we created a table again called price observations where it, with the corresponding ID, stores what price it saw, what the full price was, and the actual source. And at the end, we give it a spreadsheet that has all placeholder item IDs. And all it has to do is look up the ID and replace the price. When a cell is wrong, it points to the exact page and the rule behind why it chose the selected price. Other rules that we mentioned that came through actual live traces were definition of what a large pizza looks like. It's anything that's actually the item itself or a bundle. Delivery is not equal to take away. It got confused with that. It's supposed to do promotion math. If it's 30% off the price, it should do that before entering it in the spreadsheet. And if it can't verify it, write it down as a gap and do not guess. Step three is figuring out benchmarks and evals. Now, these steps can be interchangeable slightly, but essentially you're trying to figure out what you can run offline evals on and what you can run online evals on. For offline evals, you should ideally start off by asking them if they have passed cases that they already have answers for. In this case, we had analysts from Domino's who had spreadsheets that they worked on. Can we actually rerun those input cases to get the same final output? And then at the end, how do you figure out how to score each thing that the agent's doing? For evals, you try to figure out what you can check deterministically, what you can check why an LLM is a judge, and what you can check as an agent as a judge. That's a concept that we think is slightly more unique, where if there's an output artifact, you probably want an agent to take multiple turns, multiple tool calls to figure out how correct that artifact is. And at the end, what happens when something goes wrong and what happens when it's flagged? You should try to score as many things as you can with these three things. So yeah, at Domino's, our benchmark essentially started off with old spreadsheets that they had. We tried to create the input environment by going to archive.org and having snapshots of compared to websites at those given dates. What we saw was that it didn't work with delivery apps because they didn't serve data the same way. So we ended up storing browser screenshots for everything the agent was doing starting from version one of the agent. And that's how we create our environment for the internal benchmark. For evals, we use code for things like checking if every ID cell was replaced with the price, if the discount map was computed correctly, if the price was 20% plus or minus compared to the previous run, was it flagged or not. LM as a judge just checks the trace to see if the right item was selected and if the right promo was applied. Agent as a judge actually goes to every flagged price and actually confirms if the flag was valid or not. And the analyst at the end will go look at the final flags and try to figure out what the reason for it was if something went wrong. Step four is actually shipping some version of a first agent. You should ideally ship a narrow first agent in your stack that you can score from day one. You should probably figure out what the smallest slice worth scoring is. You should figure out how accurate things should be. How long and you should use this agent to figure out how long does the run take? What does it cost? What does it get wrong? And things like that. Version one's job is to be measured. It's not to be good. You should widen the scope after you get some baseline score they're trying to meet. For dominoes, like I mentioned earlier, version one for us was just 41% correct. It took more than two hours. It was $2 per source. And it just wasn't working well. We found a bunch of changes, made fixes, and then improved and increased the scope. So we started off with just one app, one item in one city, moved on to adding burgers and takeaway options, moved on to adding another app, and finally other websites as well. So starting off small narrow scope worked out really well for us to figure out how we can fix things. Step five is to just iterate. You should score, fix, and ship. Here is where you'll do steps two, three, and four. Keep it rating, improving your ontology, improving your evals, your benchmarks to get things that work. You should figure out which failures are most expensive, most frequent, fix them. What changes should be used to fix them? If that change results in increased runtime or cost. If yes, are you okay with that increased runtime and cost? And how can you use those failures to create and add to your benchmark cases or eval criteria? Idly, change one thing at a time and fix the instructions before you want to change the model entirely. At Domino's, I've highlighted two examples. Before I get to that, here is a graph of how our progression went. V1 started off at 41%, more than $2 a source. V11, after a bunch of changes, is $1 a source and 97% accurate. So yeah, here's an example of a very simple rule change that we made. We gave the agent a link of a large pizza to find for brand B via delivery on its own website. It went to the link which had the section already highlighted. It clicked on it, found the large pizza, found the price, and ended there. The analyst caught, that is somebody manually caught at the end, that there was actually a deal below that website, below on the same page that was just $21 instead, and it missed that. So all we had to do there was add a simple rule to not stop at the section that it gets linked to, but actually look at the entire page. And a simple change like that helped us just catch this and make sure it doesn't happen again. Another more intricate change that we had to make was actually browser use behavior of said agent. So in one of the runs, we saw that for brand D, this is a brand called brand D, promotions page, where all the promotion prices were inside images, so not actually captured in text. What the agent did is it looked at all 26 promo images to find the item it was looking for. It looked at them again by zooming in 4x, 5x, 6x. It found the right card at minute 13, but it still kept zooming to double check and verify, and it was just in a loop, and we had to manually stop it at minute 15. We realized after manually looking at the trace and the website that the HTML DOM is actually super important and could have saved the agent a lot of work here. So, we tell the agent in our latest rules to go look at the HTML DOM first, look at things like image titles, alt text before looking at the actual image reads, and just stopping past a certain zoom level. What that resulted in is one-third the number of image reads, reducing cost by over 50%, and just us getting an actual answer on a finished report. So while we have automated checks and eval criteria to help us catch a lot of things, some things require our engineers to actually look at traces and browse around use tool calls and just see what went wrong. So yeah, we made a bunch of these changes, got to V11, got to 97% accuracy, and now it's just figuring out here, like, what next? So our way of this is trying to figure out how best to hand off to the customer at the end. We want to figure out who's running these agents, who's reviewing the outputs, who's trying to correct, who's trying to take the corrections into, and converting into rules and benchmark cases, and who decides when the new version is there to ship. All these questions are things you should probably have written down. You're trying to hand off an entire loop and not just the agent. Ideally, the user should be empowered enough to make these changes if they're small enough themselves. So for Domino's, that's exactly what we did. The agent now runs on their schedule, either daily or even via email trigger manually. Analysts review only the exceptions at this point. Each correction that they catch, they're automatically able to add as a benchmark case. If they can't, then they obviously, they're always available for them. And we are now at a place where we are expanding with them, trying to cater to multiple markets and multiple other areas. So yeah, this is basically how we used our framework to work with Domino's to go from an agent that barely works to an agent that works almost perfectly while reducing the cost. We found this framework to be very effective for various other use cases, especially where you have messy sources of data where you're trying to figure out the right answer. And thanks. I had the title title title title title title title title title title title title title title title