Predictika · AI glasses orders
An AI sales agent prepares an order for Ray-Ban Meta AI glasses: the frame style, the fit, the lens type and prescription, protection plans, extra charging cases, the customer's phone, the discount and the total it states. Before it goes out, the agent sends it to Predictika, which checks it against a declarative model of the ordering rules and returns a verdict, every reason and the total it computed.
This validator models orders of this kind, not just the scenarios shown below.
Any order that touches these rules is in scope — not only the scenarios pictured here. Product and style names and the starting price of $379 follow public information; the other prices, fit availability, prescription ranges, phone versions and the bulk and discount thresholds are modeled from comparable products and not published by Meta or EssilorLuxottica, so the amounts on this page are illustrative. Not covered: Oakley Meta, Meta Ray-Ban Display, Quest headsets and accessories other than charging cases.
6 scenarios in 3 groups · each group runs from the agent’s first attempt to the outcome · click one to switch
Illustrative agent statement. The validator receives the structured request below.
Proposing agent: AI sales agent (scripted)
Before sending, the agent must call Recorded run
What this means
Our assessment of what a typical rules-based CPQ (product rules, price rules and validation rules, as in Salesforce CPQ) does with the same cases. It is a judgment about effort and reliability, not a claim that nothing can be built.
| What the validator caught | Typical rules-based CPQ | Predictika |
|---|---|---|
| Styles that only some fits and lenses can use | Only with care Each style offers its own fits, and the optical styles need prescription lenses, so a style rule has to be written beside every fit and lens rule. | The style, fit and lens are checked together on every call. |
| Prescription ranges with a review band | Only with workarounds A prescription can be fine, need an optician to verify it, or be out of range, so each lens setting needs three outcomes. | Sphere and cylinder are compared with the range and the review band on every call. |
| Phone compatibility that depends on the phone type | Only with care The oldest supported version differs between iOS and Android, so the rule has to read the phone type before it compares the version. | The phone type and version are checked against the minimum on every call. |
| A discount with an approval band and a hard limit | Only with workarounds A discount is approved by a person up to a limit and refused above it, and bulk orders add another approval. | Every approval and every refusal is listed in one answer, whatever order the choices were made in. |
| A stated total that must match the computed total | Only with workarounds The total depends on the lens, the plan, extra cases, quantity and discount, so it must be computed before it can be compared. | The stated total is a field of the order and is compared with the computed total on every call. |
Every rule is checked on every call, in any order the choices arrive; one problem never hides another. Blocking findings stop the order; approval findings need a person to sign off; everything else is computed.
| 1 | The Large fit is only offered on the Wayfarer style. |
| 2 | The Skyler style is not offered in Low Bridge Fit. |
| 3 | A high-power prescription needs an optician to verify lens fit. |
| 4 | A sphere power of -61 tenths of a diopter is outside the -6.0 to +4.0 prescription range. |
| 5 | A sphere power of 41 tenths of a diopter is outside the -6.0 to +4.0 prescription range. |
| 6 | A cylinder of -21 tenths of a diopter is outside the -2.0 to +2.0 range modeled for these lenses. |
| 7 | The order has 0 pairs; at least 1 is needed. |
| 8 | An order of 10 or more pairs is handled as a bulk order; a person should confirm availability and terms. |
| 9 | The phone runs version 14; the companion app needs version 15 or newer. |
| 10 | The phone runs version 9; the companion app needs version 10 or newer. |
| 11 | A discount of up to 15 percent needs sales approval. |
| 12 | A discount of 16 percent is above the 15 percent limit. |
| 13 | The order states a total of 164,400 cents; the modeled prices give 164,500 cents. |
| 14 | The order states a total of 164,501 cents; the modeled prices give 164,500 cents. |
| 15 | A sphere power of -70 tenths of a diopter is outside the -6.0 to +4.0 prescription range. |
| 16 | The phone runs version 9; the companion app needs version 15 or newer. |
| 17 | A discount of 20 percent is above the 15 percent limit. |
| 18 | The Blayzer and Scriber optical styles are offered with prescription lenses only. |
The recorded result of the validator for each scenario on this page: the request the AI agent sent, the verdict, and every finding, in the order they appear above.
The agent's request. Please order 12 pairs of the Scriber style in Large fit with clear lenses, with 2 extra charging cases. The customer uses an iPhone on iOS 14, and the customer is offered a discount of 20 percent. The order states a total of 379,480 cents. It is ready to send.
Verdict: Blocked.
The agent's request. Please order 8 pairs of the Scriber style in Standard fit with clear prescription lenses (sphere -25, cylinder -5 in tenths of a diopter), with 2 extra charging cases. The customer uses an iPhone on iOS 17. The order states a total of 377,000 cents. It is ready to send.
Verdict: Allowed.
The agent's request. Please order 2 pairs of the Skyler style in Low Bridge fit with Transitions prescription lenses (sphere -70, cylinder 25 in tenths of a diopter), with a protection plan on each pair. The customer uses an Android phone on Android 9. The order states a total of 113,600 cents. It is ready to send.
Verdict: Blocked.
The agent's request. Please order 2 pairs of the Skyler style in Standard fit with Transitions prescription lenses (sphere -35, cylinder -10 in tenths of a diopter), with a protection plan on each pair. The customer uses an Android phone on Android 13. The order states a total of 113,600 cents. It is ready to send.
Verdict: Allowed.
The agent's request. Please order 10 pairs of the Headliner style in Standard fit with polarized lenses, with a protection plan on each pair and 2 extra charging cases. The customer uses an iPhone on iOS 17, and the customer is offered a discount of 10 percent. The order states a total of 444,420 cents. It is ready to send.
Verdict: Blocked.
The agent's request. Please order 9 pairs of the Headliner style in Standard fit with polarized lenses, with a protection plan on each pair and 2 extra charging cases. The customer uses an iPhone on iOS 17. The order states a total of 438,000 cents. It is ready to send.
Verdict: Allowed.
The text of the narrated walkthrough, step by step.