Installation

Install the Trust Hub SDK using pip:

pip install trusthub-sdk

Optional Dependencies

Install with framework integrations:

# Gateway (FastAPI sidecar)
pip install trusthub-sdk[gateway]

# LangChain integration
pip install trusthub-sdk[langchain]

# Claude Agent SDK integration
pip install trusthub-sdk[claude]

# Development tools
pip install trusthub-sdk[dev]

Requirements

  • Python 3.10 or later
  • dilithium-py >= 1.4.0 (ML-DSA signing)
  • kyber-py >= 1.2.0 (ML-KEM key exchange)
  • pydantic >= 2.0 (data models)
  • cryptography >= 43.0 (AES-256-GCM, HKDF)

Verify Installation

trusthub version
# Trust Hub SDK v0.1.0