# Agents and AI on Stripe

Build with agent-first developer tools, and sell agent-enabled products and services.

Build your integration with agent-first developer tools, charge your users for AI features with usage-based billing, and let agents transact on your behalf through agentic commerce. See [how these components work together](https://docs.stripe.com/agents/how-it-works.md) if you’re combining more than one.

## Get started 

Paste the following prompt into a coding agent to get started building a Stripe integration. You don’t need an account to get started.

Get started building on Stripe with an AI coding agent, with or without an account.

1. Install the Stripe CLI, if not installed, with `npm install -g @stripe/cli`
2. Run `stripe sandbox create --help` to get working API keys without signing up.
3. Install the Stripe agent plugin or Stripe skills with `stripe agent setup`

## Agent developer tools 

Build Stripe integrations with agent-first developer tools.

[MCP server](https://docs.stripe.com/mcp.md): Enable agentic IDEs and agent harnesses to interact with Stripe resources.

[Agent skills](https://docs.stripe.com/skills.md): Install instructions that help agents create more accurate Stripe integrations and apply best practices.

[Stripe CLI](https://docs.stripe.com/cli.md): Install the CLI to enable agents to manage Stripe resources through the command line.

## Machine-readable resources 

MCP server (https://mcp.stripe.com): Connect any MCP-compatible client to interact with the Stripe API and search documentation.

Plain-text docs: Append `.md` to any **docs.stripe.com** URL (for example, https://docs.stripe.com/agents.md) for Markdown output.

Skills catalog (https://docs.stripe.com/.well-known/skills/index.json): Machine-readable index of installable agent skills. Use `stripe agent setup` for the recommended Stripe agent setup.

## Agentic commerce 

Let agents buy and sell on behalf of customers. Discovery starts with the [Stripe Directory](https://docs.stripe.com/directory.md), a single index of businesses and services that agents and humans can search.

[Agentic commerce overview](https://docs.stripe.com/agentic-commerce.md): Enable commerce between buyers and sellers through AI agents.

[Sell through agents](https://docs.stripe.com/agentic-commerce/for-sellers.md): Make your services and product catalogs legible to agents.

[Accept payments from agents](https://docs.stripe.com/payments/machine.md): Accept payments initiated by AI agents and automated systems.

[Build an agent](https://docs.stripe.com/agentic-commerce/for-agents.md): Present product feeds, manage carts, and accept payments as an agent.

[Billing for LLM tokens](https://docs.stripe.com/billing/token-billing.md): Usage-based billing for metered resources like LLM tokens or API calls.
