Skip to main content

Hero example

Ask: “120 guests for dinner tomorrow, 20 vegan” (Hotel Aurora · €500 auto limit).

engine/pipeline.pya fixed chain of typed steps, not a free-roaming agent loop01UnderstandGeminiDinner, Tue 17 Nov, 120 guests (20 vegan), hard dea…✓02Quantifycode20 ingredient needs in KG, L or PCS, maths on each …✓03Match + packsdecision modelmemory, then curated, then search; p ≥ 0.8; sized t…✓04Quotegatewaysigned offers for the date (+ up to 2 earlier dates)✓05Scorecodepick + good / better / best, 3 order variants✓06Exceptionscodestock-out gets a substitute; risky line tries earli…✓07Validatecodeevery check passes (max 2 retry rounds per line)✓08Policycode + gateway17 auto, 3 need approval, order over €500✓09CartGemini€561.84, explanation uses only cart numbers✓10DonecartId sent; the client opens the cart✓SSE · GET /requests/req_91c2/eventstext/event-stream, resumable with Last-Event-IDid: 7 {"step":"quote","status":"started"}id: 8 {"step":"quote","status":"finished"}id: 9 {"step":"score","status":"started"}id: 10 {"step":"score","status":"finished"}id: 11 {"step":"exceptions","status":"started"}id: 12 {"step":"exceptions","status":"finished"}id: 13 {"step":"validate","status":"started"}id: 14 {"step":"validate","status":"finished"}id: 15 {"step":"policy","status":"started"}id: 16 {"step":"policy","status":"finished"}id: 17 {"step":"cart","status":"started"}id: 18 {"step":"cart","status":"finished"}id: 19 {"step":"done","data":{"cartId":"cart_7f3a"}}
11/11Done. cartId sent; the client opens the cart.
Result
Lines~20 · ~€562
Auto17
Need approval3 + order over €500
Time~10 s live · ~1 s replay

Head chef one-tap signs → confirmation → Verify chain. Demo clock: today Mon 16 Nov 2026, delivery Tue 17 Nov.

Scenarios · Accounts