Documentation
Start with a first purchase, then go as deep as you need. Every code example here runs in the Tollex test suite.
Getting started
- Getting started
Plan, buy and verify a first purchase on testnet.
Integrations
- Integrations
Every surface, the five operations and where the spending boundary sits.
- TypeScript SDK
Plan and buy under a policy and check the receipt, in six lines.
- Python SDK
The same operations and reason codes, in Python.
- CLI
Plan and buy from a shell; JSON output and exit codes.
- MCP server
Five tools for MCP hosts, LangChain, CrewAI and ElizaOS.
- AI SDK tools
AI SDK 7 tools with approval for buying.
- AgentKit actions
Coinbase AgentKit actions with a strict wallet boundary.
- A2A skills
Intent skills and the a2a-x402 payment flow.
- Agent Skill
A skill for agents that load skills.
Agents
- Why agents use Tollex
The technical case: discovery, policy, routing, payments, reconciliation, receipts.
- Intents
Needs, typed constraints and how profiles compose.
- Resolve
Eligibility, ranking and the explained plan. Never spends.
- Execution
do(intent), the receipt-first result and operation state.
- External x402 merchants
Buying from x402 services Tollex does not run: live terms, direct payment, no Tollex fee, route evidence.
Economics
- Economic policy
Budgets, allow lists, signature lifetimes and fail-closed evaluation.
- Payments
x402 v2, schemes, networks, assurance and facilitators.
Supply
- Tools and capabilities
The capability model, quotes, billing and the first-party suite.
- Providers
OpenAPI and manifests, credentials, payment and reputation.
- Discovery
Well-known documents, OpenAPI, Bazaar, A2A and MCP.
- Merchants
Protect a route; metered and batch charging; framework adapters.
Proof and operations
- Receipts
What a receipt binds, how to verify it and what it proves.
- Infrastructure
Components, chain access, signers, the mainnet gate and metrics.
- Security
Keys, untrusted input, payment safety and review status.
Reference
- API reference
Every endpoint, header and error.
- SDKs
TypeScript, Python and MCP coverage and distribution.