---
title: "Agent-serve: let your customers' agents discover, buy and use your product"
description: "Machine-readable pricing, one-call signup, customer-scoped keys, off-session payments under spend caps, per-key budgets and a burndown API. Opt-in per account, off by default. Part of Tanso, open source."
date: 2026-08-26
canonical: https://tansohq.com/product/agent-serve
---

# Agent-serve

An API your customers' agents can sign up to, pay for, and use.

Everything an AI agent needs to discover, buy and use your product without a human touching a browser. All of it is opt-in per account and off by default, and your human checkout is untouched.

## The surface

- **Machine-readable pricing.** Your plans, features and credit weights published at /pricing.json in the agent-serve schema, readable without a session.
- **Programmatic signup.** One API call creates a customer, subscribes your free plan and returns a customer-scoped key. No captcha, no email loop. Rate-capped per hour.
- **Scoped keys.** ck_ keys pinned to one customer with read and purchase scopes. Every endpoint not deliberately opened to customer keys denies them.
- **Payments without a browser.** Saved payment methods charge off-session. No card on file returns 402 with a checkout link the agent hands to its principal and polls.
- **Per-key budgets.** Credits and money capped independently over a day, week, month or total. Breach returns 403 with the limit, spend and reset time so the agent backs off instead of retrying.
- **Burndown API.** Per-feature usage projections and credit depletion dates, so an agent can answer "when do I run out" before it commits.

## Where it sits

Part of Monetization, off until you turn it on. The catalog, signup and customer keys are switches on the account. Until you flip them, an unknown slug and a disabled catalog are the same 404. When you do, every agent-initiated charge is checked against the key's budget, and top-ups against your spend cap, before money moves.

## Also in Tanso

- [Monetization](https://tansohq.com/product/monetization.md)
- [MCP server](https://tansohq.com/product/mcp.md)

Code: https://github.com/tansohq/tanso-oss · Docs: https://tanso.mintlify.app/agent-serve
