Docs/Start/Quickstart
CLIENT 0.5.0PYTHON 3.8+ CUSTOMER PATH VERIFIED

Quickstart

Install client 0.5.0 and complete a maintained hosted session without changing the loop shape.

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.5.0 bundle from trueloopcompute.com/download and install the bundled wheel. It is a dependency-free, pure-Python HTTP client containing transport and validation only. Existing 0.4.3 clients and every active key remain valid on the frozen legacy path.

Use the same five-line loop in every supported domain. Client 0.5.0 opts into the maintenance contract by default. Replace measure() with one complete vector response from your device or simulator; inspect opt.state during the run and keep the signed record returned by end().

PYTHON
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)
proof = opt.end()
Before the first production session

Run the exactly budgeted preflight, then inspect fit, boundary, or decline before closing the loop.

See Start: Preflight

Run a complete regulation session

Install with python -m pip install ./swc_runtime/dist/swc_runtime-0.5.0-py3-none-any.whl and provide your existing evaluation or paid key as key. The hosted maintenance layer returns the next configuration and contract report 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.

PYTHON
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)
proof = opt.end()

What a successful run proves

Successful installation, import, authentication, session creation, three or more hosted updates, and a verified Ed25519 record prove the customer path is connected. Convergence quality still belongs to your plant and should be measured in a fair pilot.

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.

Need the answer on your plant?

Run preflight, inspect the evidence scope, then compare the active default and your incumbent under one measured budget.

Start evaluation