Skip to main content

The correct version of failover — protocol-level contract validation with automatic failover for LLM APIs

Project description

Correctover SDK

The correct version of failover.

Because failover switches. Correctover verifies.

What It Does

Correctover is an embedded reliability runtime for LLM APIs. It provides:

  • Contract Validation — Verify responses match expected schema, not just HTTP 200
  • Automatic Failover — Switch providers when contracts are violated
  • Drift Detection — Catch silent model substitutions and schema drift
  • 6-Dimension Verification — Structure, schema, latency, cost, identity, integrity

Quick Start

pip install correctover
from correctover import Correctover

# Drop-in replacement for openai.OpenAI
client = Correctover(api_key="sk-xxx")
response = client.chat.completions.create(
    model="gpt-4o",
    messages=[{"role": "user", "content": "Hello!"}],
)

Why Correctover, Not Just Failover?

Failover Correctover
Switches provider?
Validates the response?
Detects silent model swap?
Catches schema drift?
Prevents cost overruns?

Failover switches. Correctover verifies.

Performance

Metric Value
Contract validation overhead 22μs P50
Fault diagnosis rules 87+
Package size <500KB
External dependencies 1 (httpx)
Data accessed None (runs locally)

License

Apache-2.0 WITH commercial-restriction.

Free for development and non-commercial use. Commercial license required for production deployments.

© 2026 Guigui Wang. All rights reserved.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

correctover-1.0.1.tar.gz (82.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

correctover-1.0.1-py3-none-any.whl (192.6 kB view details)

Uploaded Python 3

File details

Details for the file correctover-1.0.1.tar.gz.

File metadata

  • Download URL: correctover-1.0.1.tar.gz
  • Upload date:
  • Size: 82.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for correctover-1.0.1.tar.gz
Algorithm Hash digest
SHA256 2de73b4472a45019b0ad31cd14c741ccc5f5ffe5b34b2beadcad53f0094e087c
MD5 ec453ebdb864801f95a7f5f26c3f3440
BLAKE2b-256 646ad52d9b529bc8a2499bfa8375ad2293215c64a31afe656676c960a3efda2d

See more details on using hashes here.

File details

Details for the file correctover-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: correctover-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 192.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for correctover-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fb792b26286919d6e236237c863bf42f120c1c93d658a0ecde09ea60dfbec6ed
MD5 70e8822aba048db8a7aa69aaf4d9c1f1
BLAKE2b-256 bd83c5416fa03856579de43d97ae56ffef0a28278f79fe10feb58638e6a3cf45

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page