New here? Start with the ten-minute quickstart
Install, decorate one function, and see a signed evidence row before reading
any of this page.
Installation
hexr-sdk is on public PyPI. No credentials, no index URL, no hexr login.
The private index at pypi.hexr.cloud exists but is an internal mirror, not a
requirement.Quick Example
- SPIFFE identity assigned to this process
- All cloud calls authenticated via 3-tier credential cache
- Every LLM call traced with model, tokens, latency, cost
- OpenTelemetry spans emitted for every operation
- A2A agent card served for inter-agent discovery
Module Map
How Loading Works
Only the core module (hexr_agent, hexr_tool, hexr_llm) loads at import time. All other modules are lazy-loaded — they only import when first accessed:
Environment Variables
The SDK reads these environment variables (most are set automatically byhexr deploy):
Exceptions
All SDK exceptions inherit fromHexrError: