xenarch 1.1.0 on PyPI and @xenarch/agent-mcp 1.3.1 on npm.
For agents
Python
Pay one URL with
XenarchPayer. No framework.LangChain
A LangGraph ReAct agent with the
XenarchPay tool.CrewAI
A research crew with the
XenarchCrewaiPay tool.MCP (Claude)
Configuration only, for Claude Code and Claude Desktop.
For publishers
FastAPI
Charge AI crawlers on a FastAPI app with middleware or a per-route decorator.
Prerequisites
- Python 3.12 or later, or Node.js 18 or later for the MCP example
- A wallet with USDC on Base mainnet. No ETH is needed. Xenarch has no testnet, so start with small budgets.
- A URL gated by Xenarch to pay. The examples use
https://example.com/premium-articleas a placeholder.