When an AI control plane sits in the request path, its outage is a decision about your agents: stop them or let them run unchecked. Praesidia's model gateway stops them. This page states what the gateway, the SDKs and the MCP server do, from their READMEs and source as read on 2026-11-24, and what to plan for. They behave differently. It is not a live outage test.
What the gateway does
The gateway enforces three checks before it forwards a request to a model provider, in order:
- Authentication. The key is checked against the control plane on a cache miss.
- Organization freeze. A frozen organization gets 423.
- Budget reservation. For configured provider routes or a quota policy, the gateway asks the control plane to reserve budget.
If the control plane is unreachable, or answers with an unexpected error, the call is refused:
| Situation | Response |
|---|---|
| Control plane unreachable at authentication, or an unexpected non-success answer | 503 control_plane_unavailable |
| Control plane unreachable at budget reservation | 503 control_plane_unavailable |
| Reservation answers fail-closed, or answers without a reservation, or cannot be decoded | 503 budget_unavailable |
| Policy refresh after the cached policy expires is unreachable | Refused with 503 |
| Metered traffic with reservation disabled | 503 metering_unavailable |
A control-plane request that takes longer than the timeout counts as a transport failure and is handled the same way. The default timeout is 5000 ms; operators can set it between 100 and 60000 ms. Every refusal happens before the call reaches the model provider.
No fail-open setting
The gateway's fail mode setting accepts only closed. A value that asks for the gateway to open when the control plane is down makes the boot fail, because every provider call needs a durable lease from the control plane, so an open mode could not forward during an outage and in a partial outage could only let calls through unmetered. A gateway missing required enforcement settings refuses to start.
What keeps working, and for how long
The gateway caches the authorized policy bundle per key for the time to live the bundle carries. Within that time, a cache hit makes no authorization call, so a request can pass the authentication step during a short outage. The budget reservation step still needs the control plane for the routes it applies to. When the cached policy expires and cannot be refreshed, requests fail closed. Treat the cache as a short grace on one step, not as an outage mode.
A provider outage is separate: if your model provider is unreachable, that call fails with an error and the rest of the service keeps working.
The SDKs do not fail closed by default
The TypeScript and Python SDKs default to failure_mode local_rules: when the control plane is unreachable they serve bundled local rules and log a warning. Strict mode defaults to off, failOpen overrides strict, and the time an SDK may stay degraded (maxDegradedMs) is unbounded by default. Fail-closed behaviour has to be set explicitly with strict or failure_mode fail_closed. Interaction hooks (tool call, exec, file read and write, browser) default to closed. The output check fails open by convention unless strict mode or throwOnBlock is set. The SDK packages are not yet published, so read this as the behaviour of the source, not of a package you can install today.
The MCP server has no local fallback
The MCP server has no local rules to fall back on. When the backend is down it answers 503 or 502, so a tool call through it fails rather than passing unchecked.
What this page does not establish
- Anything not routed through Praesidia. Calls that do not pass through it are neither controlled nor recorded.
- Measured availability. This page states design behaviour from source, not a live outage test. It makes no uptime claim; there is no published service level agreement.
- One stack-wide behaviour. Do not describe Praesidia as failing closed everywhere. The gateway does, the MCP server refuses, and the SDKs depend on how you configure them.
What to plan for
- Set SDK
strictorfailure_modefail_closedexplicitly where a stop is the right outage behaviour, and boundmaxDegradedMs. - Decide whether stopping is the right outage behaviour for each agent. For agents that move money or touch customer data it usually is.
- For agents where a stop would cause harm, decide in advance what the fallback is, outside Praesidia, and who approves it.
- Alert on 503
control_plane_unavailableandbudget_unavailableas separate signals. - Retry with backoff. These refusals are retryable once the control plane answers.
- Rehearse an outage in a test organization and write down what your agents did.
Common questions
Does Praesidia ever let calls through when it is down?
Not through the model gateway, which has no fail-open setting, and not through the MCP server, which returns an error. The SDKs can: their default is bundled local rules with a warning, unless you set strict or fail_closed.
How long until the gateway gives up on the control plane?
The default per-request timeout is 5 seconds, and operators can change it within the range above.
Will a short outage block agents that were just working?
Possibly not for the authentication step, because of the cached policy, but the budget reservation and any policy refresh still need the control plane.
Further reading
- High availability for an AI control plane: which parts must fail closed and which can degrade.
- Human-in-the-loop approvals for high-risk agent actions: timeouts that default to denial.
- Disaster recovery for AI control planes.