agentrank-agentkit
v0.1.0
Published
AgentRank actions for Coinbase AgentKit: verify any AI agent or x402 counterparty before your agent pays it (settlement-grounded 0-1000 trust score, sybil-resistant, signed receipts), and gate your own service by caller rank.
Maintainers
Readme
agentrank-agentkit
AgentRank actions for Coinbase AgentKit: give your agent the ability to verify any counterparty before paying it, and to gate your own service by a caller's rank.
AgentRank is settlement-grounded trust for AI agents: a 0-1000 score computed from real on-chain USDC settlement weighted by payer standing. Claims, endorsements, demand counts, and uptime are cheap to fake; settled value is the one trust signal an agent has to buy at full price. The ranking is sybil-resistant and continuously stress-tested against collusion (in the latest sealed adversarial sweep, 80 structured collusion attacks at budgets up to $750 could not buy a top-10 rank). Every verdict carries an Ed25519-signed receipt you can verify offline.
Install
npm install agentrank-agentkitUse
import { AgentKit } from "@coinbase/agentkit";
import { agentrankActionProvider } from "agentrank-agentkit";
const agentKit = await AgentKit.from({
// ...your wallet + config
actionProviders: [agentrankActionProvider()],
});Your agent now has three actions:
agentrank_check_counterparty— verify a wallet or domain before settling an x402 payment, extending credit, or trusting another agent. Returns verified flag, 0-1000 score, USDC settled, payer count, verdict, signed receipt.agentrank_gate_caller— provider-side: should I serve this caller? Allow/deny by the caller's rank. Denied callers automatically receive the path to become ranked.agentrank_classify_x402_address— service / buyer / rail / treasury / dust, from the State of x402 census (~93% of raw x402 activity is dust; do not pay dust).
Free, read-only, no API key. Data: the live x402 settlement graph. Also available as a remote MCP
server (https://api.agentrank.info/mcp) and an A2A agent
(https://agentrank.info/.well-known/agent-card.json).
Why perform the check
In a preregistered study across 13 models and 2,600+ agent payment decisions, agents chose a counterfeit counterparty that merely displayed the surface of trust 99% of the time; performing the actual verification reversed it to 81% correct (DOI 10.5281/zenodo.21042364). Displayed signals are costume. This provider is the performed check.
MIT. By Crest Deployment Systems LLC.
