← Back to Discover

Agent Commerce Gateway

Agent Commerce Gateway is a self-hosted, non-custodial gateway that makes an existing API discoverable, callable and payable by AI agents.

MCP servers
Agent Commerce Gateway cover image

What it does

Agent Commerce Gateway sits in front of an existing HTTP API in your own infrastructure. You describe an endpoint in a YAML file, or generate that description from an OpenAPI document. Agents then get an MCP tool and an x402 paywall for that resource. Each protocol adapter translates an incoming call into one canonical request. The same pipeline resolves the resource, validates input, enforces payment, calls your backend and writes a receipt. Buyers pay your configured address directly on chain. The gateway needs neither the buyer's nor your private key. Agent Commerce Gateway says funds never pass through it.

Capabilities

  • Experimental adapters can also expose the same resource as an A2A skill, or serve an ACP checkout operation from a dedicated resource.
  • Agent Commerce Gateway lets a paid resource take experimental MPP instead of x402. It can also require an experimental AP2 mandate, which the product says proves the buyer approved the purchase.
  • Agent Commerce Gateway says missing, malformed, expired, replayed or wrong-amount payments never deliver a resource.
  • Every request, payment attempt and delivery is recorded in SQLite under the request's requestId.
  • One doctor command checks config, gateway, backend, protocols, payments and storage.

When to use it

  • You already have an HTTP API and want AI agents to discover it, call it and pay for it.
  • You want AI agents to pay for your API over protocols you do not want to write or maintain.