Open Source · pip install correctover

Correctover

Because failover switches. Correctover verifies.

Failover
Switches on any response
?Contract validated?
?Silent errors caught?
Self-heals autonomically
Correctover
Verifies before switching
6-dimension contract check
87 self-healing rules
MAPE-K autonomic loop
⚡ Get Started View on PyPI →
949ms
L3 Failover E2E
87
Self-Healing Rules
22μs
CANON Validation P50

Three things. Nothing more.

🛡️

Never Down

Circuit breaker + health scoring + L3 failover in <1s. Your LLM calls don't fail — they self-heal.

💰

Never Overcharged

BYOK direct connect — zero markup, zero token resale. 6-dimension contract validation catches silent overcharges.

👁️

Never Blind

MAPE-K loop decides in 50–100μs. Drift detection + contract verification = every silent failure is visible.

How it works

1

Detect

Health scoring + drift detection spots anomalies in real-time

2

Verify

6-dimension contract validation: schema, latency, cost, format, semantic, compliance

3

Heal

87 self-healing rules auto-remediate — retry, re-route, re-prompt, or escalate

4

Guarantee

Loop closes: result verified, contract met, SLA maintained

5 lines to reliability

# Install pip install correctover # Initialize from correctover import CorrectoverEngine engine = CorrectoverEngine( providers=["openai", "deepseek", "anthropic"], failover_level="L3", contract_validation=True ) # Every call is now verified result = engine.run("Translate to French: Hello") # ✓ Provider responded ✓ Contract validated ✓ Correctover verified
pip install correctover

Correctover vs Traditional Failover

CapabilityFailoverCorrectover
Switches provider on error✓ Yes✓ Yes
Validates response contract✗ No✓ Yes
Detects silent model swap✗ No✓ Yes
Catches schema drift✗ No✓ Yes
Prevents cost overruns✗ No✓ Yes
Self-heals autonomically✗ No✓ Yes
Runs embedded (no gateway)✗ No✓ Yes
BYOK zero markup✗ No✓ Yes

Frequently Asked Questions

What is Correctover?

Correctover is an embedded LLM API reliability runtime that validates response contracts before accepting them. Unlike traditional failover that only checks if a provider responded, Correctover verifies 6 dimensions: structure, schema, latency, cost, identity, and integrity. It runs in-process as a Python or JavaScript SDK with zero external dependencies.

How is Correctover different from failover?

Failover switches providers when one fails. Correctover verifies that the response is contractually correct before accepting it. Failover checks "did Provider B respond?" while Correctover checks "is the response correct?" — catching silent model substitution, schema drift, cost overruns, and semantic quality degradation that failover cannot detect.

How fast is Correctover's contract validation?

The 6-dimension CANON validation engine runs in 22μs P50 (99μs P99). The MAPE-K self-healing loop operates in 50-100μs per decision cycle. L3 failover completes in 949ms E2E including full contract validation on the new provider's response. The overhead is less than 0.01% of a typical LLM API call.

Is Correctover open source?

Correctover is Apache-2.0 licensed with a commercial restriction. It is free for development and non-commercial use. A commercial license is required for production deployments. The core validation engine is distributed as compiled bytecode for performance.

How do I install Correctover?

Install via pip: pip install correctover. Or via npm: npm install correctover. The Python package requires Python 3.8+ and has one dependency (httpx).

Does Correctover work as a gateway or proxy?

No. Correctover is an embedded SDK that runs inside your application process. It is not a gateway, proxy, or SaaS. This means zero network overhead, zero external dependencies, zero data leakage (BYOK direct connect), and zero markup on token costs.

What is the MAPE-K autonomic loop in Correctover?

MAPE-K stands for Monitor, Analyze, Plan, Execute, Knowledge. Correctover monitors LLM API responses in real-time, analyzes failures using 87 classification rules, plans remediation strategies (L1 retry, L2 semantic downgrade, L3 failover, L4 flywheel learning), executes the plan automatically, and accumulates knowledge for future incidents.

What are the 6 dimensions of contract validation?

Correctover validates 6 dimensions on every LLM response: Structure (response format matches expected schema), Schema (required fields present and correctly typed), Latency (response time within SLA bounds), Cost (token usage matches expected range), Identity (model field matches what was requested, detecting silent substitution), and Integrity (output meets semantic quality threshold).

📚 Resources

Failover vs Verified Failover
Why switching providers is not enough — you need to verify the output.
LLM Gateway Comparison
How Correctover compares to LiteLLM, Portkey, and other gateways.
What is Verified Failover?
Deep dive into protocol-level contract validation with automatic failover.
Enterprise AI Reliability 2026
2026年企业AI可靠性痛点:大模型漂移如何根治(中文)
API Gateway Self-Healing Architecture
API网关自愈架构解析:6维合约验证+验证级故障切换(中文)
NeuralBridge → Correctover
品牌升级:从NB到Correctover可瑞沃的完整演进(中文)
品牌升级专题页
NB升级至Correctover可瑞沃:客户FAQ、能力对照、快速开始
1.305109(s) elapsed 1.733556(s) elapsed