Quickstart
Install, authenticate, and complete a real hosted session.
Get a free 90-day evaluation key, then put it in an environment variable so it never lands in source control. The evaluation is free and needs no card.
Download the reviewed client 0.4.3 bundle from trueloopcompute.com/download and install the bundled wheel. It is a dependency-free, pure-Python HTTP client containing transport and validation only. Runtime execution stays on the hosted endpoint.
Use the same five-line loop in every supported domain. Replace measure() with one complete vector response from your device or simulator and keep configuration, response, and target in the same order.
opt = SWCOptimizer(key, n=len(x0), mode="regulation", target=target)
x = opt.start(x0)
for _ in range(rounds):
x = opt.step(measure(x), target=target)
opt.end()Confirm vector order, reachable targets, readout quality, timing, bounds, and the tested coupling envelope.
See Build: Integration preflightRun a complete regulation session
Install with python -m pip install ./swc_runtime/dist/swc_runtime-0.4.3-py3-none-any.whl and provide your evaluation key as key. The hosted runtime returns the next configuration from the current response vector.
To minimize a least-squares objective, set target to the desired response and regulate the measured response error to zero.
opt = SWCOptimizer(key, n=len(x0), mode="regulation", target=target)
x = opt.start(x0)
for _ in range(rounds):
x = opt.step(measure(x), target=target)
opt.end()What a successful run proves
Successful installation, import, authentication, session creation, three or more hosted updates, and clean session closure prove the customer path is connected. Convergence quality still belongs to your plant and should be measured in a fair pilot race.
During hosted evaluation, only the configuration and decoded measurement statistic need to cross the endpoint. Raw instrument data can stay in your environment. Production can move the same integration on-premises or offline.
Run the envelope, then race the runtime and your incumbent under the same measured budget.