Skip to content

Repository files navigation

Trusgent

AgentCert

English · 简体中文

Verifiable trust credentials for AI agents.


License Spec Python


English

AgentCert issues and verifies W3C Verifiable Credentials for AI agents. It answers: why should I trust this agent?

AgentCert is vendor-neutral infrastructure. Any organization may operate an issuer; verifiers only need the issuer public key and the credential schema.

Pair it with AgentID to bind trust claims to a stable identity.

Features

  • Verifiable — Ed25519-signed JSON credentials
  • Gradedbasic, professional, authority levels
  • Inspectable — machine-readable and human-auditable
  • Pluggable issuers — bring your own trust anchor

Quick Start

pip install -r requirements.txt

python cli.py issue \
  --agent-id did:agent:demo123456 \
  --level basic \
  --domain example.com \
  --display-name "Demo Agent" \
  --output agent.cert.json

python cli.py verify --file agent.cert.json

Certificate Fields

Field Description
credentialSubject.id Linked did:agent URI
verificationLevel Trust tier
verifiedDomain Domain verified for the agent
entityName Legal entity name (optional)
registrationNumber Business registration ID (optional)

Ecosystem

Project Role
AgentID Decentralized agent identity
AgentLedger Reputation events and scores

License

Apache-2.0 — see LICENSE.


简体中文

AgentCert 为 AI Agent 签发并验证 W3C 可验证凭证(VC),回答:我为什么应该信任这个 Agent?

AgentCert 是厂商中立的开放基础设施。任何组织都可以运营签发方;验证方只需持有签发方公钥与凭证 schema。

AgentID 配合,可将信任声明绑定到稳定身份。

特性

  • 可验证 — Ed25519 签名的 JSON 证书
  • 分级basic / professional / authority
  • 可审计 — 机器可读,也可人工复核
  • 可插拔签发方 — 支持自建信任锚

快速开始

pip install -r requirements.txt

python cli.py issue \
  --agent-id did:agent:demo123456 \
  --level basic \
  --domain example.com \
  --display-name "演示 Agent" \
  --output agent.cert.json

python cli.py verify --file agent.cert.json

证书字段

字段 说明
credentialSubject.id 关联的 did:agent URI
verificationLevel 信任等级
verifiedDomain 已验证域名
entityName 法人实体名称(可选)
registrationNumber 商业登记编号(可选)

生态

项目 角色
AgentID 去中心化 Agent 身份
AgentLedger 信誉事件与评分

许可证

Apache-2.0 — 见 LICENSE

About

✅ W3C Verifiable Credentials for AI agents — issue, verify, and grade trust certificates (basic / professional / authority).

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages