Inspiration

A purchasing team needs to know which supplier offer meets policy, what would change the decision, and which evidence supports it. The quoted price, internal budget, and risk assessment can all be confidential. We built AXIOVEIL to bring a cloud-generated decision program to the device where that evidence already lives.

What it does

Bring two supplier reports and compare them under one policy. Enter the facts manually or use Gemini Nano in compatible desktop Chrome to find cited facts in a text report. AXIOVEIL evaluates each offer, shows what would make it pass, and creates a decision receipt with the source lines.

In the demo, Offer A is €2,400 over budget and seven points above the risk limit. A reversible preview shows that both changes are needed. Offer B meets the same policy. Moving its risk estimate from 39 to 43 sends the offer to review while the price stays fixed.

How we built it

Gemini 4 Hydrogen compiles a public objective and a list of allowed field types into a constrained decision program through Firebase AI Logic with App Check. The TypeScript runtime validates the program before running it.

Gemini Nano runs on the device and selects supporting lines. Local code checks values, units, and conflicting evidence before asking the reviewer to confirm them. The browser then applies the policy and computes the regions and thresholds in the Decision Landscape.

Challenges and what we learned

We had to keep hypothetical values separate from the source record. A price preview can change the verdict while the original report stays intact. The preview receipt leaves changed values uncited. Missing mandatory compliance evidence still calls for review, even when price and risk are favorable.

We learned that reviewers need to see how close an offer is to a different outcome. Showing the actual threshold lets them test whether a small change in an uncertain risk estimate would alter the verdict.

What we verified

All 56 automated tests passed. The local runtime matched all 14 held-out synthetic cases using pre-typed facts. In the recorded two-report workflow, Nano extracted five cited facts from each report, and we observed zero external app requests during that run.

The hosted app uses a recorded Gemini program and offers live Nano extraction on compatible Chrome. The demo separately shows the earlier live Firebase compilation.

Try AXIOVEIL · Source and reproduction steps

Built With

  • chrome
  • chrome-prompt-api
  • firebase-ai-logic
  • firebase-app-check
  • firebase-hosting
  • gemini-4-hydrogen
  • gemini-nano
  • react
  • typescript
  • vite
Share this project:

Updates

Submission history