Skip to main content

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

1

Fund your treasury

Send USDC to your treasury address on Base (or any supported network). Your balance is available instantly.
2

Issue cards

Create virtual payment cards backed by your treasury balance. Each card has its own spending limit, controls, and purpose.
3

Agents pay autonomously

Your agents use cards to pay for APIs via x402, AP2, or MPP protocols. Every transaction is tracked and auditable.
4

Automatic settlement

Payments settle on-chain in USDC automatically. 0.5% + $0.05 per transaction.

Supported protocols

ProtocolDirectionUse case
x402BidirectionalHTTP 402 payment-required flows — agent pays for API access
AP2BidirectionalAgent-to-agent payments with spending mandates
MPPBidirectionalMicropayment streaming — pay-per-token, pay-per-call

Supported networks

Base (primary), Ethereum, Arbitrum, Optimism, Polygon, Avalanche, Zora, Solana — all settling in USDC.