← 返回
未分类 Key 中文

Agnic Get Agent Identity

Check your agent's on-chain ERC-8004 identity, trust score, and KYA credentials. Use when the user wants to see agent identity, check trust score, view crede...
Check your agent's on-chain ERC-8004 identity, trust score, and KYA credentials. Use when the user wants to see agent identity, check trust score, view crede...
agnicpay-prog agnicpay-prog 来源
未分类 clawhub v2.0.2 1 版本 100000 Key: 需要
★ 0
Stars
📥 339
下载
💾 0
安装
1
版本
#latest

概述

Getting Agent Identity

Check the user's on-chain ERC-8004 agent identity, trust score, and KYA (Know Your Agent) credentials.

Authentication

Run npx agnic@latest status --json to verify. If not authenticated:

  • Headless (CI/server/agent): Set AGNIC_TOKEN env var or pass --token
  • Interactive (has browser): Run npx agnic@latest auth login

See the authenticate-wallet skill for details.

Check Agent Identity

npx agnic@latest agent-identity --json

Returns the agent's on-chain identity including:

  • Agent ID -- The ERC-721 token ID on the ERC-8004 Identity Registry
  • Owner address -- The wallet that owns the agent NFT
  • Trust score -- Reputation score (0-100) based on transaction history
  • Categories -- Authorized action categories (e.g., payment, general, alcohol)
  • Status -- Whether the agent is active or suspended

What is ERC-8004?

ERC-8004 ("Trustless Agents") is an Ethereum standard that gives AI agents:

FeatureDescription
----------------------------------------------------------------------------------------
On-chain identityAn ERC-721 NFT representing the agent on the Identity Registry
Reputation scoreTrust score (0-100) based on on-chain transaction history
KYA credentialsSD-JWT verifiable credentials for identity verification
DelegationSpending limits and category permissions via KYA delegation credentials

Contract Addresses

ContractNetworkAddress
-------------------------------------------------------------------------
Identity RegistryBase Mainnet0x8004A169FB4a3325136EB29fA0ceB6D2e539a432
Identity RegistryBase Sepolia0x8004A818BFB912233c491871b3d84c89A494BD9e
ReputationBase Mainnet0x8004BAa17C55a88189AE136b182e5fdA19dE9b63
ReputationBase Sepolia0x8004B663056A597Dffe9eCcC1965A193B7388713

Expected Output

{
  "agentId": 373,
  "ownerAddress": "0x046906b3cd9d73bf85eb01d795d333b364b75842",
  "status": "active",
  "registeredAt": "2024-12-15T10:30:00Z",
  "trustScore": 85,
  "categories": ["payment", "general"],
  "hasDelegation": true
}

Prerequisites

  • Must be authenticated (npx agnic@latest status to check)
  • Agent identity is automatically created during Agnic sign-up

Error Handling

Common errors:

  • "Not authenticated" -- Run npx agnic@latest auth login or set AGNIC_TOKEN
  • "No agent identity found" -- The user may not have an agent registered; create one at app.agnic.ai
  • "Agent suspended" -- The agent's delegation may have been revoked; contact support

版本历史

共 1 个版本

  • v2.0.2 当前
    2026-05-07 10:48 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-agent

self-improving agent

pskoett
记录自身发现以实现自我改进的技能
★ 4,161 📥 931,810
ai-agent

Find Skills

root
帮助用户发现和安装智能体技能,当用户询问如「如何做X」、「找X的技能」、「有能做...的吗」等问题时
★ 1,516 📥 571,636
it-ops-security

Agnic Authenticate Wallet (x402)

agnicpay-prog
通过浏览器OAuth或无头API令牌认证Agnic钱包。用于登录、身份验证、连接钱包、CLI配置等场景。
★ 0 📥 681