Skip to main content
The zero-dependency Python SDK uses the authenticated control-plane API. It does not connect to PostgreSQL, invoke infrastructure providers, or implement deployment lifecycle logic in the client.

Install the public beta

Use the SDK version from the same InferCrane release as the control plane.

Submit durable work

A wait timeout raises OperationTimeout and includes the operation ID. It does not call the cancel endpoint. A later process can resume with client.wait(operation_id).
The stream parser yields each SSE JSON event once and requires [DONE]. Closing the iterator closes the HTTP response; it never replays a partially transmitted inference request.

Evaluate inference evidence

The async client exposes the same SLO and recommendation methods. Recommendations are persisted, advisory decisions; these calls never create or resize provider resources.

Errors

The generated low-level client is available as client.api. Generated files carry a do-not-edit header and are checked against openapi.json during qualification.