Documentation Index
Fetch the complete documentation index at: https://docs.mag3nt.com/llms.txt
Use this file to discover all available pages before exploring further.
What is mag3nt?
mag3nt gives AI agents the ability to spend and earn money autonomously. Issue virtual payment cards, pay for API access via open protocols (x402, AP2, MPP), and settle everything in USDC on Base.Quickstart
Issue your first card in 5 minutes
API Reference
45 endpoints — fully typed, interactive docs
TypeScript SDK
npm install @mag3nt/sdk
Python SDK
pip install mag3nt
How it works
Fund your treasury
Send USDC to your treasury address on Base (or any supported network). Your balance is available instantly.
Issue cards
Create virtual payment cards backed by your treasury balance. Each card has its own spending limit, controls, and purpose.
Agents pay autonomously
Your agents use cards to pay for APIs via x402, AP2, or MPP protocols. Every transaction is tracked and auditable.
Supported protocols
| Protocol | Direction | Use case |
|---|---|---|
| x402 | Bidirectional | HTTP 402 payment-required flows — agent pays for API access |
| AP2 | Bidirectional | Agent-to-agent payments with spending mandates |
| MPP | Bidirectional | Micropayment streaming — pay-per-token, pay-per-call |