DEV Community

Kalana Wijekoon
Kalana Wijekoon

Posted on

AimoTrust Gateway: Letting AI Agents Buy Safely from Valio Aimo published:

This is a submission for the MLH x DEV Writing Challenge

What I Built

AI agents are starting to place purchasing orders, but they can overspend in seconds, order the same thing twice, trust a made-up price, or pick a product with an allergen a guest can't eat. Wholesalers like Valio Aimo are stuck choosing between blocking agents or trusting them blindly.

AimoTrust Gateway is a trust layer between AI agents and Valio Aimo. Every order an agent wants to place goes through the gateway first:

  • Signed prices: live prices and stock are signed with Ed25519, so a tampered quote is rejected.
  • Policy-as-code guardrails: spending limits, daily caps, allergen checks (GS1 codes), drift detection, and trust levels. Each order is auto-approved, sent to a human, or rejected, with the reason in plain language.
  • Human in control: a live dashboard shows every decision. Managers approve exceptions in one click. "Approve & Remember" creates a narrow, expiring rule so the same safe order can go through next time.
  • Earned autonomy: agents move from Probation (€750) to Trusted (€1,000) to Partner (€2,000) as they make good decisions.
  • Tamper-evident audit trail: every step goes into a SHA-256 hash chain with signed checkpoints. One click verifies the whole chain.

Demo

Demo video

Partner Technologies

I built the assistant on Google Gemini. It greets the manager by voice, answers questions about any order, chart, or decision, and works by voice and text. It searches the full Valio Aimo catalog of 17,546 products using FAISS semantic search plus keyword search, showing live price, stock, and allergens. Its one-click Order buttons go through the same guardrails as every other order. It also manages standing inventory, restocking items below par within weekly and monthly limits and budget. When something isn't possible, such as Sunday delivery, it offers real alternatives and only gives verified contact details. It never acts without the manager's confirmation.

Top comments (0)