Skip to content

Python SDK API reference

This section documents every public class and function in the agent-manifest Python package. Use it when you are writing code against the SDK and need exact names, arguments and return types; if you are starting out, the getting started guide and the tutorials explain the same features step by step.

The pages below are generated from the docstrings in the source code, so they match the released package. The public API is organised into these areas.

Module What it covers
Core models Manifest, ArtifactBindings, and all nested model types
Signing Key generation, Ed25519Signer, Ed25519Verifier
Verification verify_manifest(), VerificationContext, VerificationResult, create_router()
Revocation sign_revocation(), FileCRL, create_crl_router()
Delegation DelegationHopSigner, verify_delegation_chain(), HitlApprovalSigner
Attestation SEVSNPProvider, TDXProvider, TPMProvider, AttestationProvider
CLI manifest create, sign, verify, revoke, keygen, attest commands

Installation

# Core (signing, verification, models)
pip install agent-manifest

# With server (FastAPI router, revocation endpoint)
pip install "agent-manifest[server]"

# With post-quantum signatures (ML-DSA-65)
pip install "agent-manifest[pq]"

# Full
pip install "agent-manifest[all]"