Requirements
Python 3.11 or newer. The SDK uses
tomllib from the standard
library.Core install
@ci.inference, ci.env,
ci.secret, and the Cirron configuration class.
Extras
Framework hooks and data-loader backends are opt-in extras so you only pull what you use.Authentication
Authentication is optional; the SDK runs standalone without it. To sync traces to the Cirron platform, set an API key:CIRRON_RUN_ID / CIRRON_PIPELINE_ID / CIRRON_DEPLOYMENT_ID /
CIRRON_WORKSPACE_ID context is injected by the runner. You do not
set these yourself.
See Configuration for the full resolution order
(explicit args → env vars → ~/.cirron/config.toml → defaults) and
self-hosted endpoints.
Verify
CIRRON_API_KEY set):
./.cirron/spool/ containing the
cirron.session root span.
Check which extras are installed
ci.deps() reports which optional extras the current environment has.
Call it with no arguments for a full report, or with required names to
fail fast at script startup if any are missing:
ci.deps for the full surface.
Next step
Quickstart
Three 5-minute paths: zero-touch training, custom PyTorch loop, and
inference.