.well-known 生成器

填写 Agent 基本信息,生成两份标准发现文件:A2A 协议的 agent-card.json 与 IETF Web Bot Auth 签名目录。全部在浏览器内生成,零上传;产出可直接通过本站 Agent 身份体检器的对应检查项。

能力 / 技能

还没有凭证?获取凭证 → (不填则省略该扩展位)

没有密钥?两条命令生成

在自己电脑上运行,私钥留在本机,只把打印出的公钥 JWK 粘贴到上面——本工具纯前端,零出网,任何内容都不会被上传。

# 1) generate an Ed25519 private key (keep it yourself, never upload)
openssl genpkey -algorithm ed25519 -out bot-private.pem
# 2) export the public key
openssl pkey -in bot-private.pem -pubout -out bot-public.pem
# 3) print the public JWK (paste it into the box above)
node -e "const{createPublicKey}=require('crypto');console.log(JSON.stringify(createPublicKey(require('fs').readFileSync('bot-public.pem')).export({format:'jwk'})))"
# one command: keypair generated, private key saved to PEM, public JWK printed
node -e "const{generateKeyPairSync}=require('crypto');const{publicKey,privateKey}=generateKeyPairSync('ed25519');require('fs').writeFileSync('bot-private.pem',privateKey.export({type:'pkcs8',format:'pem'}));console.log(JSON.stringify(publicKey.export({format:'jwk'})))"
agent-card.json

放置路径(站点根):/.well-known/agent-card.json

体检器要求 name 与 url 非空,请先填写 Agent 名称与站点 URL。

{
  "protocolVersion": "0.3.0",
  "name": "",
  "url": "",
  "preferredTransport": "HTTP+JSON",
  "version": "0.1.0",
  "capabilities": {
    "streaming": false,
    "pushNotifications": false
  },
  "defaultInputModes": [
    "application/json"
  ],
  "defaultOutputModes": [
    "application/json"
  ],
  "skills": []
}
http-message-signatures-directory

放置路径(站点根,文件无扩展名):/.well-known/http-message-signatures-directory

粘贴 Ed25519 公钥 JWK 后在此生成签名目录

生成后去体检

把两份文件部署到站点根的 /.well-known/ 下,然后用体检器验证:AgentCard 与 Web Bot Auth 两项应当满分。

去体检 → 再领一张凭证(免费)→