Skip to content

feat: add AgentRadar action provider#1322

Open
Bichev wants to merge 1 commit into
coinbase:mainfrom
Bichev:add-agentradar-action-provider
Open

feat: add AgentRadar action provider#1322
Bichev wants to merge 1 commit into
coinbase:mainfrom
Bichev:add-agentradar-action-provider

Conversation

@Bichev

@Bichev Bichev commented Jun 17, 2026

Copy link
Copy Markdown

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 erc8004 and x402 providers: 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:

Action Description
verify_agent Composite score (0-100) + verdict (TRUSTED/VERIFIED/CAUTION/RISKY/BLOCKED) + per-signal breakdown for an EVM address
get_trust_badge Embeddable trust-badge SVG URL for an address

Example

import { AgentKit, agentRadarActionProvider } from "@coinbase/agentkit";

const agentkit = await AgentKit.from({
  walletProvider,
  actionProviders: [agentRadarActionProvider()],
});
// "Verify 0x036C…CF7e before I pay it" → { score, verdict, signals, ... }

Files

  • src/action-providers/agentradar/agentRadarActionProvider.ts, schemas.ts, types.ts, constants.ts, index.ts, README.md, and tests
  • Registered in src/action-providers/index.ts
  • Documented in the package README.md provider table
  • Changeset added (@coinbase/agentkit, minor)

Testing

Mirrors the defillama provider pattern (HTTP, no wallet). All run from typescript/agentkit:

  • pnpm exec jest src/action-providers/agentradar7/7 pass
  • pnpm run check (tsc --noEmit) → clean
  • pnpm exec eslint src/action-providers/agentradar → clean
  • pnpm exec prettier --check → clean

Checklist

  • Followed the existing action-provider structure (defillama as reference)
  • Unit tests for success, HTTP error, network error, and badge/network cases
  • No new dependencies (uses zod + global fetch)
  • Changeset included
  • Lint, format, type-check, and tests pass locally

Made with Cursor

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>
@Bichev Bichev requested a review from murrlincoln as a code owner June 17, 2026 01:59
@cb-heimdall

Copy link
Copy Markdown

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 1
Sum 2

@github-actions github-actions Bot added documentation Improvements or additions to documentation action provider New action provider typescript labels Jun 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action provider New action provider documentation Improvements or additions to documentation typescript

Development

Successfully merging this pull request may close these issues.

2 participants