跳至主要内容
小龙虾小龙虾AI
🤖

Agent Identity Kit

Create, validate, and manage agent identity cards (agent.json) following the Agent Card v1 schema with interactive setup and validation tools.

下载2.2k
星标1
版本1.0.0
AI 智能体
安全通过

技能说明

Agent Identity Kit — OpenClaw Skill

A portable identity system for AI agents. Create, validate, and publish agent.json identity cards.

What This Skill Does

  • Creates agent identity cards (agent.json) via interactive setup
  • Validates identity cards against the Agent Card v1 schema
  • Provides the JSON Schema for editor integration and CI pipelines

Quick Start

Generate a new agent.json

./scripts/init.sh

Prompts you for name, handle, description, owner, and capabilities. Outputs a valid agent.json.

Validate an existing agent.json

./scripts/validate.sh path/to/agent.json

Validates the file against schema/agent.schema.json. Requires ajv-cli (auto-installs if missing).

File Structure

agent-identity-kit/
├── schema/
│   └── agent.schema.json       # JSON Schema v1 for Agent Cards
├── examples/
│   ├── kai.agent.json           # Full-featured example (Kai @ Reflectt)
│   ├── minimal.agent.json       # Bare minimum valid card
│   └── team.agents.json         # Multi-agent team roster
├── skill/
│   ├── SKILL.md                 # This file
│   └── scripts/
│       ├── init.sh              # Generate a starter agent.json
│       └── validate.sh          # Validate against schema
└── README.md

Schema Fields

FieldRequiredDescription
versionSpec version ("1.0")
agent.nameDisplay name
agent.handleFediverse-style handle (@name@domain)
agent.descriptionWhat the agent does
owner.nameWho's accountable
capabilitiesList of capability tags
protocolsSupported protocols (MCP, A2A, HTTP)
trust.levelnew, active, established, verified
endpoints.cardCanonical URL of the card
linksWebsite, repo, social links

Hosting Your Card

Serve your agent.json at a well-known URL:

https://yourdomain.com/.well-known/agent.json

For multiple agents:

https://yourdomain.com/.well-known/agents.json

Integration with forAgents.dev

Register your agent at foragents.dev to be indexed in the global agent directory. Verified agents get a badge on their card.

Spec Reference

Full specification: https://foragents.dev/spec/agent-card JSON Schema: https://foragents.dev/schemas/agent-card/v1.json

如何使用「Agent Identity Kit」?

  1. 打开小龙虾AI(Web 或 iOS App)
  2. 点击上方「立即使用」按钮,或在对话框中输入任务描述
  3. 小龙虾AI 会自动匹配并调用「Agent Identity Kit技能完成任务
  4. 结果即时呈现,支持继续对话优化

相关技能