Provide a secure payment layer that enables AI agents to handle transactions autonomously with no setup or coding required.
ag402 is an early-stage Python project in the AI payments / x402 ecosystem, focused on agent, ai-agents, claude-code, machine-to-machine. It currently has 0 GitHub stars and 0 forks, and sits alongside related tools like ag402, Agent402, magpie-x402, AgentFund, awesome-molt-ecosystem, skills.
ag402 lets you add payment features to your AI agents with only two lines of code. It uses the x402 protocol to enable fast, zero-latency payments. You can use it with almost any agent platform or framework. The setup is simple, and it works across different programming languages through MCP and Python support.
This tool helps your AI agents to handle payments smoothly, making them more useful in real-world applications, such as automated transactions or machine-to-machine payments.
Before installing ag402, please make sure your computer meets these requirements:
To get started with ag402 on your Windows PC, follow the steps below carefully.
Visit the official release page for ag402 by clicking the big green button below. This page lets you download the latest version of the software.
.exe or .zip. Choose the .exe file if available.Once the download finishes:
.exe file to start the installation.If your download is a .zip file:
.exe or .bat file to start the program.This application is designed to integrate quickly with your AI agent through minimal code changes.
import ag402
ag402.enable_payments()
You do not need to change any other part of your code. ag402 will handle the connection to the x402 payment protocol quietly in the background.
After installation, you will see the following files:
ag402.exe or main executable fileREADME.md local copy with instructionsconfig.json to adjust basic settings if neededlib folder containing Python modules and MCP librariesMost users will not need to change any settings. But you can adjust some options if needed:
config.json in a text editor (like Notepad).If you run into problems, try the following:
ag402.exe.ag402 works well with:
To update ag402:
.exe or .zip file.Check the Issues tab on the GitHub repository for support from the community and maintainers. You can also create a new issue if you encounter bugs or have questions related to ag402.
Zero latency! Zero code change! Empower your AI agent with payment ability via x402 protocol! (Openclaw, Claude code, Cursor, Langchain, CrewAI, AutoGen...)
500+ pay-per-call web tools + skill packs for AI agents — every one tested, priced, and settled on-chain. Paid in USDC over x402 on 8 chains, or free via proof-of-work on the pure-CPU tools. Self-hostable, MCP-native, deterministic. Plus the open x402 index (Find / Route / Leaderboard).
Collateral that can still sell itself — Magpie's x402 agent API: borrow SOL programmatically on Solana.
Fundraising infrastructure for AI agents on Solana — x402 payments, milestone escrow, on-chain reputation. REST + WebSocket + MCP + ACP.
The brutally honest map of where AI-agent money actually flows. 51 rounds, 137 angles, 230+ platforms. 3 self-hosted x402 v2 endpoints + 3 tools in the official MCP Registry. 385K star distribution.
Agent skills for building, shipping, and growing software products
The agent-native LLM router for autonomous agents. 55+ models (8 free), <1ms local routing, USDC payments on Base & Solana via x402.
The living ecosystem where AI agents complete tasks through workflow loops, improve through iterative execution, are evaluated by mentor agents or humans in the loop, and turn completed work into reusable work experience and data to improve future agents.
The living ecosystem where AI agents complete tasks through workflow loops, improve through iterative execution, are evaluated by mentor agents or humans in the loop, and turn completed work into reusable work experience and data to improve future agents.
The trust layer for agent-to-agent commerce — natural-language mandates, ERC-7710 delegated permissions, x402 payments, escrow, and dispute resolution as one open, catch-all Agent Skill / Claude Code plugin.
Open Source AI trading agent that operates autonomously across 1000+ markets - Polymarket, Kalshi, Binance, Hyperliquid, Solana DEXs, 5 EVM chains. Scans for edge, executes instantly, manages risk while you sleep. Agent commerce protocol for machine-to-machine payments. Self-hosted. Built on Claude.
Live data for AI agents — search, research, markets, crypto, X/Twitter. Pay-per-call via x402 micropayments.