
One of the most interesting presentations at the Gartner Cybersecurity & Risk Management Summit in London was Leigh McMullen’s talk titled „What Is Your Plan B for AI Failure?”. Although we have quite a few projects in Poland at the level of agent collaboration, in my opinion, there are still no projects being developed to address specific risks related to vendor lock-in, the replacement of an AI model due to price changes, or issues with its quality.
Leigh McMullen argues that AI must be designed as a business function subject to the same requirements for business continuity, supplier management, and cybersecurity as other critical IT services.
Our CTO shares this view as well – Piotr Olszewski. The cause of a failure may be not only API unavailability, but also a ban on using the model, a change in the provider's policy, delays, token costs, a change in response semantics, or agent malfunction.
Architecture based on a single model creates a single point of failure. The author ultimately proposes the use of „ensemble models” selected by the router, as well as the protection of input data and execution systems through deterministic controls—a feature that is also available in our solution. Proxy AI.
A practical starting point is a single process, preferably DevSecOps/CI/CD. Two models capable of performing similar tasks, a neutral gateway, a minimal set of evaluation and canary tests, and a documented failover.
Why Could AI Lead to a Critical Failure?
Geopolitical Risk and Sovereignty
Everyone remembers the swift action taken to administratively suspend access to the models named „Fable 5” and „Mythos 5” for international users—as an example of a sudden cutoff of access, rather than an independently verified description of the applicable administrative decision. Consequently, a contract and the high quality of a model do not guarantee that it will remain available in a given jurisdiction.
Systemic Risk and Supplier Maturity
Later on, McMullen contrasts the infrastructure expertise of large cloud providers with the focus of some companies developing frontier models on model development—and not necessarily on hyperscaler-class operations. He highlights the future shift of many application functions—including complex business exceptions—to agents. The more an operational process depends on a model, the greater the impact of a failure or a change in AI behavior. In our experience, we’ve seen that models change and older publicly available ones disappear, which affects the operation of business processes that are already up and running.
Economic Risk
Vendor lock-in, the unpredictability of token consumption, and the temptation to prolong interactions with models despite diminishing returns—all of these factors generate costs. Additionally, sometimes working with an LLM without any metrics is more expensive than doing the work the traditional way. One example is spending many hours on graphics work that could be completed in just a few minutes using conventional methods.
Target architecture: „ensemble models”
In one of her slides, Leigh McMullen illustrates the following flow: user → AI gateway / prompt proxy → AI router → set of expert or regional models → action and data access services. The diagram separates the „Identity & Access Management,” „Data Loss Prevention,” and „Intent Analysis” services upstream of the router from the „API Gateways,” „Data Access Controls,” and „Policy Controls” behind the model. This is a conceptual architecture, not a reference design for a specific product.
Element | Function | Design Implication |
Prompt proxy / AI gateway | User identification, access control, intent analysis | Do not allow uncontrolled access to the raw prompt; enforce policies |
AI router | Selecting a model and environment based on the task, requirements, and cost | Keep routing separate from the business logic; maintain the ability to switch providers |
Models / Services | Models for design, coding, and reasoning; regional variants | At least one primary and one backup model for critical capacity |
Action Layer | API gateways, data validation | Do not allow the model to freely perform operations on production systems |
The key rationale behind team-based models is selecting the best one for a given task, enforcing abstraction, routing through a gateway, reducing token costs, and limiting the blast radius. It is worth noting here that using a local Llama model with approximately 2.8 billion parameters as a router in experiments is neither a universal recommendation for capacity nor a guarantee of quality.
A particularly important principle is the probabilistic nature of the model, which must be „encapsulated” within deterministic controls both before the model sees the data and before its response triggers a change in the system.
Specific Configuration Patterns
The settings below are a practical application of the principles discussed in the lecture to architectural requirements; they are not commands or the names of options in a specific software program.
Area | Scope to be defined | Expected result |
Admission Policy | Identity, data classification, editing, intended use of the model | Rejecting or Masking Unauthorized Data from an External API |
Routing Rule | Purpose, jurisdiction, accessibility, quality, cost | A/B model selected; no compatible models → controlled rejection |
Rule for Initiating an Action | Permissions, policies, limits | The model proposes, and the deterministic layer validates |
Failover Condition | Exceeding the adopted SLO, unavailability, change in regulatory status | Model Change Recorded |
Audit trail | Prompt version, model, routing, control decision, test results | Reproducibility of Decisions |
The Five Domains of „Plan B”
Resilience Architecture – Model-Agnostic
The main principle is „No single model dependency,” a mandatory abstraction layer, failover playbooks, and a dependency map. In addition: multicloud, multimodel, containerized abstraction layers, modular response automation, and multi-agent observability.
Build agents in a stateless service with a single responsibility, analogous to REST microservices,
The dependency map is intended to identify not only the supplier, but also the systems, processes, and artifacts that depend on it.
Incident Response / Disaster Recovery / Business Continuity Plan
IR and BCP (Business Continuity Plan) plans should account for model unavailability and latency spikes
and scenarios requiring a switchover. It is recommended to develop measurable triggers linked to
with business tolerance—for example, if the procurement process can be unavailable for up to three days, the corresponding AI component may have a significantly shorter failover threshold, such as one hour, as a way to cascade requirements, rather than an arbitrary, recommended SLO.
Proof of readiness is a live model isolation test, in which you must perform an actual attempt to isolate the model, switch the route, retest the quality, and return to the base mode. You can even start with two instances of the same model, but resilience against the loss of an entire provider requires an independent alternative.
Vendor & Regulatory – Exit Strategy
It is important to review the contract, verify the right to switch models or terminate the service, map compliance, identify diversification criteria, and assess exit readiness. Added to this are data residency requirements, jurisdictional requirements, geofencing, and the archiving of prompts, projects, solution contexts, and AI-generated artifacts. The goal is to be able to rebuild the service using a different model, rather than simply exporting data from the provider’s dashboard.
Data Protection – Data Protection Throughout the Entire Data Flow
Data classification is always essential, and policies may require granularity down to a specific data type, object, or entity. This applies to both the data fed into the model and the operations performed by the model on record systems. An example is personal and medical data in insurance applications; anonymized or synthetic datasets can be used for development instead of real data.
Testing & Monitoring – Checking Whether AI Actually Works
Four practices are used here: a common telemetry standard, synthetic canaries, chaos testing, and red teaming. The author proposes a model of small agents that communicate via an event broker or publish-subscribe mechanism, as this separation can limit the transmission of unwanted instructions between agents, but does not replace the verification of permissions and message content.
DevSecOps as the first experimental environment
A recurring recommendation: Start with the software development process, in which the inputs
and the outputs are relatively measurable. More powerful models can be used for design, while lighter ones can be used to generate less complex code. Each capability type requires primary and secondary models, comparable evaluation sets, and escalation thresholds.
Metrics and Alerts: What Should You Measure?
The presentation identifies the following observability categories: API availability and errors, latency, token costs, and budget limits, as well as task effectiveness based on eval sets, canary correctness, and the model used
and version, processing region, use of editorial policies, attempts to perform unauthorized actions, frequency
and failover effectiveness. The organization must set these numerical thresholds itself based on acceptable risk, legal requirements, and the criticality of the process.
A 90-day action plan and Gartner's two options:
1) „Go Big” – an architecture program
⬩ Catalog AI capabilities; assign primary and backup models to each capability and region
⬩ Deploy a model-agnostic gateway for one critical use case: routing, editing, safety filters, and cost control
⬩ Build baseline evaluation sets and canary tests for each capability; establish escalation thresholds and budgets
⬩ Expand the IR/BCP to include model-switching playbooks and perform at least one chaos engineering test for the set of models.
2) „Mortals” – a minimal version, implemented in phases
⬩ Approve funding for a model-agnostic gateway and integration with two vendors for a single critical use case
⬩ Add an AI failure to the IR/BCP, conduct a tabletop exercise and a live technical failover test
⬩ Expand the model contract templates to include model substitution, data residency, and regulatory changes
⬩ Implement prompt/data editing and geofenced logging for external model calls
⬩ Define AI SLOs and quality gates, and begin canary monitoring using the baseline evaluation set.
List of Questions for the CISO/CIO
Finally, here is a list of questions worth asking yourself when working on projects of this type:
- Which processes will stop working if a single model or supplier is taken offline tomorrow?
- Will the application switch to the backup model without changing the business logic?
- How do we measure the quality and consistency of responses after a switchover?
- Do we know what data, prompts, logs, and results were sent to each region?
- Can models directly modify production facilities/systems?
- Do we have canary tests that will reveal when actual work isn't being done?
- Can we recreate an agent from saved prompts, a project, context, and artifacts?
- Do the contracts include provisions regarding migration, termination, and model changes?
Do you have any questions? Contact the author: Marcin Górski


