agent-toolkit  by stripe

Python/TypeScript library for agentic Stripe API integration

created 8 months ago
913 stars

Top 40.7% on sourcepulse

GitHubView on GitHub
Project Summary

This toolkit provides Python and TypeScript libraries for integrating Stripe's API into agentic workflows, enabling LLM-powered agents to perform financial operations. It supports popular agent frameworks like OpenAI's Agent SDK, LangChain, and CrewAI, simplifying tasks such as creating payment links, managing customers, and processing invoices.

How It Works

The toolkit acts as a bridge between agent frameworks and the Stripe API, leveraging function calling capabilities. It exposes specific Stripe API actions (e.g., paymentLinks.create) as tools that agents can invoke. Users configure which actions are enabled and can provide context, such as connected account IDs, to tailor API requests.

Quick Start & Requirements

  • Python: pip install stripe-agent-toolkit (Requires Python 3.11+)
  • TypeScript: npm install @stripe/agent-toolkit (Requires Node 18+)
  • Stripe Secret Key: Required for authentication.
  • Examples: Available in the /examples directory.

Highlighted Details

  • Supports integration with OpenAI Agent SDK, LangChain, CrewAI, Vercel AI SDK, and Model Context Protocol (MCP).
  • Enables metered billing for Vercel AI SDK usage via middleware.
  • Includes functionality for creating customers, coupons, products, prices, payment links, invoices, and managing subscriptions.
  • Supports API calls for connected accounts via a context configuration.

Maintenance & Community

This is an official Stripe project. Further community engagement details are not specified in the README.

Licensing & Compatibility

The toolkit is built on Stripe's official SDKs. Licensing details for the toolkit itself are not explicitly stated in the README, but Stripe's general terms of service would apply.

Limitations & Caveats

The library is not exhaustive of the entire Stripe API, meaning only a subset of Stripe's functionalities are exposed through this toolkit.

Health Check
Last commit

3 weeks ago

Responsiveness

1 day

Pull Requests (30d)
11
Issues (30d)
3
Star History
200 stars in the last 90 days

Explore Similar Projects

Starred by Elie Bursztein Elie Bursztein(Cybersecurity Lead at Google DeepMind), Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), and
3 more.

composio by ComposioHQ

0.2%
26k
Toolset for AI agent integrations via function calling
created 1 year ago
updated 14 hours ago
Feedback? Help us improve.