hackquest logo

Payagent

PayAgent is an autonomous on-chain payment agent that turns plain English into executed USDC transfers: no per-transaction popups and no manual signing for every payment.

Videos

Description

PayAgent is an autonomous AI payment agent that converts plain-English instructions into real on-chain USDC transfers. No per-transaction popups. No manual signing for every payment. Just describe what you want and the agent handles everything.

How it works:

The agent runs a 4-stage A2A pipeline on every request:

  1. Parse — Venice AI (Llama 3.3 70B) extracts recipients, amounts, and frequency from natural language. Privacy-first: your financial data never leaves a trusted inference boundary.

  2. Validate — Risk screening against amounts and address format.

  3. x402 Fetch — The agent autonomously pays 0.01 USDC to access a live ETH/BTC price feed via the x402 protocol. This is genuine machine-to-machine commerce — no human clicks, one agent paying another agent for data.

  4. Plan — Structured payment plan presented for one-time approval.

After the user approves via MetaMask, the agent executes transfers through ERC-7710 delegation to the 1Shot permissionless relayer — gasless, no ETH required, no further popups.

Tech Stack:

  • Venice AI (Llama 3.3 70B) — sole AI provider, privacy-first inference

  • x402 protocol — A2A micropayments for live market data

  • MetaMask Smart Accounts + ERC-7710 delegation

  • 1Shot Permissionless Relayer — gasless execution on Base

  • Next.js 15 + TypeScript

Proven on-chain:
0x76201cf747d6eb32809c6d84e5ae9221db5c324c6ec984945e58e29b73c91a16 — Base Sepolia


GitHub: https://github.com/Osiyomeoh/payagent

Progress During Hackathon

<p>Built a fully working autonomous on-chain payment agent from scratch during the hackathon:</p><ul><li><p><strong>Venice AI integration</strong> — privacy-first Llama 3.3 70B as the sole inference engine, parsing natural language payment instructions without exposing financial data to centralized servers</p></li><li><p><strong>x402 A2A micropayments</strong> — agent autonomously pays 0.01 USDC for live ETH/BTC price data, the first real machine-to-machine commerce in our pipeline</p></li><li><p><strong>MetaMask Smart Accounts</strong> — full ERC-7710 delegation flow using the MetaMask Delegation Toolkit v0.13.0, with ERC-7715 permission grants</p></li><li><p><strong>1Shot Relayer integration</strong> — gasless execution via the 1Shot permissionless relayer on Base, no ETH required from users</p></li><li><p><strong>4-stage A2A pipeline</strong> — Parse → Validate → x402 Fetch → Plan, fully animated and running in production</p></li><li><p><strong>Landing page + full UI</strong> — complete product with agent chat, task dashboard, settings, and delegation chain visualization</p></li><li><p><strong>Real on-chain transactions</strong> — live USDC transfers on Base Sepolia with verified tx hashes on BaseScan</p></li></ul>

Tech Stack

Next
Web3
Ethers
Solidity

Fundraising Status

<p>nil</p>

Team LeaderSsam ale
Sector
AIDeFi

Builders Also Viewed