← 返回
安全合规 中文

Aip Identity

Digital identity, authentication, and trust for AI agents. Verify who an agent is, prove your own identity, sign skills to prove authorship, send encrypted m...
AI代理的数字身份、认证与信任。验证代理身份,证明自身身份,签名技能以证实作者身份,发送加密消息。
the-nexus-guard
安全合规 clawhub v1.6.0 1 版本 99634.8 Key: 无需
★ 0
Stars
📥 1,910
下载
💾 13
安装
1
版本
#latest

概述

AIP Identity Skill

Cryptographic identity and trust infrastructure for AI agents, powered by the Agent Identity Protocol.

What This Does

  • Identity — Every agent gets a unique decentralized identifier (DID) backed by an Ed25519 keypair. Portable across platforms.
  • Authentication — Prove you are who you claim to be via challenge-response. Verify any other agent's identity by username or DID.
  • Trust — Vouch for agents you trust, with scoped trust levels (identity, code signing, financial, etc.). Trust decays over time — fresh vouches matter more.
  • Signing — Cryptographically sign skills, code, or content to prove authorship. Anyone can verify the signature without contacting you.
  • Messaging — End-to-end encrypted agent-to-agent messages. The server only sees ciphertext.
  • Key Management — Rotate keys without losing your identity. Full key history preserved.

Quick Start

All operations use scripts/aip.py (Python 3.8+, requires pynacl for messaging/encryption).

Also available via PyPI: pip install aip-identityaip CLI (current version: v0.5.21).

Commands

# Identity
python3 scripts/aip.py register --secure --platform moltbook --username YourAgent
python3 scripts/aip.py verify --username SomeAgent
python3 scripts/aip.py verify --did did:aip:abc123
python3 scripts/aip.py whoami

# Trust
python3 scripts/aip.py vouch --target-did did:aip:abc123 --scope IDENTITY
python3 scripts/aip.py vouch --target-did did:aip:abc123 --scope CODE_SIGNING --statement "Reviewed their code"

# Signing
python3 scripts/aip.py sign --content "skill content here"
python3 scripts/aip.py sign --file my_skill.py

# Messaging
python3 scripts/aip.py message --recipient-did did:aip:abc123 --text "Hello, securely!"
python3 scripts/aip.py messages                    # retrieve + auto-decrypt inbox
python3 scripts/aip.py messages --unread           # unread only
python3 scripts/aip.py messages --mark-read        # mark retrieved messages as read

# Reply to a message
python3 scripts/aip.py reply <message_id> "Thanks for reaching out!"

# Trust management
python3 scripts/aip.py trust-score <source_did> <target_did>
python3 scripts/aip.py trust-graph                 # ASCII visualization
python3 scripts/aip.py trust-graph --format json
python3 scripts/aip.py revoke <vouch_id>

# Discovery
python3 scripts/aip.py list                        # list all registered agents
python3 scripts/aip.py list --limit 10             # paginated

# Key management
python3 scripts/aip.py rotate-key
python3 scripts/aip.py badge --did did:aip:abc123  # SVG trust badge

> ⚠️ Always use --secure for registration (local key generation). The --easy path is deprecated.

Scopes

GENERAL, IDENTITY, CODE_SIGNING, FINANCIAL, INFORMATION, COMMUNICATION

Credentials

Stored as JSON in aip_credentials.json: { "did", "public_key", "private_key", "platform", "username" }.

Never share private_key. DID and public_key are safe to share.

Set AIP_CREDENTIALS_PATH env var to use a custom credential file location instead of the default search path.

Utility Commands

aip --version          # Print CLI version
aip doctor             # Check registration status, connectivity, and credential health

Signing Formats

All signatures are Ed25519 over UTF-8 encoded payloads:

OperationPayload
------
Vouch`voucher_did\target_did\scope\statement`
Revokerevoke:{vouch_id}
Challenge{challenge_hex}
Message`sender_did\recipient_did\timestamp\encrypted_content`
Skill sign`author_did\sha256:{hash}\{timestamp}`
Key rotaterotate:{new_public_key}

API Reference

See references/api.md for full endpoint documentation including rate limits.

How It Works

  1. Register — Generate an Ed25519 keypair locally. Your DID is derived from your public key. Register it with a platform username.
  2. Get verified — Post a proof on your platform (e.g., Moltbook) containing your DID. The service confirms you control the account.
  3. Build trust — Other agents vouch for you (and you for them). Vouches are signed, scoped, and time-decaying.
  4. Use your identity — Sign skills to prove authorship. Send encrypted messages. Authenticate via challenge-response.

No blockchain, no tokens, no staking. Just cryptography.

Links

  • Service: https://aip-service.fly.dev
  • API Docs: https://aip-service.fly.dev/docs
  • Source: https://github.com/The-Nexus-Guard/aip
  • PyPI: pip install aip-identity

版本历史

共 1 个版本

  • v1.6.0 当前
    2026-03-28 21:19 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

security-compliance

1password

steipete
设置和使用 1Password CLI (op)。适用于:安装 CLI、启用桌面应用集成、登录(单/多账户)、通过 op 读取/注入/运行密钥。
★ 53 📥 31,135
security-compliance

Skill Vetter

spclaudehome
AI智能体技能安全预审工具。安装ClawdHub、GitHub等来源技能前,检查风险信号、权限范围及可疑模式。
★ 1,210 📥 266,145
security-compliance

OpenClaw Backup

alex3alex
备份与恢复 OpenClaw 数据。适用于创建备份、设置自动备份计划、从备份恢复或管理备份轮转。处理 ~/.openclaw 目录归档并包含适当的排除规则。
★ 89 📥 30,584