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 from the repository

Install the SDK from the same checked-out InferCrane tag as your control plane until a matching published Python distribution is listed in the release notes.

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.