CLI Reference

The Quantlix CLI is the command-line interface to the AI Runtime Control Plane. Deploy with enforcement, validate contracts, run inference through the execution boundary, and audit outcomes.

Enforcement is strict by default.

For the full story—policy, retrieval, model output, evals, and traces—see the governed request walkthrough on the examples page.

pip install quantlixInstall

Key concepts

CPU vs GPU

By default, models run on CPU. Add --gpu or -g to deploy with GPU.

# CPU (default)

quantlix deploy my-llama-7b

# GPU

quantlix deploy my-llama-7b --gpu

Contract config (--config)

Pass pipeline_lock with schema, features, and policies. Default mode is enforce.

# Deploy with contract (schema + policies)

quantlix deploy my-model -c '{"pipeline_lock": {"contract_version": "1.0", "mode": "enforce", "schema": {...}, "features": {"type": "text"}}}'

Most commands require an API key. Set QUANTLIX_API_KEY or use --api-key. For a custom API URL, use --url or QUANTLIX_API_URL.

Command reference

Authentication

quantlix signup

Create a new account. A verification email will be sent — click the link to get your API key.

Options

--email, -e · --password, -p · --url

quantlix verify <token>

Verify email and get API key. Use the token from the verification link.

Options

--url

quantlix resend-verification

Resend verification email.

Options

--email, -e · --url

quantlix login

Log in. Returns API key — set QUANTLIX_API_KEY in your environment.

Options

--email, -e · --password, -p · --url · --verbose, -v

quantlix forgot-password

Request password reset. Check your inbox for the reset link.

Options

--email, -e · --url

quantlix reset-password <token>

Reset password using token from the email link.

Options

--password, -p · --url

API keys

quantlix api-keys

List API keys for your account.

Options

--api-key, -k · --url

quantlix create-api-key

Create a new API key. The key is shown only once — save it.

Options

--name, -n · --api-key, -k · --url

quantlix revoke-api-key <key_id>

Revoke an API key. It will stop working immediately.

Options

--api-key, -k · --url

quantlix rotate-api-key

Create a new API key and revoke the current one. Update QUANTLIX_API_KEY with the new key.

Options

--api-key, -k · --url

Deployment & contracts

quantlix deploy <model_id>

Deploy a model with optional contract config (schema, features, policies). Use --config for pipeline_lock JSON.

Options

--config, -c · --gpu, -g · --update · --api-key, -k · --url

quantlix deployments

List deployments with revision counts.

Options

--limit, -n · --api-key, -k · --url

quantlix revisions <deployment_id>

List revisions for a deployment. Use quantlix rollback to restore a previous revision.

Options

--api-key, -k · --url

quantlix rollback <deployment_id> <revision>

Rollback deployment to a previous revision.

Options

--api-key, -k · --url

Runtime enforcement

quantlix run <deployment_id>

Run inference. Input is enforced against the deployment contract before execution. Blocked if non-compliant.

Options

--input, -i · --api-key, -k · --url

quantlix contract validate <deployment_id>

Validate input against deployment contract without enqueueing (dry-run). No execution.

Options

--input, -i · --api-key, -k · --url

quantlix policy list <deployment_id>

Show policies and schema for a deployment (mode, input_schema, top violation codes).

Options

--api-key, -k · --url

Audit & observability

quantlix status <resource_id>

Get status of a deployment or job.

Options

--api-key, -k · --url

quantlix audit <deployment_id>

Enforcement audit: compliant/blocked/warned counts and top violation codes.

Options

--limit, -n · --api-key, -k · --url

quantlix usage

Get usage stats (tokens, compute seconds, job count). Optionally filter by date range.

Options

--start, -s · --end, -e · --api-key, -k · --url

Enforcement is strict by default. No request executes without passing validation.