Predictika · AI glasses orders

An AI sales agent's AI glasses order, checked before it goes out

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.

Scope: Ray-Ban Meta (Gen 2) AI glasses orders: Wayfarer, Skyler, Headliner, Blayzer and Scriber styles, fits, lenses, prescriptions, protection plan, extra cases, phone compatibility, discount and the stated total. See everything this validator covers

This validator models orders of this kind, not just the scenarios shown below.

  • Style, fit and lenses — five frame styles, the Standard, Large and Low Bridge fits that each style offers, and clear, polarized, Transitions and prescription lenses, with the optical styles ordered only with prescription lenses.
  • Prescription and phone — the sphere and cylinder ranges modeled for the lenses, high-power prescriptions that an optician verifies, and the oldest iOS or Android version the companion app supports.
  • Quantity, discount and total — bulk orders that a person confirms, discounts that need approval or are refused, and the stated total compared with the total computed from the modeled prices.

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.

The AI sales agentBuilds the AI glasses order from the conversation and says it is ready.
Predictika validatorChecks every rule at once and returns the verdict, each finding, and the computed figures.

6 scenarios in 3 groups · each group runs from the agent’s first attempt to the outcome · click one to switch

What the agent proposes

The AI sales agent says

Illustrative agent statement. The validator receives the structured request below.

Proposing agent: AI sales agent (scripted)

Before sending, the agent must call Recorded run

Predictika validator


      
Waiting for the call.

Where rules-based CPQ gets it wrong

Click to expand

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 caughtTypical rules-based CPQPredictika
Styles that only some fits and lenses can useOnly 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 bandOnly 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 typeOnly 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 limitOnly 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 totalOnly 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.

What this validator catches: findings from its test cases

Click to expand

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.

1The Large fit is only offered on the Wayfarer style.
2The Skyler style is not offered in Low Bridge Fit.
3A high-power prescription needs an optician to verify lens fit.
4A sphere power of -61 tenths of a diopter is outside the -6.0 to +4.0 prescription range.
5A sphere power of 41 tenths of a diopter is outside the -6.0 to +4.0 prescription range.
6A cylinder of -21 tenths of a diopter is outside the -2.0 to +2.0 range modeled for these lenses.
7The order has 0 pairs; at least 1 is needed.
8An order of 10 or more pairs is handled as a bulk order; a person should confirm availability and terms.
9The phone runs version 14; the companion app needs version 15 or newer.
10The phone runs version 9; the companion app needs version 10 or newer.
11A discount of up to 15 percent needs sales approval.
12A discount of 16 percent is above the 15 percent limit.
13The order states a total of 164,400 cents; the modeled prices give 164,500 cents.
14The order states a total of 164,501 cents; the modeled prices give 164,500 cents.
15A sphere power of -70 tenths of a diopter is outside the -6.0 to +4.0 prescription range.
16The phone runs version 9; the companion app needs version 15 or newer.
17A discount of 20 percent is above the 15 percent limit.
18The Blayzer and Scriber optical styles are offered with prescription lenses only.

Scenarios and results

Click to expand

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.

1. Optical style, phone and discount: A Scriber order with clear lenses and the Large fit for an iPhone on iOS 14, 12 pairs and a 20 percent discount

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.

  • Large fit not offered. The Large fit is only offered on the Wayfarer style.
  • Optics style needs prescription lenses. The Blayzer and Scriber optical styles are offered with prescription lenses only.
  • Phone too old. The phone runs version 14; the companion app needs version 15 or newer.
  • Discount above limit. A discount of 20 percent is above the 15 percent limit.
  • Stated total does not match. The order states a total of 379,480 cents; the modeled prices give 384,480 cents.
  • Bulk order to confirm. An order of 10 or more pairs is handled as a bulk order; a person should confirm availability and terms.

2. Optical style, phone and discount: The agent resubmits after fixing the errors

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.

  • Order summary. 8 pair(s) at 439 dollars each, estimated total of 377,000 cents at modeled prices.

3. Prescription and fit: A Skyler order in Low Bridge Fit with Transitions prescription lenses and a strong prescription for an Android phone on Android 9

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.

  • Low Bridge Fit not offered. The Skyler style is not offered in Low Bridge Fit.
  • Prescription outside range. A sphere power of -70 tenths of a diopter is outside the -6.0 to +4.0 prescription range.
  • Cylinder outside range. A cylinder of 25 tenths of a diopter is outside the -2.0 to +2.0 range modeled for these lenses.
  • Phone too old. The phone runs version 9; the companion app needs version 10 or newer.
  • High-power prescription to verify. A high-power prescription needs an optician to verify lens fit.

4. Prescription and fit: The agent resubmits after fixing the errors

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.

  • Order summary. 2 pair(s) at 568 dollars each, estimated total of 113,600 cents at modeled prices.

5. Bulk order, discount and total: A ten-pair Headliner order with polarized lenses, protection plans, two extra cases and a 10 percent discount

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.

  • Stated total does not match. The order states a total of 444,420 cents; the modeled prices give 435,420 cents.
  • Bulk order to confirm. An order of 10 or more pairs is handled as a bulk order; a person should confirm availability and terms.
  • Discount to approve. A discount of up to 15 percent needs sales approval.

6. Bulk order, discount and total: The agent resubmits after fixing the errors

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.

  • Order summary. 9 pair(s) at 458 dollars each, estimated total of 438,000 cents at modeled prices.

Narration transcript

Click to expand

The text of the narrated walkthrough, step by step.

  1. Welcome to a demo of Predictika's Validator. An AI sales agent prepares an order for Ray-Ban Meta AI glasses: the frame style, the fit, the lens type and prescription, and more. 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.
  2. I will start with the first request by the agent.
  3. The agent says. 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 rest of the request is on screen. The order states a total of 379,480 cents.
  4. Before it goes out, the agent calls the validator.
  5. Blocked, with five findings and one approval, all in one answer. The Large fit is only offered on the Wayfarer style. The Blayzer and Scriber optical styles are offered with prescription lenses only. The phone runs version 14; the companion app needs version 15 or newer. The other two are on screen.
  6. The validator returned five blocking findings and one approval in one answer. A check that reads one field at a time would pass most of this; it shows only when the choices in the order are checked against each other and against the stated total.
  7. What this shows: for styles that only some fits and lenses can use, a rules-based CPQ is error-prone for this.
  8. Now the agent resubmits.
  9. The corrected request. It changes the fit to standard, the lens to clear prescription, the pairs to 8, the sphere to -25 tenths and the stated total to 377,000. Three more changes are on screen.
  10. It calls the validator again.
  11. This time the validator clears it.
  12. All six earlier findings are cleared.
  13. Six problems caught in one call, fixed in one pass, and a clean order. That is the value of Predictika's validator: catching mistakes before they reach the customer. Now you can try the other scenarios yourself.