Production layer v0.4.15

Behavioral integrity monitoring you can actually ship.

Attach a monitor to a PyTorch model, calibrate on clean data, then score inference batches and training updates -- entirely in-process, no daemon, no network calls. Pre-built artifacts for 90+ HuggingFace models available in the registry.

$ pip install signai-sdk
 
> from signai import monitor
> m = monitor.attach(model, num_classes=10)
> m.calibrate(loader, phase="inference")
> m.save("./integrity.json")
 
> m = monitor.load(model, artifact="./integrity.json")
> result = m.score_inference(x, y)
flagged=False score=3.21 tau=17.60
> result = m.score_training(logits, loss)
flagged=True score=29.44 tau=15.03
Deployment modes

Local by default. Enterprise-ready when you need it.

The SDK works entirely offline out of the box. No service footprint, no weight transfer, no external calls -- just load an artifact and score.

Standard

Local artifact

Load `./integrity.json` and score in-process. Works in notebooks, CI pipelines, and production inference loops. Zero network dependency.

Enterprise

Air-gapped

Deploy entirely inside a VPC or on-premise with no internet connectivity. Raw model weights never leave your environment.

How to run

Start local, then graduate to server mode.

The production layer is built around a very small operational loop: calibrate, save, load, score, and optionally upload the artifact to a service.

Quickstart

  • Attach a monitor with `monitor.attach(...)`.
  • Calibrate on clean data with `phase="inference"` or `phase="training"`.
  • Save the artifact to `integrity.json`.
  • Reload the artifact at inference time -- no daemon, no network.
  • Call `score_inference(x, y)` or `score_training(logits, loss)` in hot paths.
from signai import monitor

m = monitor.attach(model, num_classes=10, device="cuda")
m.calibrate(clean_loader, device="cuda", phase="inference", calib_batches=200)
m.save("./integrity.json")

m = monitor.load(model, artifact="./integrity.json", device="cuda")
result = m.score_inference(x, y)
Pricing

Simple plans. No surprises.

Start free. Upgrade when you need nn and assoc detectors, history, and alerts. Enterprise contracts available for air-gapped and compliance deployments.

Community
Free

No account needed. Start monitoring immediately after install.

  • v1 detector (Mahalanobis)
  • 10 calibrations / month
  • Local + file-backed server mode
  • Community support
Enterprise
Contact us

Unlimited calibrations, air-gapped deployment, compliance and dedicated support.

  • Everything in Pro
  • Unlimited calibrations
  • Postgres backend
  • Air-gapped deployment
  • Compliance and audit controls
  • Dedicated support

License key delivered by email within 1 hour of payment.  |  All plans include a 3-day free trial of Pro features.

Customer docs

Everything needed to onboard a customer.

The repository now includes product-facing setup instructions, deployment notes, runtime examples, and troubleshooting guidance for the production layer.

README

Repository entrypoint

Updated with install paths, deployment modes, CLI usage, Docker commands, privacy boundaries, and edition guidance.

Manual

User manual

A customer-facing walkthrough covering local mode, remote mode, calibration, runtime scoring, authentication, troubleshooting, and rollout guidance.

Deploy

Deployment guide

A focused operations doc for self-hosted, Docker, SQLite, and Postgres-backed setups, including health checks and production recommendations.

Release

Checklist and changelog

Release-facing docs now capture the production-layer delta and the final verification list for packaging, Docker, docs, and customer handoff.

Privacy

Clear boundary

Customer copy now explicitly states that only compact behavioral vectors are transmitted and that raw vectors are discarded after scoring.