Integrate
Add an independent trust layer to any AI system you already run.
No retraining your model. No exposing its weights. No rewrite of your inference loop beyond a few lines. The snippets on this page are the same ones the console gives you.
From evaluation to your own model
Try it in the console
Open the live console, pick a scenario and watch the pipeline run on a private simulated fleet. Nothing to install.
Download the SDK
Windows, macOS, Linux and Jetson builds from the console, each with a version and a SHA-256 checksum. Unzip, start, and your browser opens the dashboard.
Attach your model
One line for PyTorch, a small client for any other pipeline, or plain HTTP from any language.
Validate on your own data
Replay recorded model outputs (.jsonl, .json, .csv) in the console and compare the decisions with your own telemetry.
Python 3.8 or newer. The trust layer itself runs on a CPU-only machine; on a Jetson, install NVIDIA's matching PyTorch build first.
Attach in one line
PyTorch: hook every forward pass, change nothing else.
# PyTorch: one line. The monitor hooks every forward pass,
# nothing else in your code changes.
from sdk.integrate import attach
mon = attach(my_model, unit="my-model")
out = my_model(frame) # your code, unchanged
if mon.veto: # trust decision for the latest inference
... # fall back, slow down, ask a human
# optional: attach(my_model, unit="my-model", embedding_layer="layer4", every=5, dashboard=False)
Nothing to configure: the monitor works with whatever your model returns, and a missing field is simply derived. It works the same on a Desktop, a server and a Jetson.
Another framework, or a pipeline you don’t control
Report what your model already computes, from ONNX, TensorFlow or anything else.
# Any pipeline: report what your model already computes.
# Standard library only. It never blocks your loop and never raises.
import auxai
mon = auxai.connect(unit="camera-1")
mon.observe(class_probs=probs, embedding=emb) # one line per inference
# Other entry points
# mon.attach(model) observe every PyTorch forward pass automatically
# @mon.watch decorator for any function returning logits or probabilities
# mon.protect(model) hash your weights and report a mismatch
Cloud connector
Download one small file with your private link built in, run it next to your AI, add two lines to the pipeline, and your units appear in the console.
Telemetry mode
Run the monitor locally and send results only, so raw data never has to leave your site.
Self-check
Run python -m auxai doctor to detect the machine and get an execution recommendation, or selftest to verify the link.
Same process, or plain HTTP
Run it inside your process, or call it from any language.
# Same machine, same process (Python)
from sdk import AuxAISDK
monitor = AuxAISDK(uav_id="camera-7")
result = monitor.process_frame(big_ai_output={...}, sensor_reading={...})
if result.veto:
my_system.trigger_safety_fallback()
# Any language, any device: plain HTTP
curl -X POST http://127.0.0.1:8000/v1/monitor/frame \
-H "Content-Type: application/json" \
-d '{
"unit_id": "my-camera-1",
"big_ai_output": {
"embedding": [0.01, 0.02, ...],
"bbox": [0.1, 0.1, 0.3, 0.3],
"class_probs": [0.9, 0.02, 0.02, 0.02, 0.04],
"confidence": 0.9,
"entropy": 1.2
},
"sensor_reading": { "imu_var": 0.01, "gps_drift": 0.0, "cam_blur": 0.01 }
}'
# Every field is optional. Anything omitted falls back to a documented,
# deterministic default instead of an error.
A device sending frames to a remote SDK server can use the resilient edge client: it finds the server on the LAN, never blocks your detection loop, and spools frames to a bounded disk queue during a connectivity gap, then drains them in order when the link returns.
What you get back
A diagnosis and a decision, not just a number.
Your system can react differently to “the monitor itself is compromised” and “the model is seeing something new”, because they need completely different responses.
Decision
known, uncertain, novel, sensor failure, unstable tracking, or a fault diagnosis
Trust T and hardware health H
A per-frame trust value and a binary integrity result
Reliability R = T × H
One number for fleet weighting and the dashboard
Veto
True when trust is below 0.5 or a fault route is active, so your system can fall back before acting
Diagnosis and route
Which check flagged the problem and which remedy applies: resync, rollback, drift heal or escalate
Full endpoint reference
The SDK server exposes a complete HTTP API, not just the one call.
| Method & path | Purpose |
|---|---|
| GET /health | Liveness check |
| POST /v1/monitor/frame | Submit a raw model output for the trust layer to evaluate |
| POST /v1/monitor/report | Submit an already-computed result from an external pipeline, recorded as-is |
| GET /v1/monitor/status | Latest status for one unit |
| GET /v1/monitor/history | Recent frame history for one unit |
| GET/PUT /v1/config | Read or update runtime thresholds live, no restart required |
| POST /v1/fl/submit-update | Submit a client update for federated aggregation |
| GET /v1/fl/global-model | Fetch the current fleet-verified global model state |
Before a real deployment, not just a demo
A short checklist, the same one we run internally.
- Decide the integration path: in-process, a remote client, or raw HTTP against the SDK server.
- If your model's embedding dimension or class count is unusual, plan for an eventual fine-tuning pass on your own labeled data, the adapters get a new system working immediately, not optimally calibrated for free.
- Recalibrate the behavioral self-test's canary bounds against your own trained model before relying on it for a real decision, shipped defaults are placeholders, not tuned to your distribution.
- Decide explicitly whether this deployment controls the watched model's checkpoint, leave write access off for any model that genuinely isn't yours to modify.
- Choose the self-healing permission level: ask first, auto-heal within a pre-approved set, or monitor only.
- Confirm whether network discovery is appropriate for your environment, LAN-visible by default, with an explicit opt-out for a security-sensitive deployment.
- If the trust layer's decision gates a physical action, verify that your specific control stack actually enforces the veto, don't assume it does without checking, see the case studies page for a documented example of exactly this gap.
FAQ
What people ask before their first integration.
Does this require access to my model weights?
No. The SDK is black-box by design, it reads outputs only (embedding, confidence, prediction). This is deliberate: it means the trust layer works even for models you can't or won't expose internals of, and it can't itself become a vector for extracting your model.
What if my model doesn't output an embedding?
Most models already compute one internally (the penultimate layer, or a pooled feature map) even if it is not normally exposed, exposing it is usually a one-line change. A missing field is simply derived, so the monitor still works; more fields supplied means better-calibrated results.
Can it run fully offline, with no fleet connection?
Yes. The local on-premises mode runs the full SDK and dashboard on a workstation, a Desktop or a Jetson, fully offline, with every threshold under your control. Only the fleet-wide trust anchor and cross-unit learning need connectivity, and those degrade gracefully.
Does my data leave my site?
Not unless you choose it. In remote hybrid mode your model keeps running on your hardware and sends outputs or telemetry only, over an encrypted link. Raw frames are not sent to the server.
What language is the SDK written in?
Python natively. Any other language reaches the same SDK server over plain HTTP, and a C/C++ reference client header is included for devices where Python is not an option.
What's the actual performance cost?
The trust layer is about 154x smaller in parameter count than a ResNet-18 backbone. Measured end to end on an NVIDIA Jetson Orin NX beside a real perception model, the monitor took 1.2 to 1.5 ms per frame against 89 to 113 ms for the model itself, about 1.4%. On a Desktop CPU it took 0.4 to 0.6 ms. The cheapest check, the weight hash, runs every frame; the costlier checks back off while reliability stays high. Inputs in those runs were replayed dataset frames. Details are on the technology page.
Do I need labeled anomaly data to get started?
No anomaly labels are needed to fit the monitor. It can be bootstrapped from unlabeled data that you presume normal. Estimating ongoing accuracy still needs one real labeled calibration window, and a structurally different model is only fully calibrated after a fine-tuning pass on its own labeled data.
Stuck on an integration, or running something unusual?
AuxAI was built to be model- and language-agnostic from day one. If your setup doesn't fit the patterns above, that's a conversation, not a dead end.