Expand description
Verifiable Credentials for Agent Identity
Implements a subset of the W3C Verifiable Credentials Data Model v2.0 for establishing cryptographic proof of agent identity and capabilities.
§Identity Model
Each agent receives a DID (Decentralized Identifier) using the did:web method:
did:web:cellstate.batterypack.dev:agents:{agent-uuid}Agents can hold Verifiable Credentials that attest to:
- Identity (who is this agent?)
- Capabilities (what can this agent do?)
- Provenance (who created this agent?)
- Compliance (EU AI Act attestation)
Structs§
- Credential
Builder - Builder for creating Verifiable Credentials.
- Credential
Proof - A cryptographic proof attached to a credential.
- Credential
Subject - The subject of a credential, including the subject’s DID and claims.
- Credential
Verifier - Verifier for Verifiable Credentials.
- Did
- A Decentralized Identifier (DID) for an agent.
- DidDocument
- A DID Document containing the agent’s public keys and service endpoints.
- Service
Endpoint - A service endpoint in a DID Document.
- Verifiable
Credential - A W3C Verifiable Credential.
- Verification
Method - A verification method (public key) in a DID Document.
Enums§
- Agent
Credential Type - Credential types that can be issued to agents.
- Credential
Error - Errors that can occur during credential operations.
- Credential
Issuer - The issuer of a credential, either a simple DID string or an object with metadata.