# Stripe Agents and AI

> Stripe's open-source one-stop shop for building AI-powered products and businesses, including SDKs, an MCP server, agent skills, and agentic commerce tools.

Stripe Agents and AI is Stripe's official open-source toolkit for integrating Stripe's payments and billing infrastructure with LLMs, agent frameworks, and agentic commerce workflows. The repository is published under the MIT License and actively maintained on GitHub, with over 1,700 stars and 317 forks as of mid-2026. It serves both developers building Stripe integrations with AI coding agents and businesses looking to enable commerce between buyers and sellers through AI agents.

## What It Is

Stripe Agents and AI is a collection of SDKs, protocols, and developer tools that connect Stripe's financial infrastructure to the emerging ecosystem of AI agents and LLM frameworks. It covers two distinct use cases: helping developers build Stripe integrations faster using agent-first tooling, and enabling "agentic commerce" where AI agents can buy and sell on behalf of customers. The project is hosted at `github.com/stripe/ai` and documented at `docs.stripe.com/agents`.

## Core SDKs and Packages

The repository ships two primary SDK packages:

- **`@stripe/ai-sdk`** — integrates Stripe's billing infrastructure with Vercel's `ai` and `@ai-sdk` libraries, enabling LLM-powered billing workflows.
- **`@stripe/token-meter`** — integrates Stripe's billing infrastructure with native SDKs from OpenAI, Anthropic, and Google Gemini, without requiring any framework dependencies.

Both packages are written primarily in TypeScript and are designed to be dropped into existing agent or LLM projects.

## Agent Developer Tools

Beyond the SDKs, the toolkit includes three agent-first developer tools:

- **MCP Server** — Stripe hosts a remote Model Context Protocol server at `mcp.stripe.com`, allowing agentic IDEs and agent harnesses to interact with Stripe resources via secure OAuth. Developers can also use it to build autonomous agents.
- **Agent Skills** — installable instruction sets that help agents create more accurate Stripe integrations and apply best practices. Official Stripe plugins are available for Claude Code (`claude plugin install stripe@claude-plugins-official`), Codex (`codex plugin add stripe@openai-curated`), Cursor (`/add-plugin stripe` or via the Cursor marketplace), and Grok Build. Manual installation is also supported via `npx skills add https://docs.stripe.com`.
- **Stripe CLI** — enables agents to manage Stripe resources through the command line.

## Agentic Commerce

The toolkit introduces an "agentic commerce" layer that lets AI agents participate in buying and selling:

- **Sell through agents** — tools for making services and product catalogs legible to agents.
- **Accept payments from agents** — infrastructure for accepting payments initiated by AI agents and automated systems.
- **Build an agent** — guidance for presenting product feeds, managing carts, and accepting payments as an agent.

Stripe also publishes several open standards to support this ecosystem, including the Agentic Commerce Protocol, Machine Payments Protocol, Universal Commerce Protocol, and x402 (an HTTP-native stablecoin transaction standard).

## Open-Source Model and Adoption Signal

The project is released under the MIT License, making it free to use, modify, and distribute. The GitHub repository (`stripe/ai`) was created in November 2024 and has accumulated over 1,700 stars and 317 forks, with active pushes as recently as July 2026. The repository's topics include `ai`, `llm`, `llm-agents`, `mcp`, `python`, and `typescript`, reflecting its broad framework coverage. A prompt-first onboarding flow on the docs page lets developers paste a starter prompt directly into a coding agent without needing a Stripe account first.

## Features
- MCP server for agentic IDE and agent harness integration
- Agent skills for accurate Stripe integrations
- Stripe CLI for command-line agent management
- @stripe/ai-sdk for Vercel AI SDK integration
- @stripe/token-meter for OpenAI, Anthropic, and Google Gemini billing
- Agentic commerce support for buying and selling via AI agents
- Accept payments from AI agents and automated systems
- Remote MCP server at mcp.stripe.com with OAuth
- Official plugins for Claude Code, Codex, Cursor, and Grok Build
- Open standards: Agentic Commerce Protocol, Machine Payments Protocol, x402
- Prompt-first onboarding for coding agents
- MIT-licensed open-source codebase

## Integrations
Vercel AI SDK, OpenAI, Anthropic, Google Gemini, Claude Code, Codex, Cursor, Grok Build, Stripe CLI, Stripe Payments, Stripe Billing

## Platforms
WEB, API, DEVELOPER_SDK, CLI

## Pricing
Open Source

## Version
main

## Links
- Website: https://docs.stripe.com/agents
- Documentation: https://docs.stripe.com/agents
- Repository: https://github.com/stripe/ai
- EveryDev.ai: https://www.everydev.ai/tools/stripe-agents-and-ai
