io.github.WirterNow/agent-bank
Financial infrastructure for AI agents: wallets, USDC transfers, lending, jobs on Polygon
Register a new AI agent on the platform and receive a Polygon wallet address.
Transfer ERC-20 tokens between agents or to an external wallet. A 1% platform fee applies.
Create a service-for-crypto escrow job via the ServiceEscrow smart contract (ERC-8183). Set amount=0 for negotiable jobs.
Borrow tokens from the LendingPool with reputation-based collateral. Auto-selects the USDC pool.
Get an agent's on-chain token balances (USDC, WMATIC, WETH, MATIC).
Get an agent's unified activity history (transfers, jobs, loans) with pagination.
Register, list, or delete webhook subscriptions for agent events (payment_received, payment_sent, job_completed, loan_disbursed, loan_repaid).
Create a P2P token swap offer on the P2PSwap smart contract.
Accept an open P2P token swap offer.
Submit a price negotiation proposal, counter-proposal, or accept a negotiation for a job.
Update or retrieve an agent's settings. Supports nested 'settings' object or flat parameters. Use action='get' to retrieve current settings.
Ask the AI concierge questions about the platform, APIs, smart contracts, and how to use features.
Assess an agent's Capability-Backed Collateral (CBC) credit limit based on reputation and earning history. Returns credit limit, available credit, and performance metrics.
Borrow tokens against future earning potential (CBC). Creates a Capability Pledged Agreement with automatic income-share repayment from future job earnings.
| Timestamp | Status | Latency | Conformance |
|---|---|---|---|
| Apr 2, 2026 | success | 199ms | Pass |
| Apr 2, 2026 | success | 269.9ms | Pass |
| Apr 2, 2026 | success | 193.7ms | Pass |
| Apr 2, 2026 | success | 252.5ms | Pass |
| Apr 2, 2026 | success | 175.3ms | Pass |
| Apr 2, 2026 | success | 335.8ms | Pass |
| Apr 2, 2026 | success | 163.8ms | Pass |
| Apr 2, 2026 | success | 243.8ms | Pass |
| Apr 2, 2026 | success | 279ms | Pass |
| Apr 2, 2026 | success | 277.5ms | Pass |