get-agent-identity
3
总安装量
3
周安装量
#55572
全站排名
安装命令
npx skills add https://github.com/agnicpay/agnic-wallet-skills --skill get-agent-identity
Agent 安装分布
opencode
3
antigravity
3
github-copilot
3
codex
3
kimi-cli
3
gemini-cli
3
Skill 文档
Get Agent Identity
Check the user’s on-chain ERC-8004 agent identity, trust score, and KYA credentials.
Steps
-
Verify authentication:
npx agnic@latest status --json -
Check agent identity:
npx agnic@latest agent-identity --jsonNote: If
agent-identityis not available, use the API directly:npx agnic@latest x402 pay "https://api.agnic.ai/api/agent/identity" --method GET --json
What is ERC-8004?
ERC-8004 (“Trustless Agents”) is an Ethereum standard that gives AI agents:
- On-chain identity â An NFT representing the agent
- Reputation score â Trust score based on transaction history
- Verifiable credentials â KYA (Know Your Agent) credentials for identity verification
Expected Output
{
"agentId": 373,
"ownerAddress": "0x046906b3...",
"status": "active",
"registeredAt": "2024-12-15T...",
"trustScore": 85,
"categories": ["payment", "general"]
}
Error Handling
- If the user doesn’t have an agent identity, they can create one via the AgnicPay dashboard
- Agent identity is automatically created during OAuth sign-up