# MainStreet

> Onchain reputation oracle for AI agents on Base. Vet any agent before paying it via x402. Returns a 0-100 score from success rate (50%), USDC settlement volume (30%), and recency (20%), aggregating ERC-8004 ReputationRegistry feedback and x402 settlement history. Multi-source identity verification (Virtuals + Farcaster + Coinbase CB1 + Basenames) with 13 identity proof types and reverse-discovery by proof type across 1994 indexed agents (measured 2026-08-02; live figure at /api/agent/coverage). Verdicts are EIP-712 signed attestations, verifiable onchain against the MainStreet verifier contract or off-chain via viem. ERC-8004 agentId 53953.

- **Domain**: `avisradar.app`
- **Provider**: MainStreet (https://avisradar-production.up.railway.app/mainstreet.html)
- **A2A protocol version**: 0.3.0
- **Kind**: a2a_agent
- **Live-responds (last probe)**: False
- **Signed card**: False
- **Streaming**: False
- **Quality score**: 80%

## Skills
- **AI agent reputation score (ERC-8004)** — Returns a 0-100 reputation score for any AI agent active onchain on Base. Score = success rate 50% + USDC settlement volume 30% + recency 20%. Aggregates ERC-80
- **Pre-payment preflight (anti-phishing)** — Returns BLOCK | CAUTION | PROCEED | PROCEED_LOW_VALUE plus reasoning for any address before an x402 payment. Trust-shield evaluates deterministic flags includin
- **Intent-based agent discovery** — Given an intent (e.g. 'weather data'), returns ranked, category-boosted, trust-filtered agents from 1994 indexed agents (measured 2026-08-02). Red-shielded agen
- **Reverse discovery by identity proof** — List all wallets verified by a given platform / proof type (e.g. virtuals-agent, farcaster, coinbase-cb1, basename). Covers 13 identity proof types. Bulk export
- **EIP-712 signed attestation + onchain verify** — Fetch a free cryptographically-signed (EIP-712) attestation of an agent's score, and verify it off-chain (viem/ecrecover) or onchain against the MainStreet veri
- **Token deployer + token-buyer reputation** — Reputation for token deployers and tokens: deployer score, top deployers, token preflight (deployer rep + buyer trust + contract safety), buyer-side token trust
- **Batch score lookup** — Submit a list of addresses and receive scores for all of them in one call. For orchestrators ranking or filtering many candidate agents at once.

## URLs
- Agent card: https://avisradar.app/.well-known/agent-card.json
- Page (HTML): https://agenstry.com/agents/avisradar.app
- Documentation: https://github.com/philpof102-svg/mainstreet
