self-agent-id
Integrate Self Protocol Agent ID for ZK-powered, human-backed AI agent identity. Covers registration, verification, soulbound NFTs, Sybil resistance, and A2A patterns. Use when asked about agent identity, proof-of-human, Self Protocol, or ZK identity.
- License 许可
- AGPL-3.0
- 最近更新
- 2026-11-14
- Stars
- ★ 81
- Forks
- 17
01 前言 Front Matter
- name
- self-agent-id
- description
- Integrate Self Protocol Agent ID for ZK-powered, human-backed AI agent identity. Covers registration, verification, soulbound NFTs, Sybil resistance, and A2A patterns. Use when asked about agent identity, proof-of-human, Self Protocol, or ZK identity.
02 资源文件 3
- 许可证LICENSE33.8 KB
- 参考文档SOURCE.md177 B
- 参考文档TRUST.auto.yaml2.1 KB
03 SKILL.md 正文
Self Agent ID
ZK-powered identity for AI agents via Self Protocol. Agents get soulbound ERC-721 NFTs verified through zero-knowledge passport authentication.
How It Works
- Human scans passport via Self app (ZK proof generated locally on phone)
- Hub V2 verifies the proof on-chain and notifies the registry
- Registry mints a soulbound NFT linking agent's key to unique human nullifier
- Agents sign requests via SDK; services verify against on-chain registry
No personal data leaves the user's device. Only a ZK proof and nullifier are submitted on-chain.
Registry Addresses
| Network | Chain ID | Registry Address |
|---|---|---|
| Celo Mainnet | 42220 | 0xaC3DF9ABf80d0F5c020C06B04Cced27763355944 |
| Celo Sepolia | 11142220 | 0x043DaCac8b0771DD5b444bCC88f2f8BBDBEdd379 |
Three on-chain registries (ERC-8004 compatible):
- SelfAgentRegistry — Core identity (soulbound ERC-721 + proof-of-human)
- SelfReputationRegistry — Aggregated reputation feedback
- SelfValidationRegistry — Third-party validation
REST API
Base: https://selfagentid.xyz/api
Get agent info:
web_fetch url="https://selfagentid.xyz/api/agent/info/42220/AGENT_ID"
List agents by wallet:
web_fetch url="https://selfagentid.xyz/api/agent/agents/42220/0xWALLET_ADDRESS"
Verify agent:
web_fetch url="https://selfagentid.xyz/api/agent/verify/42220/AGENT_ID"
Get agent card (A2A):
web_fetch url="https://selfagentid.xyz/api/cards/42220/AGENT_ID"
Register agent:
exec command="curl -s -X POST 'https://selfagentid.xyz/api/agent/register' -H 'Content-Type: application/json' -d '{\"mode\":\"linked\",\"network\":\"mainnet\",\"humanAddress\":\"0xWALLET\",\"disclosures\":{\"age\":true,\"ofac\":true}}'"
Registration Modes
| Mode | Key Type | Wallet Required | Best For |
|---|---|---|---|
linked |
ECDSA | Yes (human) | Autonomous agents with human oversight |
wallet-free |
ECDSA | No | Non-crypto users, embedded agents |
ed25519 |
Ed25519 | No | OpenClaw, Eliza frameworks |
ed25519-linked |
Ed25519 | Yes (human) | Ed25519 agents with human custody |
privy |
Social login | No | Google/Twitter/email auth |
smartwallet |
Passkey | No | Biometric auth, gasless revocation |
Verification Patterns
Agent-to-Service
Agent signs HTTP requests with headers:
x-self-agent-address— Agent's Ethereum addressx-self-agent-signature— ECDSA signaturex-self-agent-timestamp— Unix timestamp
Agent-to-Agent
Mutual verification between two agents. sameHuman() detects if two agents share the same human backer without revealing identity.
Agent-to-Chain
Smart contracts check isVerifiedAgent() on the registry directly. For gasless: agents sign EIP-712 typed data, relayer submits.
SDK Installation
| Language | Package | Install |
|---|---|---|
| TypeScript | @selfxyz/agent-sdk |
npm install @selfxyz/agent-sdk |
| Python | selfxyz-agent-sdk |
pip install selfxyz-agent-sdk |
| Rust | self-agent-sdk |
cargo add self-agent-sdk |
Integration with Ottie
Ottie can integrate Self Agent ID for:
- Sybil-resistant identity: each agent backed by unique human
- A2A verification: verify other agents before DeFi interactions
- On-chain reputation: build verifiable trust history
- Proof-of-human gating: restrict sensitive operations to human-verified agents
04 同仓库更多 Skills
recipe-performance
Diagnose a specific MetaMask user flow's real-app performance and Sentry critical-user-flow telemetry with deterministic mm-harness recipes. Use for CUF boundaries, cold/warm/background-resume behavior, latency regressions, lifecycle tags, duplicate or blocking network requests, long tasks, layout/paint cost, screen redraws, React rerenders, or browser trace analysis where tests alone cannot prove the real app.
mexc-spot-websocket
MEXC Spot WebSocket workflows for public streams, protobuf handling, depth maintenance, listen keys, and private streams without exposing API keys.
mexc-spot-rest
MEXC Spot REST workflows for public data, signed account requests, orders, wallet/admin actions, and secure signing without exposing API keys.
mexc-futures-websocket
MEXC Futures WebSocket workflows for public streams, private account/order/position streams, ping/pong, subscriptions, and depth maintenance.
0xklen-version-and-refresh-sanctions-lists
暂无简介
verify-tests-cover-changed-lines
Use when a PR adds code that the existing suite may not exercise. Measures patch coverage — the share of newly changed lines hit by tests — before approving.