How does Manifest Autofix handle failed LLM API requests?
Updated
Manifest Autofix intercepts a failed LLM API request and repairs it before the error is returned to your application. According to Manifest, its agent "repairs the request before it ever comes back to yours," and the feature is available either through the Manifest LLM Gateway or as a standalone tool. It is aimed at the roughly 5% of LLM API calls that Manifest says fail in production, most of which it describes as avoidable. This applies if you call LLM APIs directly or through an agent framework and want fewer hard failures without rewriting your request logic.
Why LLM API calls fail in production
Manifest cites Datadog's State of AI Engineering for the 5% failure figure and frames most of those errors as avoidable. In practice, that category covers problems in the request itself rather than the model's answer: a malformed or missing parameter, a model name the provider no longer accepts, a payload that doesn't match the provider's schema, or a request that a provider rejects on validation. These are the failures Autofix targets.
The rest are harder to repair at the request level — a provider outage, rate limiting, or a network fault. Manifest handles provider downtime separately through model fallbacks (see below).
How the repair works
The mechanism is a repair step in the request path:
- Input: your application sends an LLM request through the Manifest gateway (or to the standalone Autofix tool).
- Action: if the upstream provider rejects the request, Manifest's agent inspects the failure and repairs the request — correcting the broken part — before the error propagates back.
- Expected result: your agent receives a working response instead of an exception, so the workflow continues rather than failing.
The key design point is placement: the fix happens upstream of your code, so your application never sees the intermediate error. Manifest reports "thousands of errors patched" and markets the feature as "zero downtime," and it sends email notifications so you know repairs are happening.
What Manifest does not document on this page is which specific error classes Autofix can and cannot repair, or how it decides a request is repairable. Treat "most errors are avoidable" as the vendor's characterization, not a guarantee that every failure will be fixed.
Gateway or standalone
| Through the LLM Gateway | Standalone | |
|---|---|---|
| Where it runs | Inside Manifest's routing layer | As its own tool |
| Pairs with | Routing, fallbacks, logging, cost tracking | Your existing call path |
| Best if | You want one endpoint for all providers | You already have routing and only need repair |
If you are starting fresh, the gateway route gives you Autofix alongside the other safeguards in one place. If you have an established request pipeline, the standalone option lets you add repair without moving your routing.
Related safeguards to pair with Autofix
Autofix covers bad requests, but reliability also depends on what happens when a provider is unavailable:
- Model fallbacks: automatically retry on another provider when one goes down. This addresses outages and provider-side failures that a request repair can't fix.
- Full body logs: inspect the complete request and response body for every call, which is how you find out what Autofix corrected and what still fails.
- Email notifications: alerts when errors are patched, so silent repairs don't hide a recurring upstream problem.
- Self-hosting: run the whole LLM router on your own infrastructure or machine; Manifest describes this as free and open source.
What to check before relying on it
- Confirm your failure mix. If most of your errors are timeouts or rate limits rather than malformed requests, fallbacks and retry policy matter more than Autofix.
- Test with your real payloads. Send the requests that currently fail in production and verify they come back repaired, since the page doesn't enumerate supported error types.
- Keep logs on. Full body logs are the practical way to audit what was changed before your agent saw the response.
- Check pricing for your deployment. Manifest has a pricing page and an enterprise contact path; the source material does not state what is free beyond the self-hosted router, so confirm costs for your setup rather than assuming.