feat: add AgentRadar action provider#1322
Open
Bichev wants to merge 1 commit into
Open
Conversation
Adds a network-agnostic, read-only AgentRadar action provider with two actions: - verify_agent: composite on-chain trust score (0-100) + verdict + per-signal breakdown (ERC-8004 reputation, scam database, static analysis) for an EVM address, so agents can check trust before interacting with or paying a counterparty. - get_trust_badge: embeddable trust-badge SVG URL for an address. No API key required. Includes schemas, types, unit tests, README, and a changeset. Co-authored-by: Cursor <cursoragent@cursor.com>
🟡 Heimdall Review Status
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds an AgentRadar action provider so any AgentKit agent can check the on-chain trust of a counterparty before interacting with or paying it.
AgentRadar returns a composite trust score (0-100) built from ERC-8004 reputation, a scam-wallet database, and static analysis. This complements the existing
erc8004andx402providers: ERC-8004 exposes raw identity/reputation, and this provider turns the broader signal set into a single verdict an agent can act on right before a payment.Two actions, both network-agnostic, read-only, and requiring no API key:
verify_agentTRUSTED/VERIFIED/CAUTION/RISKY/BLOCKED) + per-signal breakdown for an EVM addressget_trust_badgeExample
Files
src/action-providers/agentradar/—agentRadarActionProvider.ts,schemas.ts,types.ts,constants.ts,index.ts,README.md, and testssrc/action-providers/index.tsREADME.mdprovider table@coinbase/agentkit, minor)Testing
Mirrors the
defillamaprovider pattern (HTTP, no wallet). All run fromtypescript/agentkit:pnpm exec jest src/action-providers/agentradar→ 7/7 passpnpm run check(tsc --noEmit) → cleanpnpm exec eslint src/action-providers/agentradar→ cleanpnpm exec prettier --check→ cleanChecklist
defillamaas reference)zod+ globalfetch)Made with Cursor