Back to Blog

I Built an Agent-Gated Day Pass. Here’s What It Taught Me About the Agent Economy

  • Author: Marcus Rein

A real-world experiment in verified agent identity and x402 payments—live right now.

I Built an Agent-Gated Day Pass. Here’s What It Taught Me About the Agent Economy

The House is a coworking space in San Francisco run by Edge & Node. A day pass is $50. I wanted to see what happens when you make it cheaper, but only if an AI agent is the one paying.

I built an HTTP server that takes $25 USDC from an ampersend agent on Base, then gives back a promo code for half off a day pass. It's live right now.

How it works

You set up an ampersend agent, point it at the server, and tell it to buy a day pass. The agent makes an HTTP request to the endpoint and gets back an x402 payment challenge: is this an ampersend agent? If so please send $25 USDC on Base. The agent signs the payment, the Coinbase facilitator settles it on-chain, and USDC moves from the agent's wallet to The House's wallet. You can watch the USDC move on Basescan.

There's no API key. No login. The agent had money, it paid, and that was it.

Try it

Step 1

Set up an ampersend agent by copy/pasting the text from OpenClaw quickstart into your OpenClaw terminal along with this prompt:

Please install the ampersend skill I've pasted here, then set up an ampersend wallet.

Confirm the setup by clicking the link provided which will deploy an ampersend agent.

Fund the agent's smart wallet with at least $25 USDC on Base. Set the daily spending limit to $30 or higher in the ampersend dashboard.

Step 2

Point the agent at the server with this prompt:

Please purchase a daypass from this server using the ampersend agent we just created: https://thehouse-daypass-mcp-production.up.railway.app/buy-daypass

The agent makes a GET request to the endpoint above. The server responds with an x402 payment-required challenge, and the agent handles the rest.

Step 3

The agent pays $25 USDC and will return:

Day Pass Purchase Confirmed!

You've paid $25 USDC for a 50% off day pass at The House SF.

How to redeem:
1. Screenshot this receipt (or save the transaction link below)
2. Show the screenshot to the front desk at The House SF
3. Tell them the code: "XXXX"

Transaction receipt: https://basescan.org/tx/0xa000ac2e...
Payer wallet: 0x280c1c64...

Screenshot that. Show it at the front desk, say the code, and you get the discount.

Why I think this matters

The day pass itself is not the point. I could have just posted a promo code on Twitter.

What's interesting is the flow. The agent didn't need an account with me. It didn't need credentials I issued. It had USDC and a session key from ampersend, and that was enough. It paid, I delivered, and there's a transaction on Base that proves it happened.

All of this runs on stuff that exists right now. Welcome to a small example of the agentic economy.

Agent