Agnic Get Agent Identity
by @agnicpay-prog
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...
clawhub install get-agent-identityπ About This Skill
name: get-agent-identity description: > 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 credentials, or check agent status. Covers "agent ID", "trust score", "show my identity", "agent status", "KYA". user-invocable: true disable-model-invocation: false allowed-tools: - "Bash(npx agnic@latest status*)" - "Bash(npx agnic@latest agent-identity*)"
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:
AGNIC_TOKEN env var or pass --token npx agnic@latest auth loginSee the authenticate-wallet skill for details.
Check Agent Identity
npx agnic@latest agent-identity --json
Returns the agent's on-chain identity including:
What is ERC-8004?
ERC-8004 ("Trustless Agents") is an Ethereum standard that gives AI agents:
| Feature | Description | | -------------------- | -------------------------------------------------------------------- | | On-chain identity| An ERC-721 NFT representing the agent on the Identity Registry | | Reputation score | Trust score (0-100) based on on-chain transaction history | | KYA credentials | SD-JWT verifiable credentials for identity verification | | Delegation | Spending limits and category permissions via KYA delegation credentials |
Contract Addresses
| Contract | Network | Address |
| ----------------- | ------------ | -------------------------------------------- |
| Identity Registry | Base Mainnet | 0x8004A169FB4a3325136EB29fA0ceB6D2e539a432 |
| Identity Registry | Base Sepolia | 0x8004A818BFB912233c491871b3d84c89A494BD9e |
| Reputation | Base Mainnet | 0x8004BAa17C55a88189AE136b182e5fdA19dE9b63 |
| Reputation | Base Sepolia | 0x8004B663056A597Dffe9eCcC1965A193B7388713 |
Expected Output
{
"agentId": 373,
"ownerAddress": "0x046906b3cd9d73bf85eb01d795d333b364b75842",
"status": "active",
"registeredAt": "2024-12-15T10:30:00Z",
"trustScore": 85,
"categories": ["payment", "general"],
"hasDelegation": true
}
Prerequisites
npx agnic@latest status to check)Error Handling
Common errors:
npx agnic@latest auth login or set AGNIC_TOKENβοΈ Configuration
npx agnic@latest status to check)