AgentNexus2 is Base-native infrastructure for agent-to-agent payments, built around small, deterministic USDC escrow and settlement flows. It is designed for developers integrating autonomous agents and services that require verifiable, non-custodial payment coordination. AgentNexus2 is not a consumer application or marketplace.
AgentNexus2 is an early-stage TypeScript project in the AI payments / x402 ecosystem, focused on agent-payments-protocol, base-ecosystem, cctp-v2, crypto-payments. It currently has 0 GitHub stars and 0 forks, and sits alongside related tools like tdm-sdk, p402-protocol, portal-tunnel, PayForApi, X402-audio-to-audio, sample-agentcore-cloudfront-x402-payments.
[!IMPORTANT] 🟢 Live on Base Mainnet (December 2025)
- Escrow:
0x37A7B1f10b87f31ad916Fb3518118f8AA0d8d2fC- Entitlements:
0x3c8f32F9cF41Dc255129d6Add447218053743b33See DEPLOYMENTS.md for full details.
AgentNexus is a decentralized infrastructure platform for discovering, purchasing, and executing autonomous AI agents on Base L2. Built on Base, it leverages Account Abstraction (ERC-4337) to provide a seamless, secure, and non-custodial experience for users and agents alike.
The platform consists of three layers: a Next.js frontend for user interaction and marketplace browsing, a Node.js/Express backend that orchestrates agent execution in isolated Docker environments, and Solidity smart contracts (Foundry) that manage ownership, payments, and access control. See ARCHITECTURE.md for a deep dive.
This project is NOT:
AgentNexus is infrastructure software intended for technically competent users who understand blockchain technology and smart contracts.
Version: v0.1.0 (Base Mainnet Launch)
Deployment: Live on Base Mainnet (December 2025)
See STATUS.md for detailed project status and DEPLOYMENTS.md for contract addresses. For the grant brief, 3–6 month roadmap, and reviewer-friendly FAQ, see docs/grant-brief.md.
| Component | Status |
|---|---|
Smart Contracts (AgentNexusEscrow, AgentNexusEntitlements) |
✅ Deployed to Base Mainnet |
| Account Abstraction (ERC-4337) | ✅ Implemented |
| Agent Execution Environment | ✅ Docker-based, sandboxed |
| Compliance Toggles | ✅ Implemented (disabled by default) |
| CCTP Integration | ✅ Mainnet Proof |
| Frontend Marketplace | 🚧 In Development |
ReentrancyGuard and standard OpenZeppelin librariesseccomp profiles and read-only filesystemsNote: We only provide support for the setup described below. Custom configurations or deployment scenarios are your responsibility.
Clone the repository
git clone https://github.com/up2itnow0822/AgentNexus2.git
cd AgentNexus2
Install dependencies
pnpm install
Environment Setup
Copy .env.example to .env and fill in your API keys (Alchemy, WalletConnect, etc.).
Run Locally
pnpm dev
For smart contract deployment, see the smart-contracts/ directory README.
AgentNexus supports x402, an internet-native payment protocol for pay-per-request API access using USDC on Base.
| Endpoint | Price | Description |
|---|---|---|
GET /agents/:id/premium-analytics |
0.05 USDC | Agent analytics with execution trends, revenue breakdown |
GET /agents/:id/detailed-metrics |
0.02 USDC | Performance metrics, status distribution, duration analysis |
GET /agents/x402/status |
Free | Check x402 configuration |
# backend/.env
ENABLE_X402=true # Enable x402 payments
X402_NETWORK=base-sepolia # or "base" for mainnet
X402_PAYMENT_RECIPIENT=0xYourWalletAddress # Receives payments
X402_MAX_PAYMENT_USDC=100 # Safety limit per request
# Request without payment → 402
curl -i http://localhost:3001/agents/test-id/premium-analytics
# HTTP/1.1 402 Payment Required
# X-Payment-Required: <base64-encoded payment request>
# After paying USDC and retrying with payment proof → 200
curl -i http://localhost:3001/agents/test-id/premium-analytics \
-H "X-Payment: <base64-encoded payment payload>"
# HTTP/1.1 200 OK
✅ Transaction: 0x6c4907aa... | Block 35126450 | 0.05 USDC
AgentNexus now supports funding via Circle CCTP from Arbitrum and Optimism.
cctp routes for Arbitrum/Optimism.✅ Receiver Contract: 0x661a9903... (Base Sepolia)
✅ Mainnet Proof: See docs/proofs/cctp-ethmainnet-to-basemainnet.json for tiny-amount verification (Burn Eth -> Mint Base).
⚠️ Testnet Routes: Circle testnet limited to Ethereum->Base; Arb/OP routes restricted on testnet but active on mainnet.
We welcome contributions! Please see CONTRIBUTING.md for guidelines.
Apache 2.0 - See LICENSE for details. Third-party protocol and dependency notices are documented in NOTICE.
AgentNexus is natively compatible with the emerging agent payments and inter-agent communication protocol stack:
| Protocol | Status | Description |
|---|---|---|
| x402 (HTTP 402 Payment Protocol) | ✅ Native | Pay-per-request USDC payments over HTTP — the internet-native payment rail for AI agents |
| AP2 (Agent Payments Protocol) | ✅ Compatible | Aligned with Google/Coinbase/Ethereum Foundation's Agent Payments Protocol — our x402 implementation is AP2-ready |
| MCP (Model Context Protocol) | ✅ Compatible | Agents can invoke payment actions via MCP tool calls — drop-in integration with Claude, Cursor, and any MCP-enabled AI runtime |
| A2A (Agent-to-Agent) | ✅ Supported | Full agent-to-agent payment flows — agents can pay each other autonomously without human intervention |
| CCTP (Circle Cross-Chain Transfer Protocol) | ✅ Integrated | Native Circle CCTP v2 support — bridge USDC from Arbitrum, Optimism, and Ethereum to Base in a single atomic flow |
In February 2026, Google announced a partnership with Coinbase and the Ethereum Foundation to extend the Agent Payments Protocol (AP2) with x402 as the HTTP-native payment layer. This makes our existing x402 implementation institutionally validated infrastructure — not experimental.
AgentNexus was built on these primitives from day one. We are one of the earliest production deployments of the full AP2/x402/CCTP/A2A payment stack on Base Mainnet.
agent-wallet-sdk — the TypeScript SDK powering AgentNexus payments — is available on npm as
elizaos-plugin-agentwalletfor direct integration into any ElizaOS agent.
Open contract-facing SDK for payable routes and gateway-backed integrations. Thin public surface for authorize, checkout, and session flows.
P402 Payment Protocol
Publishes localhost services to the agentic web through self-hostable, trustless relays with x402 payments.
No description.
Transmits signed USDC payments over sound using a custom OOK audio modem with Goertzel detection. Compresses x402 handshakes to 138 bytes, settling on Base through 36 seconds of 2400 Hz beeping.
AWS payment demo of x402 using Bedrock AgentCore, Strands SDK, and CloudFront.
Lucid Agents Commerce SDK. Bootstrap AI agents in 60 seconds that can pay, sell, and participate in agentic commerce supply chains. Our protocol agnostic SDK provides CLI-generated templates and drop-in adapters for Hono, Express, Next.js, and TanStack, giving you instant access to crypto/fiat payment rails (AP2, A2A, x402, ERC8004).
Building blocks for Agentic payments (x402, MPP, AP2) for TypeScript, Rust, Go, Python, Ruby, PHP, Lua, Kotlin and Swift.
Building blocks for Agentic payments (x402, MPP, AP2) for TypeScript, Rust, Go, Python, Ruby, PHP, Lua, Kotlin and Swift.
Skills & plugins for agentic commerce : UCP, ACP, AP2, A2A, WebMCP, Magento 2, BigCommerce, WooCommerce
Trust infrastructure for million-agent economies on Solana - identity, reputation, and validation designed for continuous feedback at scale.
A chain-agnostic AI-native payment infrastructure, authz layer for x402