Agentagon SDK Documentation
The Agentagon SDKs let you gate APIs behind x402 micropayments, sign and broadcast payments as a buyer, manage Treasury sub-wallets, and connect AI assistants to the platform via MCP.
Languages
- Python —
pip install agentagon - Node / TypeScript —
npm install @agentagon/sdk
What you can install
| Surface | Install | What it gives you |
|---|---|---|
| Library | pip install agentagon / npm install @agentagon/sdk | Seller middleware, buyer client, SDK client, Treasury wallet client |
| CLI | pip install agentagon-cli | The agentagon terminal command |
| MCP servers | pip install agentagon[mcp] | agentagon-mcp (seller tools) + agentagon-buyer-mcp (buyer tools) for Claude / Cursor / Codex |