What You’ll See
The demo is a real e-commerce shop (ATH Shop) where:- Humans can browse products, add to cart, and check out normally
- An AI agent can do the same — but only after the user approves in their browser
- Discover the shop’s ATH endpoints
- Register itself with the shop
- Ask the user for permission (user sees a consent page in the browser)
- Get a scoped access token
- Browse products, add to cart, and place an order
- Revoke its own access when done
Prerequisites
- Docker and Docker Compose installed
- A terminal
Step 1: Clone and Start
/etc/hosts file:
Step 2: Run the Full ATH Flow
In a separate terminal:Step 3: Try Gateway Mode
Want to see the same flow through a gateway (no changes to the shop)?gateway.ath.local:4001, and the gateway talks to the shop. The shop doesn’t even know an agent is involved.
Step 4: Explore Manually
Open https://ath-shop.local:3000 in your browser (accept the self-signed cert). You’ll see a real e-commerce UI where you can:- Create an account
- Browse products
- Add items to cart
- Check out
What’s Next?
Now that you’ve seen it running, let’s understand what actually happened in those 7 steps:What Just Happened? →
A line-by-line walkthrough of the demo output