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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file correctover-1.0.0-py3-none-any.whl.
File metadata
- Download URL: correctover-1.0.0-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d918e7a1fa3be899e3626bfdfa2c81fa33980578eaca8944f7dd974a11360f72
|
|
| MD5 |
6581b131679b3436886517f178b9e8b2
|
|
| BLAKE2b-256 |
30540671f6a23029d7d477c0091ac8b1b31407adc37c9712b7c4d2790bf79431
|