Menu

Explorer & Settings

Tempo Explorer Submit Project
SDKs · Python

Python x402 Libraries & Tools

Add a pay-per-request paywall to FastAPI, Flask & Python clients.

231
Python libraries
1.3k
most-starred
76
updated in 30 days

Python is the lingua franca of AI, so paying for APIs from Python — and charging agents that call your Python service — is a common need. These libraries wrap the HTTP 402 handshake for servers (FastAPI, Flask) and clients (httpx, requests).

Below are the Python-focused x402 and agent-payment libraries in the directory.

The Python category right now

Of the 231 Python libraries in the index, 12 have real traction (100+ stars) and 85 have none yet. agent-apprenticeship is the reference point at 1,321★. The median is 1★ — useful context before you pick a dependency from this list.

If you are choosing a stack, note that Python (94%) and TypeScript (3%) carry most of the Python work, much of it from Scottcjn, capiscio, rplryan. Projects tag themselves with ai-agents, agent-to-agent, x402 more than anything else.

Freshness matters more than star count in a category this young: 76 libraries shipped code in the last month, 115 in the last quarter, and 1 have not been touched in over a year. In short, activity is uneven — check the last-commit date before adopting. Newest addition: bde-score (2026-07).

Figures recomputed from the tracked repositories on every build.

Read the x402 Python guide →

Core Python libraries

Projects whose main focus is Python — ranked by stars within the category, not by global popularity. Showing 42 of 48.

Also matching Python

Broader libraries that support Python without being built solely around it.

Every other Python project we track (47)

The remaining tracked projects in this category, with a full profile page each.

pympp 38★darwin-agentic-cloud 34★agentic-commerce-skills-plugins 34★routeweiler-python-sdk 31★skills 31★summoner-agents 24★sample-agentcore-cloudfront-x402-payments 24★openclaw-skills 23★openclaw-vault 23★ampersend-sdk 23★agoragentic-integrations 23★a2a-demos 23★Agent-Layer 21★red-team-blue-team-agent-fabric 20★ClawRouter-Hermes 17★strands-a2a-demo 17★mpp-nanogpt-modal 14★Ros-X402-Node 11★Multi-Agent-Research-Assistant-Langgraph 10★xcatcher-mcp-manifest 9★karmakadabra 9★ag402 9★meridian-intelligence 8★onit 8★sardis 7★quantoracle 7★swarm 7★x402-fpl-api 7★linebot-ap2 6★agentpayy-python-sdk 6★Google_AzureOpenAI_A2A-Simplified 6★bde-score 5★gold-402 5★skill-audit-mcp 5★strands-erc8004 5★a2a-deep-research 5★studiomcphub 5★Antigravity-Super-Skill-Architecture 5★FacilitatorX402 4★ATP-Protocol 4★x402-app-template 4★openlibx402 4★execution-market 4★fastapi-mpp 3★x402-ton-facilitator 3★claw-empire 3★x402-discovery-mcp 3★

More sdks categories

TypeScriptRustGo All categories →

Frequently asked questions

Which Python libraries are worth using in 2026?

Start with agent-apprenticeship (1,321★), the most-adopted project in this category. Of the 231 Python libraries tracked here, 12 have 100+ stars and 115 shipped a commit in the last 90 days — that intersection is the shortlist worth evaluating. The grid above puts the Python-focused projects first rather than whatever is globally popular.

How active is the Python ecosystem right now?

76 of 231 libraries were updated in the last 30 days (33%), 115 in the last 90, and 1 have not seen a commit in over a year. The newest project in the category, bde-score, appeared in 2026-07. Star counts and commit dates on this page are refreshed from GitHub continuously.

What language should I use to build Python payments?

Python (216), TypeScript (8), Rust (2), JavaScript (1) are the languages actually represented in this category, so Python has the deepest set of working references. Pick the language your agent runtime already uses — the x402 flow itself is plain HTTP, so no language locks you out.

How does this Python list stay current?

Repositories are discovered from GitHub, classified into Python automatically, and re-crawled for stars, language and last-commit data. Thin or duplicated repositories are kept out of search results by a quality gate, so this page lists the 231 libraries that actually matched Python, with the background explained in the Python guide.