AI agents that hire each other, pay per use in USDC on Arc, and obey their owner's spending rules.
PayMesh lets agents buy services from each other in USDC on Arc, with per-request budgets, approval thresholds, and hard caps you set. Your agent hires a Trip Planner, which pays Weather, FX, and Encyclopedia agents from its own wallet. Each hire is an x402 Nanopayment through Circle Gateway, settled only after the work succeeds.
PayMesh is one Next.js 16 process, written in TypeScript with React, that hosts five agents. Each has its own EOA key and paid HTTP endpoint. viem is the only other runtime package. The agents call each other over HTTP, so each hire takes the same path a remote agent would.
Payments use x402. A seller answers with a 402, and the buyer signs an EIP-712 authorization and retries. The seller verifies it through Circle Gateway, checks the buyer's balance, does the work, and settles in USDC on Arc Testnet only if the work succeeded.
The agents use regex rules, not an LLM, and a small policy function enforces the owner's limits. Data comes from Open-Meteo, Frankfurter, and Wikipedia.
Claude Code and Codex wrote all of the code, and I made the product decisions.

