Repository navigation
Configuration
Payment wires: every paid endpoint accepts x402 and MPP (Machine Payments Protocol) on the same 402 - see Paying with x402 and Paying with MPP. Agent402 is the applied layer of Agentic Finance: agents that pay and get paid on their own.
Agent402 reads every setting from environment variables set on the host; nothing is committed to the repository.
-
Configuration reference: every variable the server's code reads, grouped by prefix, with its purpose, its default and the files that read it. It is generated from the source by
node scripts/gen-config-reference.js --write, and CI fails when it is stale or when the code reads a variable it does not list. -
.env.example: a commented starting file for a paid instance (payout wallet, network, facilitator, proof-of-work secret). - Self-Hosting: the settings most deployments set, in one table, with what each one turns on.
| Setting | Effect |
|---|---|
FREE_MODE=true |
Every tool answers without payment; no paywall and no proof-of-work gate. Without it, the paid-mode settings below are required or the server exits at boot |
WALLET_ADDRESS, NETWORK
|
Paid mode: where payments land and the primary chain |
PAYMENT_NETWORKS |
Extra chains to accept; each non-EVM chain needs its own payTo (Solana, Stellar, Algorand) |
CDP_API_KEY_ID + CDP_API_KEY_SECRET, or FACILITATOR_URL
|
The facilitator that verifies and settles x402 payments |
POW_SECRET |
Keeps proof-of-work challenges valid across restarts |
MPP_SECRET_KEY, TEMPO_API_KEY
|
The MPP wire, and native settlement on Tempo (Tempo) |
STRIPE_SECRET_KEY |
Card checkout, monitors and the credits gate ([[Card Payments |
STATE_DATABASE_URL, REDIS_URL
|
Shared state in Postgres, and the response cache |
Most features follow one rule: the key present turns the feature on, and an unset key leaves it off with the rest of the server unchanged. A switch named ..._TOOLS or ..._SALES lists or sells a feature only while it is on.
See also Troubleshooting and Upgrading.
agent402.tools - the applied layer of Agentic Finance: 500+ pay-per-call tools for AI agents over x402 and MPP (Paying with x402 · Paying with MPP · Glossary) · synced from wiki/ in the main repo - edit there, not here.
All other product and company names are trademarks of their respective owners. Naming them describes compatibility or a data source and does not imply affiliation with, or endorsement by, them.
For agents and buyers
- Getting Started
- Agentic Finance
- Why Pay Here
- Reports and Monitors
- Paying with x402
- Paying with MPP
- Solana (USDC)
- Stellar (USDC)
- Algorand (USDC)
- Robinhood Chain (USDG)
- Arc (USDC)
- Ink (USDC)
- Circle Gateway (batched USDC)
- Sessions and Channels
- Credits keys
- Paying with Compute
- Buying at Volume
- Content Pipeline
- MCP Connector
- Adapters
- agent402-client - the buyer SDK
- Amazon Bedrock AgentCore
- Decide - describe a job, get a plan
- Tool Catalog
- Skill Packs
- x402 Index and Router
- Seller Reputation
- x402 Leaderboard
- LLM Gateway (OpenAI /v1)
- LLM Proxy Gateway
- Image Generation Gateway
- Text-to-Speech
- Speech-to-Text
- Text Embeddings
- Payments and x402
- Audit Report - a wallet's signed history
- Memory and Coordination
Tollbooth (for site owners)
- Pay-per-crawl - what it is, install, modes
- Pay-per-crawl Walkthrough - 5-min hands-on
- Tollbooth for Agencies - many-site playbook
Website & Developer
- Reports · Monitors - by card
- Quickstart - first call in 60 seconds
- Playground - try tools in your browser
- SDK REPL - live code editor
- API Explorer - browse OpenAPI
- Adapter Docs - per-framework guides
- Workflows - chaining patterns
- Blog · Changelog
Under the hood
- Architecture
- Security Model
- Operations
- Self-Hosting
- Configuration - every setting
- Tempo (operator setup)
- Card Payments (operator setup)
- Troubleshooting
- Upgrading
- Contributing
- API guide