All integrations

Python SDK

ML training loops, scripts, and Python agents.

PreviewSDKchirp login

Source implementation only. Registry, marketplace, hosted installer, and publisher provenance remain unverified until the release checklist records a clean-machine receipt. Use the reviewed source under `python-sdk/`.

Setup

  1. 1Review and pin python-sdk/; do not assume its package-manager name is published.
  2. 2Pair this interactive host with a verified chirp login build. Review the matching code, host, provider, capabilities, and expiry in the browser.
  3. 3Use ~/.chirp/config.json (0700 directory, 0600 file). ~/.chirprc is a user-level read-only fallback; repository-local credentials are ignored.
  4. 4Verify provider acceptance and the phone's delivery acknowledgement separately. Never call an accepted event delivered.
train.py
from chirp import ChirpAgent

with ChirpAgent(name="training", status="starting") as agent:
    agent.update("epoch 1/10")
    train_one_epoch()
    agent.done("complete")