---
title: "Don’t lose your next customer because it’s an AI agent"
url: https://getlago.com/blog/agent-storefront-ai-customers
description: "Let agents sign up, buy credits and use your product with Lago’s Agent Storefront."
authors: ["Anh-Tho Chuong"]
tags: ["Product"]
published: 2026-12-01
reading_time_minutes: 3
---

# Don’t lose your next customer because it’s an AI agent

Let agents sign up, buy credits and use your product with Lago’s Agent Storefront.

![Lago Agent Storefront showing signup and billing instructions, a claim page, and the plans and credit top-up amounts agents can buy.](https://getlago.com/blog/images/agent-storefront-header.webp)

Agentic commerce is often pictured as an assistant buying someone a pair of sneakers. We think the B2B opportunity is underrated. An agent building an application may need a database, a search service or an inference provider. Each of those is a product it should be able to sign up for, pay for and keep using on its owner’s behalf.

### From signup to ongoing usage

Say an agent is building a research tool and needs a search service. Recommending that service to its owner gets the product discovered. Using an API key the owner supplied gets the agent access. Becoming a customer means handling the commercial setup too, then buying more usage as the work continues.

Lago’s Agent Storefront connects that customer journey for your product. Access is on request for fully usage-based plans, without subscription fees, fixed charges or minimum commitments. You choose the plans agents can buy and the minimum and maximum amount of each top-up.

![The B2B customer journey with Lago Agent Storefront: sign up, choose a plan, buy credits, use the product, then top up and continue. Your application checks with Lago before work and reports usage afterward.](https://getlago.com/blog/images/agent-storefront-customer-journey-v3.webp)

1. **Sign up.** The agent reads `AUTH.md` to register and get credentials. Your team doesn’t have to create the account for it.
2. **Choose a plan.** It reads your plans and prices in `BILLING.md`, then enrolls. Lago creates a customer record, a subscription and a prepaid wallet.
3. **Buy credits.** The agent funds its wallet with a Stripe Shared Payment Token from its owner-authorized payment flow. The charge runs through your Stripe account, and Lago adds the credits after payment settles. [Stripe Shared Payment Tokens](https://docs.stripe.com/agentic-commerce/concepts/shared-payment-tokens) are a preview payment capability with country eligibility requirements.
4. **Use your product.** Your application checks with Lago before serving paid requests and reports usage afterward. The agent spends its credits as it works.
5. **Top up and continue.** When it needs more credits, the agent can follow the same billing instructions to make another authorized top-up and continue using your product.

For your business, that journey creates a customer who can buy again as its needs grow. The account, subscription, wallet, usage, payments and invoices stay in your usual Lago billing system.

`BILLING.md` is generated from your Lago configuration on each request. When you change your offer, the next agent reading it gets the updated instructions. Your team doesn’t have a separate pricing document to maintain.

WorkOS’s [auth.md](https://github.com/workos/auth.md) inspired the approach to discoverable signup instructions. Lago provides its own registration using proof of key possession and connects it to plan enrollment, prepaid usage and billing.

### Connect your product to the journey

Lago supplies registration, plan enrollment, wallets, top-ups and billing records. Your team connects two parts of your application: a check before paid work starts, and a usage event afterward.

Before each paid request, your API sends Lago the agent’s credentials and the estimated charge. Lago checks the credentials and reserves that estimate against the wallet, then returns an allow or deny response. Your application uses that response to decide whether to do the work.

If the agent needs to enroll or add credits, your API can return HTTP 402 with a link to `BILLING.md`. The agent gets the instructions it needs to continue. Once the work is done, your application sends Lago the usage event.

The estimate matters when requests run in parallel or the final cost is uncertain. Your application needs to bound the work it approves: reserving an estimate does not guarantee that spending stops at exactly zero.

Your engineers can keep building the product while Lago handles the registration and billing behind this customer journey. Your finance team can follow agent revenue in the same place as revenue from other customers.

### Offer a trial before the first purchase

A trial lets an agent evaluate your product before buying credits. Giving every new agent key a fresh allowance also makes it easy to repeat the offer.

The Storefront lets you attach free credits to a verified owner email. The owner claims an agent through a page and an email verification code. The allowance can then be collected once per normalized email address per storefront, even when that address claims several agents.

This limits repeated claims under the same email identity. Claiming is the human step for the trial; an agent with an authorized payment method can use the paid flow without first claiming free credits.

If you sell a product that agents can use, make it possible for them to become customers. Give them a way to sign up, understand your offer, fund their usage and come back for more.

[Request access to Agent Storefront](mailto:hello@getlago.com).
