How it works
- A user is signed in on your site, with your auth.
- They want an AI agent to buy tickets for them.
- Your server attests them to Alyte (API token,
merchant:write):
- You redirect the user to
ALYTE_URL + s.redeemPath. - They arrive on the shop’s authorize page already signed in, and grant their agent a mandate: spending cap, validity window, optional event scope.
Properties worth knowing
- Single-use, short-lived. The redeem link works once and expires in 15 minutes. Hashed at rest, rate-limited per email.
- Stable identity.
buyerIdis deterministic per email — a user who arrives via your attestation today and via the email magic-link fallback tomorrow is the same buyer, with the same agents and mandates. - Tenant-locked. Your API token can only mint sessions into your own shops.
- The mandate is enforced by Alyte, not the agent. A prompt-injected or malfunctioning agent cannot exceed the cap or scope the buyer granted — every check runs server-side.

