Expand description
Agent Identity Certificate schema.
An Agent Identity Certificate is a signed credential that proves who an agent is and what it is authorized to do. Produced once when an agent registers, lives permanently with the agent. The TLS certificate equivalent for AI agents.
Structs§
- Agent
Capabilities - Agent capabilities: what tools and services the agent is authorized to use.
- Agent
Certificate - The complete Agent Certificate – identity + capabilities + declaration with a signature over the canonical JSON of all three.
- Agent
Declaration - Agent declaration: scope constraints.
- Agent
Identity - Agent identity: who the agent is.
- Certificate
Signature - Signature over the certificate content.
- Tool
Capability - A single authorized tool with optional description.
Enums§
- Certificate
Verify Error - Errors verifying an
AgentCertificatesignature.
Constants§
- CERTIFICATE_
SCHEMA_ VERSION - Current certificate schema version. Certificates without this field are treated as schema “0” and verified under legacy rules (pre-v0.9.0 shape).
- CERTIFICATE_
TYPE
Functions§
- effective_
schema_ version - Resolve a schema_version Option to its effective string, defaulting to “0” when absent. Centralizing this avoids the legacy default leaking out across call sites.
- verify_
certificate - Verify the Ed25519 signature on an
AgentCertificateagainst the public key embedded insignature.public_key. Reconstructs the same canonical JSON the issuer signed and checks the bytes match.