AgentPay — pay-per-request, negotiated, onchain

An AI agent with a wallet, a budget, and rules. Track: Agentic Payments and AI · Chain: Arc Testnet (USDC is the gas).

⚠️ TESTNET DEMO ONLY. The agent wallet key is generated in this page and kept in session storage only — it is never sent anywhere, never persisted to disk, and never committed to the repo. Never send mainnet funds to it. All payments are test USDC on Arc Testnet (chain 5042002), worth $0.

👛 Wallets connecting…

Agent wallet is generated in-page on first load. The seller wallet receives payments so the full money loop (agent → seller) is visible on the explorer. Sellers are simulated priced services; settlement is real, onchain.

Agent wallet

—
Balance: — USDC (ERC-20, 6 dp)

⛽ Fund from the Circle faucet (Arc Testnet → USDC)

Seller wallet (receives payments)

—
Balance: — USDC

🧠 Task & guardrails

Seller allowlist — untick a seller and the agent refuses its quotes, even when cheapest

⏸ Human approval needed

Budget

Spent 0.00 / Budget 1.00 USDC · Remaining 1.00

📜 Decision log — every step the agent takes, and why

⛓️ Onchain payments — every tx links to Arcscan

Run history (this session)

TaskItemsSpentStatus
No runs yet.

💬 Quotes & negotiation

Quotes appear here while the agent runs.

📰 Assembled briefing — built only from data the agent paid for

Nothing purchased yet. Run the agent and the briefing assembles here from verified, paid-for deliveries.

🔎 Track any Arc address (read-only)

How it works — decision loop & safety limits

Decision loop: task → decompose into purchasable items → collect quotes from allowlisted sellers → negotiate (accept at/below target price; else counter-offer once at the midpoint; accept a counter at/below the cap, else walk away and try the next seller) → policy check (budget remaining, per-payment cap, allowlist, approval threshold) → human approval if above threshold → pay (ERC-20 USDC transfer on Arc) → verify receipt + balance delta → delivery gated on payment → log everything.

Safety limits (all enforced before money moves): total budget (hard stop), per-payment cap (quotes above it are refused outright, no negotiation), seller allowlist, human-approval threshold, kill switch (halts mid-run, state stays inspectable).

Chain: Arc Testnet · chain ID 5042002 · RPC https://rpc.testnet.arc.io · USDC ERC-20 0x3600000000000000000000000000000000000000 (6 decimals) · Explorer testnet.arcscan.app. Arc's native USDC balance is 18 decimals while the ERC-20 interface is 6 decimals over the same balance — AgentPay uses only the ERC-20 interface for every read and write, never a raw native balance. Full docs in the repo README.