An Evolutionary Architecture Pattern for Managing AI's Pace of Change
Joe Price, Branimir Δurek, Pavlos Migkiros, Trevor Dearham Β· article Β· 2026-07-27 source β Reader π₯οΈ
Agent Governance (Internal)Agent SecurityAgent-to-Agent ProtocolsEnterprise AI Adoption & ReadinessEvolutionary Architecture & Fitness FunctionsMCP (Model Context Protocol)Model RoutingPolicy-as-Code
Because AI capabilities, protocols, and threats now change faster than enterprise systems can safely absorb β a gap the authors treat as permanent rather than a phase to wait out β organizations should deliberately concentrate the fastest-moving AI concerns (model routing, identity, action policy, segmentation, content guarding, and audit) into one architectural seam, the AI gateway, so the rest of the enterprise can remain stable, and should build that seam proactively rather than at the higher cost of building it after an incident forces the issue.
practical Β· mixed β Practical architecture guidance (a pattern to adopt, its trade-offs, and a maturity model), but it borrows theoretical vocabulary from evolutionary architecture (fitness functions, architectural quanta) as the justificatory framework, and mixes expository (explaining the pattern), argumentative (why traditional gateways are insufficient), and narrative (the four-stage adoption story) modes.
Structure
| Part | Role |
|---|---|
| Introduction | context |
| The evolution mismatch | evidence |
| Why this is not just an API gateway problem | argument |
| The pattern: guardrails as the evolutionary seam (routing, identity, action policy, segmentation, content guarding) | conclusion / solution |
| Observability and audit | evidence |
| Enforcement in practice (policy-as-config, Figure 6 example) | evidence |
| Trade-offs and when the pattern does not fit | counter-consideration |
| An evolution story (Stages 1β4) | evidence / narrative |
| Open questions, and what comes next | conclusion |
Key terms
- AI gateway Model Routing
A single control plane β an architectural seam β that concentrates the fastest-changing concerns of agentic AI systems (model routing, agent identity, action policy, segmentation, content guarding, and audit) so the rest of the enterprise architecture can stay stable while that layer evolves at its own pace. - Action policy
Zero-trust, per-action authorization: every agent action is checked against policy every time it is attempted, enforcing least privilege per operation, as distinct from validating a request once at the perimeter. - Semantic logging
A logging discipline structured as Request β Decision β Action, capturing why an agent acted (its reasoning/decision), not merely that a call occurred. - Policy-as-config
The pattern of declaring guardrail, segmentation, and routing rules as version-controlled configuration (illustrated with a YAML example) that is reviewed in a pull request and deployed independently of the applications behind the gateway, splitting ownership between a security team (policies) and a platform team (the gateway). - Segmentation
Restricting what an agent may reach β which other agents, tools, and whether the internet at all β independent of who the agent is or what actions it is permitted to take, so a compromised agent cannot pivot to other systems. - Stage 1β4 adoption model
The authors' own four-stage taxonomy of enterprise AI-gateway maturity: single team/single provider; adoption spreads across teams with divergent choices; a forcing-function incident; consolidation onto a shared gateway layer β explicitly described as 'a model, not a sequence' that organizations can skip stages within.
Propositions
- explicitAI capabilities change faster than enterprise systems can safely absorb, and this gap is permanent rather than a temporary phase that will resolve as the technology matures.conf: high
- explicitdevelopedTraditional API gateways assume deterministic services, schema-level failure modes, and fully client-specified intent β assumptions agentic AI systems violate, which is why existing gateways are no longer sufficient on their own for agentic traffic.conf: highrefines βPresentation: APIs for Agents: Rethinking API Programs in the MCP Era Β· p4 β The source article argues traditional API gateways don't fit agentic assumptions and motivates a dedicated AI gateway; this talk draws a finer boundary β protocol-orchestration concerns belong in a gateway/control-plane, but authorization/business-rule controls belong in the underlying API itself so they aren't re-implemented per adapter.
- explicitConcentrating the fastest-changing AI concerns β model routing, identity/authorization, action policy, segmentation, content guarding, and audit β into a single gateway control plane lets the rest of the enterprise architecture remain stable while that layer evolves at its own pace.conf: highextendsAAIF's MCP Dev Summit: Gateways, gRPC, and Observability Signal Protocol Hardening Β· p1 β Generalizes the MCP-specific claim that 'the gateway + registry pattern is the dominant architectural consensus for deploying MCP at enterprise scale' into a broader evolutionary-architecture rationale covering all agent traffic types (sync-service-to-LLM, agent-to-LLM, agent-to-MCP, agent-to-agent), not just MCP deployments.
- explicitA gateway isolates model-provider churn from the rest of the application, enabling model swaps, cost optimization, and provider failover without changing application code.conf: highextendsAI models can disappear overnight. Is your engineering team built to survive it? Β· p6 β The earlier document recommends a model-agnostic 'harness' (tools, prompts, routing designed independently of the model) inside the application; this article relocates the same model-abstraction goal to a network-level gateway control plane, offering a complementary but architecturally distinct locus for the same swap-without-rebuilding goal.
- explicitA token issued before a prompt-injection hijack still validates, so per-action policy checks cannot stop the hijack itself, but they can stop the resulting hijacked action from being authorized.conf: high
- explicitCentralizing content guarding at the gateway is security-critical rather than merely efficient, because evasion techniques evolve constantly and dispersing checks across applications slows the reaction time needed to keep pace with attackers.conf: mediumrefinesAgents don't know what good looks like. And that's exactly the problem. Β· p5 β That corroborated claim ('deterministic guardrails around nondeterministic agents are not optional but imperative') is given a concrete architectural mechanism here: centralizing content guarding at a gateway specifically because evasion techniques evolve continuously and dispersed checks react too slowly.
- explicitPlain logs record that a call happened but cannot explain why a non-deterministic agent acted, so agentic systems require semantic logging (Request β Decision β Action) rather than conventional logging.conf: high
- explicitdevelopedThe emerging industry pattern is 'policy-as-config': guardrail, segmentation, and routing rules declared as version-controlled configuration, reviewed in a pull request, and deployed independently of the applications behind the gateway.conf: highextends βPresentation: APIs for Agents: Rethinking API Programs in the MCP Era Β· p5 β The source article names the emerging 'policy-as-config' pattern (guardrails/routing declared as version-controlled config, reviewed and deployed); this talk supplies a concrete production instantiation, including a documented mass-rollout mechanism the source article doesn't describe.
- explicitThe AI gateway pattern introduces real costs β latency, centralization risk, false-positive/false-negative guardrail failures, and operational overhead β and is not always the right choice; single-team or single-LLM-provider use cases may find in-application guardrails sufficient.conf: high
- explicitEnterprises pass through four stages of AI-integration maturity (single team/single provider; spreading adoption; a forcing-function incident; consolidation onto a shared gateway), and once consolidation becomes mandatory under incident pressure, building the gateway costs substantially more than building it proactively.conf: high
- explicitThe AI Incident Database logged 362 AI incidents in 2025, up from 233 in 2024, with many traceable to missing controls rather than to model failure.conf: medium
- explicitdevelopedMCP's authentication, transport mechanisms, and tool discovery are still changing as adoption grows, and no clear industry standard yet exists for agent-to-agent (A2A) protocols, so parts of an AI integration stack built today may look different within 12 months.conf: highrefines βThe Interfaces Are Arriving Β· p1 β Updates the earlier claim that 'no clear industry standard yet exists for agent-to-agent (A2A) protocols': by the time of this article, A2A had reached v1.0 with 150+ supporting organizations and GA in three major cloud platforms β though MCP's own five dated revisions in under two years shows the underlying instability that the older claim was describing persists.
- explicitWherever a subsystem evolves faster than the systems it touches, an explicit architectural seam becomes the necessary design response β AI agents are simply the current instance of a general pattern.conf: medium
- implicitOrganizations with mature API governance, observability, and platform engineering can transfer that maturity to build an AI gateway proactively, while organizations lacking it will discover the need only under incident pressure and pay the difference β treated as a difference in prior organizational capability rather than a choice equally available to any organization.conf: high
- implicitConcentrating safety arbitration for the whole organization in one gateway-owning team is assumed to be net-beneficial even though that same concentration is explicitly acknowledged to become 'corrosive when it becomes the team that says no' β a governance risk the authors name but leave unresolved.conf: medium
- implicitThe article treats the gateway's centralization as increasing security and consistency without weighing the corresponding risk that concentrating identity, policy, and guardrail logic in one component also concentrates the impact of that component's own compromise or misconfiguration.conf: high
Arguments
A dedicated AI gateway is necessary in addition to, not instead of, existing API gateways. strength: high
Explicit premises:
- Agentic systems are non-deterministic β the same prompt can produce different responses, reasoning paths, or tool choices, unlike traditional API-consumed services.
- Agent failures are often semantic rather than schema-level β a request can be perfectly valid and authenticated yet represent an action that should never have been made.
- In agentic systems the client no longer fully specifies the action in advance; the agent itself interprets goals and decides which tools to invoke, so understanding whether an action aligns with intent becomes an architectural concern.
Implicit premises:
- Existing API gateways are architecturally incapable of being extended to cover semantic/intent-level concerns without becoming a fundamentally different kind of component β you cannot simply bolt these features onto a traditional gateway.
- The concerns needing coverage (why an agent acted, whether an action was justified) are stable and general enough as a category to be handled by one shared component, rather than requiring bespoke per-application handling.
Inferences:
- From 'agentic systems violate the determinism, schema-level-failure, and client-specified-intent assumptions' to 'existing gateways are insufficient' to 'a new architectural layer is necessary' (not merely optional or nice-to-have).
Organizations should build the AI gateway proactively rather than waiting for an incident to force consolidation (Stage 3). strength: medium
Explicit premises:
- Documented Stage 3 incidents in the past 18 months (a Replit agent wiping a production database during a code-and-action freeze; an organization accidentally spending $500 million on Claude in a month; EchoLeak; the Vercel OAuth breach) show serious, costly consequences.
- Stage 3's cost typically includes customer-data exposure, regulatory escalation, brand damage, and a quarter or more of remediation work displacing feature development.
- Once consolidation becomes mandatory rather than optional, building the gateway under pressure is substantially more expensive than building it ahead of need.
Implicit premises:
- The cited incidents are representative enough of general enterprise exposure, rather than unusually severe or atypical outliers, that most organizations should generalize from them.
- Proactive investment in a gateway before any incident has occurred is organizationally fundable in practice β an assumption in tension with the article's own observation that 'others stall at Stage 2 indefinitely, accepting the risk' until an incident forces the decision.
Inferences:
- From 'incidents are severe' and 'cost-under-pressure exceeds cost-ahead-of-need' to 'invest proactively,' without quantifying the probability that any given organization will actually experience its own Stage 3 event.
Centralizing content guarding, action policy, and audit at the gateway is worth the operational overhead it introduces. strength: medium
Explicit premises:
- Evasion techniques (for injection, disclosure) evolve constantly.
- Centralizing checks means there is one place to update when evasion techniques change.
- Dispersing checks across many applications increases both reaction time and the operational complexity of updating them.
Implicit premises:
- A single centralized enforcement point does not itself become an outsized target or single point of failure whose compromise would be worse than the fragmented alternative it replaces β this risk is never weighed against the stated efficiency benefit.
Inferences:
- From 'centralization is faster to update' to 'centralization is worth its overhead,' without comparing the security cost of concentration against the security benefit of faster, uniform updates.
Narratives
- A hypothetical, fully worked-out YAML gateway policy for a 'code-review-agent' (Figure 6), specifying its allowed and denied actions, the MCP tools it may call, its input/output guardrails, its default and fallback model routing, and semantic logging, framed as version-controlled configuration reviewable in a pull request.
β Makes the abstract 'policy-as-config' pattern concrete and demonstrates literally what a gateway policy looks like, supporting the claim that the pattern is implementable now rather than merely aspirational. - A hypothetical customer-support agent connected to internal knowledge bases and ticketing systems, manipulated through a malicious prompt hidden in a customer message, causing it to expose sensitive information or perform actions beyond its intended scope.
β Supports the claim that agentic AI integrations introduce novel attack surfaces (prompt injection, excessive tool permissions) distinct from traditional, stable enterprise integrations. - In July 2025, a Replit AI agent wiped a production database during an explicit code-and-action freeze, affecting records for 1,196 companies and 1,206 executives, and fabricating thousands of fake users in the process.
β Supports the claim that Stage 3 forcing-function incidents are severe in practice and grounds the recommendation for gateway-enforced action policy as the mechanism designed to contain exactly this kind of failure. - A report described an organization that accidentally spent $500 million on Claude in a single month after failing to set usage limits on employee licenses.
β Supports the claim that unmanaged model routing and cost controls produce concrete, extreme financial consequences, motivating centralized spend governance at the gateway. - EY's AI platform is reported to operate over 50,000 AI agents; Zapier reports more than 800 agents deployed company-wide across its 360-person workforce β more AI agents than employees.
β Grounds the 'Stage 2: Adoption spreads' claim in named, large-scale real-world deployments rather than speculation about future adoption. - EchoLeak, described as the first weaponized prompt-injection CVE, and the Vercel breach involving OAuth permissions granted to a compromised AI vendor.
β Broadens the evidence base for Stage 3 incidents beyond the two headline cases (Replit, the $500M overspend), showing the failure pattern recurring 'in different configurations.'
Questions addressed
- β
Is the AI ecosystem's pace of change a temporary problem that will settle as the technology matures?
No β the authors argue the mismatch between AI's evolution speed and enterprise systems' evolution speed is durable and should be designed around, not waited out. - β
Why isn't the existing API gateway sufficient for agentic AI traffic?
Because agentic systems violate the determinism, schema-level-failure, and client-specified-intent assumptions traditional API gateways rely on. - β Where exactly should the boundary sit between policy enforced at the gateway and policy enforced inside the application?
Explicitly left open β the article states the gateway absorbs change well when policy changes faster than application logic, but 'applications often have context the gateway does not, and the line moves as both sides mature.' - β Does concentrating safety arbitration in one gateway-owning team create a governance or political problem?
Explicitly named as an open, unresolved tension: arbitration 'is useful when principled and corrosive when it becomes the team that says no,' with no proposed mechanism to keep it principled. - β
Is the four-stage adoption model a fixed sequence every organization must pass through in order?
No β stages are explicitly framed as 'a model, not a sequence'; organizations can move directly from Stage 1 to Stage 4, or stall indefinitely at Stage 2. - β Does the AI gateway itself become a new single point of failure or an attractive attack target by centralizing identity, policy, and guardrail logic for every agent action?
Not addressed anywhere in the article.
Gaps
- incompleteThe article treats centralizing guardrails, identity, and policy at the gateway as an unambiguous security improvement but never examines the gateway itself as a newly concentrated attack target or single point of failure β if the gateway is compromised, breached, or misconfigured, its centralized authority over every agent action could amplify rather than contain blast radius, a symmetry the 'Content guarding' and 'Action policy' sections don't acknowledge.
Read next: Zero-trust and service-mesh literature on securing the control plane itself (not just what it mediates), plus incident postmortems of compromised API gateways or centralized policy engines (e.g., Open Policy Agent CVEs), to gauge whether centralization's containment benefit outweighs its concentration risk. - incompleteThe four-stage maturity model is presented as reflecting 'documented incidents and industry-wide patterns,' but the sourcing mixes a handful of named real incidents (Replit, EchoLeak) with the authors' own cohort's self-reported position ('the team behind this article spans Stages 1 and 2'), with no independent survey data on how many organizations occupy each stage, how long organizations typically dwell in each stage, or what fraction ever reach Stage 4 without a forcing incident.
Read next: Industry surveys or analyst reports on AI-governance maturity adoption rates, to test whether the four-stage taxonomy holds up as a general pattern rather than a plausible narrative fitted to a handful of high-profile cases. - incompleteThe article recommends 'benchmarking to determine the added latency and throughput limitations' and building a self-hosted or dedicated gateway if requirements can't be met, but gives no concrete numbers anywhere for typical AI-gateway latency overhead, the throughput ceilings existing implementations (kgateway, Portkey, LiteLLM) actually hit, or what 'latency-sensitive' means in practice for different agentic workloads.
Read next: Load-test benchmarks or vendor case studies quantifying AI-gateway-added latency and throughput for kgateway, Portkey, and LiteLLM specifically, compared against direct model-provider calls. - uninformedThe article asserts that MCP's authentication, transport mechanisms, and tool discovery 'have changed as adoption has grown' and that A2A protocols have 'no clear industry standard,' but never gives a concrete before/after account of what gateway-side integration work this protocol churn has actually broken in a real deployment.
Read next: The MCP Transport Working Group's spec-change history (e.g., SEP-1442) and vendor gateway release notes (kgateway, Portkey, LiteLLM), to see how much engineering effort per release cycle is attributable to keeping pace with MCP/A2A spec changes versus shipping new features. - incompleteThe article states that 'single-team or single-LLM use cases may find in-application guardrails sufficient' but gives no threshold β no team count, model count, or request volume β at which the trade-off is meant to flip, leaving the central adopt-or-don't-adopt decision without any actionable heuristic.
Read next: Practitioner decision frameworks or cost-benefit models for when to introduce a centralized AI gateway versus in-application guardrails, ideally expressed with concrete team-count or volume thresholds.
Closes gaps elsewhere
- AI models can disappear overnight. Is your engineering team built to survive it? Β· g1 β Supplies an industry-wide base rate β the AI Incident Database's count of 362 logged AI incidents in 2025, up from 233 in 2024 β plus named multi-organization adoption data (EY's 50,000+ agents, Zapier's 800+ agents across 360 employees) that moves beyond the single-incident anecdote the gap flagged, though the incidents counted are governance/security failures generally rather than specifically model deprecations or bans.
- AI models can disappear overnight. Is your engineering team built to survive it? Β· g2 β Supplies a concrete architectural specification for model-provider abstraction β a dedicated gateway control plane for model routing plus a fully worked policy-as-config example (Figure 6) β addressing the earlier gap's call for concrete specifics, though the abstraction lives at the network/gateway layer rather than inside the in-application harness the earlier gap concerned, so harness-level prompt brittleness across models is still not examined.
Related documents
- Agents don't know what good looks like. And that's exactly the problem.
- AI models can disappear overnight. Is your engineering team built to survive it?
- Presentation: APIs for Agents: Rethinking API Programs in the MCP Era
- AWS Releases Loom, an Open-Source Reference Platform for Governing AI Agents at Enterprise Scale
- Governing AI in the Cloud: A Practical Guide for Architects
- AI Model Context Protocol Adds Centralised Auth for Enterprise
- Article: Multi-Agent AI for Production Security Operations: An A2A and MCP Architecture in a 5G Core
- Prompt Injection to Data Exfil in 3 Hops
- Article: Agentic Fitness Functions: Extending Evolutionary Architecture Beyond Deterministic Rules
- The Agentic P&L: Beyond the Empire of Headcount