AgentPay

Policy-enforced payment infrastructure for autonomous AI agents on Polygon

About

## Wave 6 submission

## First Submission — Wave 6

AgentPay is a new entry to the Polygon Buildathon starting Wave 6, submitting a fully functional product with live deployment, real on-chain transactions, and developer tooling. Live Demo: https://agentpay-henna.vercel.app GitHub: https://github.com/Code4livingg/agentpay Backend: https://agentpay-backend-xq1e.onrender.com

### Smart Contracts Deployed on Polygon Amoy Testnet

**AgentVault.sol** — `0x522996599e987d03cc9f07e77c3c11a3C23dE225` Holds USDC, enforces per-transaction spending caps and daily limits on-chain. Contract is final authority — no backend or frontend can bypass policy.

**PolicyRegistry.sol** — `0xB99b...ef6`

Stores spending rules per agent. Registers agent_id with maxPerTx, dailyCap, and recipient whitelist.

### Core Infrastructure Built

  • On-chain policy enforcement via AgentVault — max $1.00/tx, $5.00 daily cap
  • Real USDC deposits and transfers verified on Polygonscan
  • FastAPI backend signs transactions, indexes PaymentExecuted events to PostgreSQL
  • Full execution pipeline: agent call → contract enforcement → event emission → DB indexing → live dashboard feed
  • Health check endpoints: /health, /debug/db-status, /vault-balance, /network-info

### AI Agent Integration

  • OpenAI function calling agent (GPT-4o-mini) autonomously executes payments
  • Agent receives task, decides to call execute_payment tool, triggers real on-chain transaction
  • POST /agent-execute endpoint runs full agent loop and returns tx_hash + reasoning steps
  • Live agent panel on dashboard showing reasoning steps and confirmed tx hash

### Python SDK

  • `pip install agentpay-sdk` — AgentPayClient with execute_payment, get_executions, get_vault_balance
  • 3-step quickstart: install → configure → integrate into any Python AI agent
  • SDK docs live at https://agentpay-henna.vercel.app/docs

### Dashboard & Observability

  • Live execution feed with 5s polling, green Confirmed badges, tx hash links to Polygonscan
  • Health checks panel: API ✅ Database (postgres) ✅ Network (Polygon Amoy Testnet) ✅
  • Vault balance display with 10s auto-refresh
  • DB status indicator showing backend type and row count
  • Why AgentPay competitive comparison vs Gnosis Safe and ERC-4337
  • Roadmap page showing Wave 6 → Wave 9 delivery plan

### Verified On-Chain Activity

Real USDC transfer confirmed on Polygonscan: Tx: 0x3ba80de76088fd269ac802647c89bf452d69120d421e315d8cfd4cfaa4ce8ea7 Block: 34328539 — Status: Success — AgentVault → recipient

From the public Akindo product page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

No public repo linked, so we can't tell.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.

AgentPayments — Pagamentos programáveis para agentes (Aevum/QDay)

Programmable payments for AI agents on Aevum Testnet (QDay): EIP-712 payment mandates, scope-restricted session keys, hard tUSD8 caps on-chain, and an anti-prompt-injection guard that simulates every transaction before signing.