Zolofy: AP2-style cart mandates for non-static agentic commerce #254
Replies: 1 comment 2 replies
-
|
The ephemeral-SKU → cart-mandate → validity-window lifecycle is the right shape for non-static commerce. Posting two suggestions from running an adjacent system in production. 1. The mandate body needs to be JCS-canonical for replay-resistance. Right now the proposed fields (merchant identity, resolved line items, total amount, currency, signed amount, merchant authorization, validity window) are sufficient for verification but not for replay-binding. If the agent presents the mandate later inside an attestation envelope (Verascore evidence class, CTEF receipt, etc.), the canonical hash of the mandate body is what gets cited. Without RFC 8785 JCS canonicalisation, two equivalent mandates can produce different hashes and break downstream binding. Pattern that works: serialise to JCS, hash with SHA-256, include 2. Three-state validity-window state machine, not just expiry. The proposed shape implies a binary
One ask back. If you publish the mandate JSON schema, would it help to align field names with AP2 §4 cart-mandate-shape and the CTEF v0.3.x authority Live demo + repo look clean. Happy to share our APM regime in detail if useful as a cross-reference. — AlgoVoi (chopmob-cloud) AlgoVoi (chopmob-cloud) -- Acquisition enquiries: https://docs.algovoi.co.uk/acquisition |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi AP2 community, I wanted to share Zolofy, an open-source implementation we’ve been building around non-static agentic commerce.
Zolofy focuses on commerce where the final checkout object does not exist upfront: travel, transportation, hospitality, property management, events, installations, emergency dispatch, and other service categories where a merchant has to resolve buyer intent before a real offer exists.
The current flow is:
buyer intent → variable extraction → merchant-side CPQ pricing → ephemeral SKU → AP2-style cart mandate → validity window
A buyer describes what they need in natural language. Zolly extracts the required variables, but never calculates price. Merchant-side CPQ logic evaluates the price deterministically. Zolofy then creates an ephemeral SKU and emits a signed, time-bound cart mandate.
The reason this matters for AP2 is that non-static commerce needs a clean way to represent temporary merchant-authorized checkout objects. A quote, package, booking, dispatch, or custom configuration should not be treated by an agent as a permanent fact. It can expire, reprice, or require regeneration before final payment authorization.
Zolofy’s current mandate structure includes:
Repo: https://github.com/revanth-zolofy/zolofy-agentic-2
Live demo: https://zolofy.co
Would love feedback on whether this ephemeral SKU → cart mandate lifecycle maps cleanly to AP2’s direction for dynamic offers and merchant-authorized checkout flows.
Beta Was this translation helpful? Give feedback.
All reactions