> For the complete index of this site, see [llms.txt](https://alexdewison.com/llms.txt).

# Can this agent prove who it acts for?

A shopping agent wants to pay. Before anyone looks at the card, the merchant and its payment provider need to know which agent is calling, which person it acts for, and whether that person approved this purchase. Tick what the agent can prove and see the decision.

This is the text version of an interactive demo. The interactive version runs in your browser on mock data: [https://alexdewison.com/labs/agent-auth-delegation/](https://alexdewison.com/labs/agent-auth-delegation/)

## The request

Atlas (shopping agent) for Mira K. Buy trail running shoes from Northwind Outdoor, GBP 94.00. Atlas used a helper agent, Scout, to compare prices first.

## What the agent can prove

Tick or untick each item. Everything starts ticked.

- Atlas signs every request with its own key: proof of possession, so a copied token alone is useless.
- Atlas's identity comes from a known agent provider: the merchant can look up who vouches for this agent.
- Atlas shows it acts for a verified person, Mira K.: the legal person behind the agent is named.
- Mira approved GBP 94.00 at Northwind Outdoor: a supervisor step, separate from the agent doing the work.
- The handoff from Scout to Atlas is recorded: delegation between agents is visible, not hidden.
- Atlas's authorisation is current and not revoked: tokens expire and Mira can switch Atlas off.

Quick settings: Everything proven, Amount not approved, Unknown agent, Clear all.

## How the decision is made

- Decline if the agent cannot show proof of possession or a known provider, because nobody can tell which agent is calling.
- Decline if its authorisation has expired or was revoked, because a revoked agent must not be able to pay.
- Decline if no verified person is named, because the agent is then acting for nobody known.
- Step up if the agent and person check out but Mira has not approved this amount at this merchant: send her an approval request instead of declining.
- Review if everything else checks out but the Scout to Atlas handoff is not recorded: approve, but flag the missing delegation record, because in a dispute nobody can show which agent did what.
- Approve when the agent, the person, the approval, the delegation and freshness all check out.

## Evidence kept with the payment

The demo shows a record that is kept with the payment for any later dispute: the order reference, the amount, the agent name, its provider and whether its key proof was signed, who it acts for, the approval (who, how much, which merchant), the delegation chain (Scout, then Atlas), whether the authorisation is current, and the decision.

## Why it matters

Agent identity, the person behind the agent, their approval and the delegation chain are separate questions, and a payment needs an answer to each. Payment APIs should be able to carry all of them before authorisation.

Mock data only. Names, keys and amounts are invented to show the idea.

---

Part of the [interactive payments demos](https://alexdewison.com/insights/demos/) by Alex Dewison. Mock data only.
