1. Scope, method and sources
This paper covers software and solution architecture for generative and agentic AI applications, together with the platform and governance services they depend on. Classical machine learning appears only where it shares platform components. Hardware design is out of scope except as a hosting option.
The subject is a regulated financial institution: a bank, an insurer or an asset manager supervised in the EU, the UK or Switzerland. I use the term AI factory for the organisational and technical capability that delivers AI applications repeatedly from shared, governed parts, as opposed to project-by-project delivery. Nothing in the paper depends on a particular size of firm or a particular cloud.
Method. I reviewed publicly available reference architectures and pattern catalogues, identified the components and decisions that recur, grouped them into dimensions, and tested the dimensions against the solution types a financial institution builds. That is how taxonomies are usually built, and it has the usual weakness: the result is a reasoned synthesis, not an empirical finding. Section 3 is evidence, in the sense that every statement about a source can be checked against that source. Sections 4 to 8 and the appendix are a design proposal and are labelled as such.
Verification. The sources in the reference list were re-opened on 10 November 2026 by an AI research agent working under my direction, and each statement attributed to a source was compared with the page as it stood that day. This is machine-assisted verification, not peer review. Three sources that the fetch tool could not open (the DORA text on EUR-Lex and two McKinsey articles) were read in a browser on the same date.
| Source class | Sources used in this paper | What the class contributes |
|---|---|---|
| Hyperscaler frameworks | AWS Well-Architected Generative AI Lens; Microsoft Azure Architecture Center guides; Google Cloud agentic pattern guide | Lifecycle phases, quality pillars, baseline deployments |
| Infrastructure vendors | NVIDIA Enterprise Reference Architectures | Full-stack designs for on-premises hosting |
| Practitioner guides | Anthropic, Building effective agents | Workflow and agent building blocks |
| Academic work | CSIRO Data61 agent design pattern catalogue; Weber’s taxonomy of LLM-integrated applications; Grau et al. reference architecture | Forces, trade-offs, classification dimensions |
| Open standards | Model Context Protocol (MCP); Agent2Agent (A2A); AGENTS.md; OpenTelemetry | Interoperability and reuse contracts |
| Security and governance | OWASP Top 10 for Agentic Applications; FINOS AI Governance Framework | Threats and controls |
| Regulation and supervision | EU AI Act as amended in 2026; DORA; FINMA Guidance 08/2024; PRA SS1/23 | Obligations and supervisory expectations |
Vendor documents are written to sell a platform, so I have normalised component names to vendor-neutral terms. Microsoft Azure is the platform I know best and the one I cite most; where its guidance is imprecise I say so.
2. Why an AI factory needs a taxonomy
A factory outperforms project-by-project delivery only if the second, tenth and hundredth application reuse what the first one built. A shared taxonomy is the precondition for that reuse. It gives every asset an address, every design choice a name, and every control a place to attach.
Three failure modes show what happens without one. I have seen each of them more than once; this is experience, not survey evidence.
- Pattern sprawl. Each delivery team picks its own framework, vector store and prompt conventions. Assets cannot be found or composed, so reuse stays accidental.
- Governance by exception. Controls are negotiated per use case with risk and compliance, which makes time to production depend on meetings.
- Agency creep. Teams reach for agents, then for groups of agents, because that is what the conference slide showed. Each step adds cost, latency, attack surface and test burden, and none of it is written down as a decision.
| Need | What the taxonomy does | Factory mechanism |
|---|---|---|
| Find and reuse assets | Stable classification of components and patterns | Catalogue entries and machine-readable repository manifests tagged by layer and pattern |
| Compose solutions quickly | Named solution shapes built from catalogued parts | Templates and paved delivery routes per solution shape |
| Govern consistently | Controls attach to layers and patterns, not to projects | Pre-approved control bundles inherited by composition |
| Decide rationally | Explicit decision dimensions and trade-offs | Architecture decision records (ADRs) with a fixed field list |
| Evolve safely | Versioned vocabulary with a review cycle | One named owner for the taxonomy, who treats it as a product |
The regulated context raises the bar. The obligations below are the reason a financial institution cannot leave classification to each team. They are stated as of November 2026, and this is architectural orientation, not legal advice.
- EU AI Act. Regulation (EU) 2024/1689 was amended by Regulation (EU) 2026/1744, the Digital Omnibus on AI, published in the Official Journal on 24 July 2026 and in force three days later [1]. Under Article 113 as amended, the requirements for high-risk systems apply from 2 December 2027 for systems classified under Article 6(2) and Annex III, and from 2 August 2028 for systems classified under Article 6(1) and Annex I. A new Article 111(4) gives providers of generative systems already on the market before 2 August 2026 until 2 December 2026 to meet the marking obligation in Article 50(2). Article 4 was replaced: providers and deployers “shall take measures to support the development of AI literacy of their staff” [1]. Whether a given use is high-risk is decided per use case, so the institution needs an inventory that records what each system does.
- DORA. Regulation (EU) 2022/2554 requires financial entities to keep a register of information on their contractual arrangements with ICT third-party providers (Article 28(3)) and to have exit strategies for ICT services that support critical or important functions (Article 28(8)); it has applied since 17 January 2025 [2]. Model providers and AI platforms are ICT third parties for this purpose, which is why Section 5.1 treats multi-provider routing as a resilience control and not only a cost control.
- Switzerland. FINMA Guidance 08/2024, published on 18 December 2024, expects supervised institutions to identify, assess, manage and monitor the risks of their AI use, and names robustness, correctness, explainability, bias and growing third-party dependencies among them [3].
- United Kingdom. For banks with internal model approval, the PRA’s Supervisory Statement SS1/23 starts from model identification and model risk classification (Principle 1) [4]. An AI inventory with a consistent classification is the same instrument seen from the prudential side.
A taxonomy makes the inventory and the risk classification systematic. It also gives the institution one place to map each obligation onto a technical component, which is the subject of a sibling paper, Data Classes, Processing Lanes and Controller/Processor Roles for AI (Working Paper 09).
3. The landscape of published reference architectures
The published sources fall into five families, and none alone covers a factory. Hyperscalers describe lifecycle and quality. Practitioners describe composition. Academics describe forces and trade-offs. Standards bodies describe interfaces. Regulators and industry bodies describe obligations and controls.
| Reference | Family | Structuring idea | Best used for | Gap for a factory |
|---|---|---|---|---|
| AWS Well-Architected Generative AI Lens [5] | Hyperscaler | Six pillars applied across the lifecycle stages of scoping, model selection, customisation, development, deployment and continuous improvement | Architecture reviews and quality gates | Reviews one workload at a time; says little about portfolio reuse |
| Microsoft, AI agent orchestration patterns [6] | Hyperscaler | Sequential, concurrent, group chat, handoff and magentic orchestration; “use the lowest level of complexity that reliably meets your requirements” | Multi-agent design choices | Orchestration only |
| Microsoft, Foundry chat baseline [7] and gateway guidance [8] | Hyperscaler | Hardened, zone-redundant, network-isolated baseline for enterprise chat; a gateway assessed against each quality pillar | A starting point for a private-tenancy deployment | Vendor-specific services |
| Google Cloud, agentic design pattern guide [9] | Hyperscaler | From requirements to a pattern: single agent, sequential, parallel, loop, coordinator, hierarchical, swarm, ReAct, human-in-the-loop, custom logic | Pattern selection rationale | Assumes an agentic need |
| NVIDIA Enterprise Reference Architectures [10] | Infrastructure vendor | Tested designs for on-premises AI infrastructure | Sovereign or on-premises hosting | Infrastructure-heavy; little on application design |
| Anthropic, Building effective agents [11] | Practitioner | The augmented LLM as building block; five workflow patterns; agents only when needed | Default composition vocabulary | No governance or platform view |
| Agent Design Pattern Catalogue, CSIRO Data61 [12] | Academic | 18 architectural patterns, each with context, forces and trade-offs | Rigorous pattern documentation | Research vocabulary needs translation |
| Weber, taxonomy for LLM-integrated applications [13] | Academic | An application is a combination of LLM components, each described on 13 dimensions | Classifying and comparing solutions | Component level only |
| Grau et al., reference architecture for generative AI systems [14] | Academic | Eight design requirements and four dimensions (human, interface, GenAI system, enablers), built with a practitioner consortium and validated in 13 expert interviews | Checking that an architecture has not forgotten the human role | Not specific to agents or to finance |
| Model Context Protocol and Agent2Agent [15][16] | Open standards | Agent-to-tool and agent-to-agent contracts under Linux Foundation governance | Interoperability and reuse | Protocols do not express governance [17] |
| FINOS AI Governance Framework v2.0 [18] | Industry (financial services) | Risk and mitigation catalogue with an agentic section, cross-referenced to OWASP, MITRE and the EU AI Act | Seeding a control library | Needs mapping to the institution’s own regulators |
| OWASP Top 10 for Agentic Applications [19] | Security | Ten agent-specific risk entries, ASI01 to ASI10 | Threat modelling | Threats, not architecture |
Convergence. Read side by side, these sources describe the same logical stack: a data and knowledge layer, a model layer, an orchestration layer where workflows and agents live, an integration layer of tools and protocols, an experience layer, and a cross-cutting plane for security, evaluation, observability and governance. They differ mainly in vocabulary and in which layer the vendor sells. Section 4.1 formalises the stack. The convergence is the reason I can present the layer model as a reading of the field and not as an invention.
Divergence that matters. The sources disagree on two points.
The first is where agency starts. Anthropic separates workflows, “systems where LLMs and tools are orchestrated through predefined code paths”, from agents, “systems where LLMs dynamically direct their own processes and tool usage” [11]. Google Cloud lists sequential, parallel and loop patterns among its multi-agent patterns while describing them as running on predefined workflow logic, without a model orchestrating the sub-agents [9]. Both descriptions are accurate. They become a problem only when a team reads “multi-agent” as “more autonomous” and attaches the wrong controls.
The second is where governance sits. The hyperscaler frameworks treat it mainly as a set of review questions. FINOS and the security literature treat it as controls that must exist at run time [18][19].
This paper takes the stricter reading in both cases. The line between a workflow and an agent is drawn by one test — who decides the next step, code or the model — whatever a vendor’s diagram calls the pattern. And governance is a platform layer that executes, not a checklist that is read.
What the standards do not yet give you. MCP and A2A are the main lever for reuse because they turn one-off integrations into catalogue assets. They are not a control layer. Kang and Diponegoro tested the specifications of five agent interoperability protocols, including MCP and A2A, against six governance capabilities: membership, deliberation, voting, dissent preservation, human escalation, and audit and replay. They found that no protocol covers the full set and conclude that governance “constitutes a missing architectural layer above current interoperability standards” [17]. Their subject is the governance of agent communities, which is narrower than enterprise control, but the practical consequence is the same: the institution wraps the protocols with its own policy layer. A sibling paper, MCP and A2A: Interoperability Protocols for the Enterprise AI Factory (Working Paper 10), covers the protocols in detail.
Sidebar — five tests for vendor and consulting material
Much of what vendors and consultancies publish mixes durable guidance with product placement. I keep an element only if it passes at least three of five tests:
- It states a principle that survives a change of vendor.
- It names trade-offs or failure modes, not only benefits.
- It maps to a component or control that someone can build or audit.
- Any numbers come with a method.
- It is consistent with independent sources such as the academic catalogues and OWASP.
Brand names, unqualified impact percentages and product lists fail. No consulting productivity or uplift figure is used anywhere in this paper, because none I reviewed came with a published method.
4. The taxonomy
This section is a design proposal. Every AI asset and every AI application is classified on three primary axes — layer, pattern family and reuse generation — plus five descriptive attributes that drive governance and design choices.
4.1 Axis 1: layers — where a component lives
Six layers (L0–L5) are crossed by a trust and operations plane (X). Controls attach to layers and to the plane, so an application composed from catalogued components inherits them.
flowchart TD
L5["L5 Experience & channels"] --> L4["L4 Integration & interoperability"]
L4 --> L3["L3 Reasoning & orchestration"]
L3 --> L2["L2 Models"]
L3 --> L1["L1 Data & knowledge"]
L2 --> L0["L0 Infrastructure & hosting"]
L1 --> L0
X["X Trust & operations plane<br/>identity · guardrails · evaluation · observability · cost · evidence"] -.-> L5
X -.-> L3
X -.-> L2
X -.-> L1
The dotted lines show the plane governing every layer. L4 also sits beside L3, because agents call tools and tools can call agents. The plane is not a seventh layer and should not be drawn as one: it is where controls live, and it touches everything.
| Layer | Scope | Typical reusable components |
|---|---|---|
| L0 Infrastructure & hosting | Compute, accelerators, network, tenancy, region, sovereign or on-premises options | Landing zones, GPU pools, private endpoints, model-serving runtimes |
| L1 Data & knowledge | Sources, ingestion, chunking, embeddings, vector and graph stores, semantic layer, long-term memory | Ingestion pipelines, document parsers, index templates, knowledge graphs, data products |
| L2 Models | Foundation models, small and specialised models, fine-tunes, classical ML, embedding and rerank models | Model catalogue, model router, evaluation-backed model cards, adapters |
| L3 Reasoning & orchestration | Prompts, context engineering, workflows, agents, planners, session state | Prompt library, workflow templates, agent templates, memory managers |
| L4 Integration & interoperability | Tools, APIs, events, MCP servers, A2A endpoints, connectors to enterprise systems | Governed MCP servers, tool registry, agent cards, event contracts |
| L5 Experience & channels | Chat, embedded assistants, APIs, batch jobs, event-triggered and IDE surfaces | UI components, conversation shells, feedback widgets |
| X Trust & operations plane | Identity, authorisation, guardrails, evaluation, observability, cost, registries, audit evidence | AI gateway, guardrail services, evaluation harness, trace store, AI inventory, evidence generators |
4.2 Axis 2: pattern families — how a capability is built
There are eight families, and each is a question. The named patterns inside each family are in Appendix A.
| Code | Family | Question it answers | Appendix |
|---|---|---|---|
| MI | Model interaction | How do we get the model to produce the right output? | A.1 |
| KN | Knowledge and grounding | How do we give the model the right facts? | A.2 |
| AD | Model adaptation | Do we change the model itself? | A.3 |
| WF | Workflow | How do we chain deterministic steps and model calls? | A.4 |
| AG | Agent | When may the model direct its own control flow? | A.5 |
| MA | Multi-agent | How do several agents cooperate, and who owns each one? | A.6 |
| IN | Integration and interoperability | How do models, agents and systems connect? | A.7 |
| TR | Trust, governance and operations | How do we keep it safe, observable and compliant? | A.8 |
The order of the first three families is also an order of preference: try model-interaction patterns first, then knowledge and grounding, then adaptation. Changing model weights is the exception and needs its own business case. Integration and interoperability is both a layer and a family. That is deliberate: the layer says where a component lives, the family says how the capability is built, and the classification code keeps them in separate fields.
4.3 Axis 3: reuse generations — how shareable an asset is
Reuse is recorded per asset. Each catalogue entry carries a generation that says what the next consumer has to do: rebuild it (G0, ad hoc), import it (G1, shared code), call it (G2, platform service), bind to it (G3, composable capability), or fill in parameters and run a pipeline (G4, governed blueprint). Section 6 defines each generation, its entry criteria and the portfolio metrics.
4.4 Descriptive attributes
| Attribute | Values | Why it matters |
|---|---|---|
| Agency class | A0 single call · A1 grounded answer · A2 workflow · A3 bounded agent · A4 multi-agent | Sets control intensity and testing depth |
| Action scope | Read-only · Draft (a human sends) · Act with approval · Act autonomously within a defined envelope | Separates advice from execution; the basis for accountability |
| Risk tier | The institution’s own AI risk classification, informed by the EU AI Act’s high-risk categories [1] | Selects the control bundle |
| Data class | C1 public · C2 internal · C3 confidential · C4 strictly confidential, plus flags for personal data and other special categories | Selects hosting, model and logging options |
| Interaction mode | Conversational · Embedded · Batch · Event-driven · Agent-to-agent | Selects the L5 components and the latency budget |
Agency class is a design-time property. It describes the shape of a design and answers one question: who decides the next step. It is fixed when the design is chosen.
| Agency class | Shape | Who decides the next step |
|---|---|---|
| A0 — single call | One model call, no retrieval of enterprise facts | Code |
| A1 — grounded answer | Retrieval plus one call | Code |
| A2 — workflow | Fixed steps, some of them model calls | Code |
| A3 — bounded agent | One agent in a loop, inside an explicit envelope of tools, budgets and escalation rules | The model |
| A4 — multi-agent | Several agents with separate owners and identities | Models, code, or both |
Three clarifications prevent the usual confusions.
The only conceptual line is between A2 and A3. Below it, code decides the next step and the unit of testing is an output. Above it, the model decides and the unit of testing becomes a trajectory: the path of tool calls the agent took, in order, with its cost. A0, A1 and A2 differ in how much is composed around the model, not in how much the model controls. A1 is listed as a class because grounding changes the attack surface and the test effort enough to deserve its own control bundle. It is a design shape, not a degree of autonomy.
A4 is defined by ownership, not by more model control. A design is A4 when it contains several agents that have separate owners, identities, security boundaries or release cycles. Some A4 patterns are orchestrated by code: a sequential pipeline of agents, a concurrent fan-out, a generator–critic loop. Under the control-flow test those are workflows whose stations happen to be agents, and they keep most of the predictability of a workflow. They are still A4, because the control burden that comes with several identities — an agent registry, authorisation between agents, a kill switch per agent — applies however the sequence is decided. Appendix A.6 records, for every multi-agent pattern, who decides the next step.
Agency class is not run-time autonomy. What a design is permitted to do in production is the action scope, and it is earned on evidence: a system starts at read-only or draft and widens only when recorded behaviour justifies it. An institution that keeps the two apart can say something useful that one which conflates them cannot: this is an A3 design currently operating at draft scope.
Lanes and data classes in two sentences. A processing lane is the route a request takes to a model, defined by who operates the infrastructure and who can see the data: Lane A is a vendor’s API under an enterprise contract, Lane B is a vendor model consumed through the institution’s own cloud tenancy, and Lane C is a model on infrastructure the institution controls. The data class (C1 to C4, with flags) decides which lanes a request may use; both scales, the permission matrix between them and the controller and processor roles are defined in Data Classes, Processing Lanes and Controller/Processor Roles for AI (Working Paper 09).
4.5 The classification code
Each asset and each application carries a compact code in its repository manifest and its catalogue entry:
layer / pattern | agency class | action scope | risk tier | data class | reuse generation
A routing step in a claims-intake pipeline might read L3/WF-ROUTE | A2 | Draft | Tier-2 | C3 | G3. An application lists the code of every component it composes, which follows Weber’s view of an application as a combination of LLM components [13].
The code is small on purpose. Search reads it, so a platform engineer can ask which applications depend on permission-aware retrieval before changing it. Policy-as-code reads it, so the right control bundle attaches without a meeting. The catalogue reads it, so reuse becomes countable. The reviewer reads it, so a design is compared with its siblings.
One addition sits beside the code and not inside it. Grau et al. make the human a dimension of the architecture in its own right — people supervise actions, verify outputs, and improve the system through feedback and annotation [14]. Those are staffing commitments, not interface features. I therefore record the human roles a solution requires (supervisor, annotator, feedback provider) as a list in the same manifest. They are kept out of the six-field code because they are read by a resourcing process, not by the policy engine.
5. Five patterns that carry the factory
This section mixes evidence and proposal: the vendor guidance is cited, the factory rules are mine. Most patterns need only the table row they get in Appendix A. Five need more, because each is the place where reuse and control are actually implemented.
5.1 The AI gateway
Every model call passes through the gateway, which makes it the most reused component by construction. It also becomes a compliance-scoped, availability-critical system, so it has to be engineered as a product with its own service-level objectives, security review and data classification.
flowchart LR
C["Apps, orchestrators,<br/>agents"] --> AU["Federated authentication<br/>per-client identity"]
AU --> CL["Classify + redact"]
CL --> RL["Quotas, token limits,<br/>priority"]
RL --> RT["Router<br/>model + version header"]
RT --> LB["Load balance +<br/>circuit breaker"]
RT --> Q["Queue for<br/>low-priority batch"]
LB --> M1["Lane A models"]
LB --> M2["Lane B models"]
LB --> M3["Lane C models"]
RT --> MON["Token metrics, cost,<br/>prompt/response logs"]
The gateway authenticates each caller, classifies and routes by data class and pinned model version, and emits the telemetry that cost allocation and audit rely on.
Microsoft’s gateway guidance lists the capabilities a gateway adds: federated authentication, rate limiting, cross-model monitoring, routing (including sending low-priority requests to a queue), health-based load balancing with circuit breaking, and caching [8]. The guidance is written for Azure but the rationale is vendor-neutral, and it is one of the few vendor documents that states its own trade-offs.
| Capability | Why the factory needs it |
|---|---|
| Per-client identity instead of shared keys | Least privilege per application and agent; attribution |
| Token quotas and request-size limits | Fair sharing of capacity; cost guardrails |
| Classification-based lane routing | Enforces the data-class rules of Working Paper 09 per request, not per application |
| Model and version routing by header | Keeps tested prompt–model combinations together (Section 5.3) |
| Failover, load balancing, circuit breaking | Resilience across regions and providers; supports the exit strategies DORA requires [2] |
| Queue-based load levelling | Batch workloads without starving interactive ones |
| Semantic and prompt caching | Cost and latency, with controls against staleness and leakage between users |
| Content-safety and redaction policies | Uniform guardrails without per-application code |
| Token, cost and prompt/response logging | Cost allocation, monitoring and audit evidence |
Trade-offs to design for.
- Single point of failure. Microsoft’s own advice is to include the gateway in the workload’s failure-mode analysis and not to implement one “if it jeopardizes your workload’s ability to meet agreed-upon service-level objectives” [8].
- Compliance scope. The gateway sees raw prompts and responses, so it is classified at the highest data class it handles and its logs follow the retention rules for that class.
- Attack surface. It becomes the entry point to private model endpoints and needs its own hardening and identity management.
- Latency and protocol support. Streaming needs long-lived connections, and stateful model APIs need session affinity [8].
- Where inference runs. This is the point most often misread. Microsoft’s deployment-type documentation states that data at rest stays in the designated Azure geography for every deployment type, but inference differs: Global deployments may process prompts in any Azure region, Data Zone deployments process them only within the Microsoft-specified zone (US, EU or Asia Pacific), and Standard and Regional Provisioned deployments process them within the chosen geography [22]. The EU data zone follows Microsoft’s EU Data Boundary, which the same page says can include EFTA countries such as Norway and Switzerland, and Microsoft may add regions to a zone without prior notice [22]. The gateway guide itself is looser, saying that with Global or Data Zone deployments data “might be transmitted and processed for inferencing in any Foundry model location” [8]. I rely on the more specific page and would like Microsoft to align the two. For lane assignment the consequence is plain: a Global deployment is cross-border processing without a fixed destination, a Data Zone deployment is cross-border processing within a named zone, and only a geography-bound deployment keeps inference in one jurisdiction. Each has to be checked against the institution’s own location commitments to supervisors and clients.
I have verified this level of detail only for Azure. The same questions — which identity calls the model, where inference physically runs, what the provider may change without notice — have to be put to any provider, and the gateway is where the answers are enforced.
5.2 Translocation between agentic and procedural forms
A design’s shape is not permanent. Once an agentic flow proves stable, its common path should move into cheaper, deterministic code. In the other direction, the exceptions a procedural system cannot handle can be delegated to an agent. The idea of moving workloads in both directions comes from QuantumBlack’s description of its agent-estate architecture [27].
| Code | Pattern | Trigger | Controls |
|---|---|---|---|
| IN-CODIFY | Codify the stable path of an agent into a workflow or rules | Trajectory traces show the same tool sequence in most runs over a sustained period | Replay tests confirm equivalence before the switch; the agent remains for the residual cases; the change is recorded in an ADR |
| IN-DELEGATE | A procedural system delegates its exceptions to an agent | Exception queues with high manual effort and varied resolution paths | The agent starts at draft or act-with-approval scope; results return through typed interfaces |
The downward move is the one that pays: lower cost, higher predictability, a smaller test surface. Its trigger is evidence, not taste. The trajectory data in the trace store is what makes codification a finding. The upward move is how a legacy system joins the estate without being rewritten: a policy-administration or payments platform keeps its logic and gains an agent on its exception queue.
5.3 Model lifecycle and release pinning
The unit of release in an AI application is not the code. It is a pinned combination of model version, model configuration, prompt, orchestration logic and retrieval configuration. Changing any one of them is a release that must pass evaluation.
Microsoft’s lifecycle guidance treats foundation models as versioned dependencies. For hosted models, a deprecated version cannot be newly deployed, and existing deployments of a retired version return HTTP errors [24]. The same page distinguishes update scopes, which I group as follows.
| Update scope [24] | Example of change | Typically requires |
|---|---|---|
| Minor or intermediate version | A new dated release of the same model | Regression evaluations; prompt check |
| Variant | A faster or cheaper variant of the same family | Regression evaluations; latency and cost check |
| Major or generational version | A new model generation | Full evaluations; prompt rework; possibly orchestration changes |
| General model change | A different vendor or family | Full evaluations; prompt and tool-calling rework; vendor onboarding |
| Specialised model change | A domain-specific model | Re-assessment of grounding needs; full evaluations |
| Deployment option change | From a vendor API to self-hosting | Lane change, infrastructure, security review |
A model change can reach six places: the model, its configuration, the prompt, the orchestration logic, the grounding data or its retrieval, and for self-hosted models the hardware [24].
flowchart LR
APP["Application"] --> RT["Router<br/>blue/green, A/B"]
RT --> O1["Orchestrator release 1<br/>prompt v1 + config v1"]
RT --> O2["Orchestrator release 2<br/>prompt v2 + config v2"]
O1 -->|header: model-x v1| GW["AI gateway"]
O2 -->|header: model-x v1.1| GW
GW --> M1["model-x v1"]
GW --> M2["model-x v1.1"]
The router splits traffic between tested releases and the gateway honours each release’s pinned model version, so users never meet an untested prompt–model combination. Microsoft’s recommendation is that tested combinations be “pinned together” in production, and that platform features which upgrade production models automatically be avoided [24].
Factory rules (proposal).
- Every AI application ships a release manifest listing model and version, parameters, prompt version, orchestration version, retrieval and index version, tool versions and evaluation results.
- Automatic model upgrades are disabled in production; upgrades go through the evaluation pipeline.
- Prompts and configuration live in an external, versioned store and are always deployed with the model version they were tested on.
- Traces record every version in the manifest so that a regression can be attributed.
- The model catalogue tracks deprecation and retirement dates and triggers re-evaluation well before retirement.
5.4 The AI asset registry and golden records
The AI asset registry keeps the institution’s AI know-how — prompts, agent configurations, tool definitions and verified examples — outside any vendor platform, so that it can be governed, reused and moved.
| Registry asset | Content and controls | Reuse generation |
|---|---|---|
| System prompts | Parameterised, tested against jailbreaks, versioned, owner assigned | G1–G3 |
| Agent instructions and configurations | Allowed tools, allowed models, envelope settings | G3 |
| Model configurations | Which agents may use which models with which parameters | G2 |
| Tool definitions and MCP servers | Security policy, access per agent, schema | G3 |
| Golden records | Input–output pairs verified by a subject-matter expert, used as examples and for evaluation | G3–G4 |
| Workflow controls | Rules on how agents may be combined, for example a compliance check that must be present in certain flows | G4 |
A golden record is a human-verified example of a correct output. QuantumBlack argues that golden records may become an organisation’s most valuable AI intellectual property, and that assets should graduate from experimental environments to the registry before production use [27]. I agree with the first claim for a reason of my own. Prompts are rewritten with every model generation and frameworks are replaced every few years, but a verified set of “this input, this correct output” for a claims decision or a suitability check survives all of that. In the factory, golden records carry the data class of their content, have a business owner, and are the shared basis for few-shot prompting, regression evaluation and trajectory testing.
The registry also answers a portability question that DORA makes concrete. An exit strategy for an AI platform [2] is credible only if the assets that encode the institution’s behaviour are held somewhere the platform’s vendor does not control.
5.5 Lifecycle controls and controls that execute
Controls are fastest when they are designed in at the start of each use case, inherited from the platform, and enforced by machinery at the moment of change. A review committee at the end is the slowest and weakest control.
Operations first. Microsoft’s guidance on generative AI operations makes a point worth keeping: an organisation with MLOps in place does not start over, but it has to extend its operations to three things classical MLOps never governed — the orchestrator, the prompts, and the grounding-data pipelines with their indexes [25]. Indexes must be kept fresh, rebuilt when they cannot be updated in place, and must honour deletion requests; and the maturity of generative AI operations should be assessed separately from MLOps maturity, because the two can differ widely [25]. Microsoft’s design guide for retrieval-augmented generation splits the work into preparation, chunking, chunk enrichment, embedding, information retrieval and end-to-end evaluation, with agentic retrieval as an extension [23]. The factory treats each of those phases as a versioned, testable step, and versions each phase’s configuration together with the index it produced.
Lifecycle and gates (proposal). The lifecycle below has five stages and three approval gates. The structure is adapted from McKinsey’s 2026 work on AI controls in the public sector [28]. The controls and evidence in the table are my mapping to a financial institution.
flowchart LR
D["Design<br/>AI at all? which agency class?"] --> G1{"Gate 1<br/>approve to build"}
G1 --> DA["Get data<br/>lawful, classified, test prompts"]
DA --> BE["Build + evaluate<br/>evaluations, red team"]
BE --> G2{"Gate 2<br/>approve to implement"}
G2 --> IN["Industrialise<br/>pin versions, limits, kill switch"]
IN --> G3{"Gate 3<br/>approve go-live"}
G3 --> MO["Monitor<br/>alerts, cost, re-test, re-justify"]
MO -.->|roll back or redesign| D
| Stage | Controls | Evidence produced |
|---|---|---|
| Design | Is AI needed, or would deterministic automation do (Section 7.1)? Agency class by the least-agency rule; action scope by consequence (Section 7.6); refusal and escalation rules | ADR with rejected alternatives; risk tier |
| Get data | Lawful basis and purpose; data class and lane; approved sources only; adversarial test prompts written early | Data inventory; impact assessment where required; golden and adversarial sets |
| Build and evaluate | Instructions, output constraints, tool permissions, input and output filters; repeatable evaluations, expert review, misuse and leakage tests, red teaming, fairness checks | Evaluation report; red-team findings |
| Industrialise | Pinned release manifest (Section 5.3); usage and cost limits; kill switch; documented capabilities and limits; named owner; staff training; registration in the AI inventory | Release manifest; inventory entry; training record |
| Monitor | Alerts on unsafe behaviour and manipulation attempts; usage, quality and cost tracking; re-testing as models and suppliers change; periodic re-justification, with willingness to roll back | Monitoring records; periodic review record |
Where accountability sits. The leader of the affected business service owns the AI system and its risk. The central AI function provides the platform, the standards, shared testing and the approved patterns. Accountability attaches to the person who defines an agent’s scope, and the factory enables that person instead of approving each use case on their behalf. The governed platform — identity and tool access, testing, guardrails, logging, and registries for models and agents — is what lets each new use case inherit the controls of the previous ones.
Controls that execute. An operating model names who is accountable. It does not stop anything. Valmis, writing for a vendor of enforcement tooling, puts it in one sentence that is correct whatever its commercial motive: “nothing in an operating model executes at generation time” [29]. A specification that an agent merely reads can be ignored. A constraint that the change is checked against cannot. The factory therefore turns its key decisions into machine-checked rules.
| Code | Pattern | Where it executes |
|---|---|---|
| TR-EXEC-CI | Architecture decisions and guardrails compiled into checks that pass or fail every change, whether a person or an agent wrote it | Pull requests, pipelines |
| TR-EXEC-RUN | Envelope, lane and tool policies evaluated on every call | AI gateway, tool gateway, policy engine |
| TR-EXEC-REL | Release blocked unless the manifest’s evaluation results meet the acceptance thresholds | Deployment pipeline |
| TR-EXEC-REG | Unregistered models, agents or tools cannot obtain credentials or routes | Identity provider, gateways |
Written policies remain necessary. Executable controls are what make them hold when changes arrive at the speed agents produce them. Anything the institution must be able to evidence to a supervisor belongs in this deterministic layer.
6. Reuse generations and portfolio metrics
This section is a design proposal. Reuse is managed per asset, not per organisation. Each catalogue entry carries a generation, and the portfolio aim is to move the most-used assets to G3 and the most-used solution shapes to G4.
| Generation | Unit of reuse | What the next consumer does | Entry criteria | Examples |
|---|---|---|---|---|
| G0 Ad hoc | Nothing formal | Rebuilds | — | Pilot notebooks, one-off scripts |
| G1 Shared code | Libraries, prompt templates, infrastructure-as-code modules | Copies or imports, then operates it | Versioned repository, owner, README, classification code in the manifest | Document parser library, prompt library |
| G2 Platform services | Multi-tenant services run by a platform team | Calls an API | Service-level objective, on-call rota, tenancy model, cost allocation, security review | AI gateway, retrieval service, evaluation harness, guardrail service |
| G3 Composable capabilities | Tools and agents behind standard protocols | Discovers it in the catalogue and binds to it | MCP or A2A interface, capability description, golden evaluation set, agent identity, accountable owner | Customer-data MCP server, KYC-document agent, claims-triage agent |
| G4 Governed blueprints | A solution shape: a pattern composition, a pre-approved control bundle and templates | Fills in parameters and runs a pipeline | Architecture approval, second-line sign-off on the control bundle, a reference implementation in production | ”Grounded knowledge assistant” blueprint, “document processing pipeline” blueprint |
The solution shapes that are candidates for G4 are described in Ten Solution Archetypes for Regulated Finance (Working Paper 02).
A sixth step that is not a generation. Some formulations of this scale add a G5 in which agents assemble, test and operate G3 and G4 assets under human-defined scope. I no longer treat that as a value an asset can carry. It is a capability of the factory — automation that builds and maintains assets of every generation — and an institution either has it or does not. It depends on mature evaluations, replay testing, policy as code and gated contribution by agents. I keep the label G5 for that capability because it is in circulation, but no catalogue entry should be tagged with it.
Portfolio metrics.
| Metric | Definition | Desired direction |
|---|---|---|
| Time from idea to governed AI in production | Median days from intake to production approval | Down |
| Reuse ratio | Share of components in new applications that come from the catalogue | Up |
| Blueprint coverage | Share of new applications instantiated from a G4 blueprint | Up |
| Control inheritance rate | Share of required controls satisfied by inherited platform services | Up |
| Contribution rate | Assets promoted from delivery teams to the catalogue per quarter | Up |
| Orphan rate | Catalogue assets with no active owner or no evaluation run in 90 days | Down |
These definitions are mine and have not been benchmarked. The 90-day window in the orphan rate is a starting value to be tuned. A sibling paper, Reusability and the Compounding Factory (Working Paper 08), develops the economics.
Promotion is a judgement, not a rule. It is tempting to write “promote on the second consumer; mint a blueprint on the third recurrence”. I do not recommend it. A second consumer of a G1 asset, or the third time the same composition appears, is a telemetry signal that opens a decision by the people who will have to own the result: an operating cost, a service level, an on-call rota. Automatic promotion produces platform services nobody agreed to run. Retirement works the same way in reverse: an asset that falls below usage or evaluation-freshness thresholds is flagged, a successor is named in the catalogue, and an owner decides.
7. The design decision framework
This section is a design proposal. Design decisions follow a fixed sequence of eight questions. The default answer at every step is the least agentic, least bespoke option that meets the need. I call this the least-agency rule: choose the lowest agency class that works, and justify every step up, with evidence, in an ADR that names the classes rejected.
The rule rests on a consensus in the guidance and on one judgement of mine. The consensus: Anthropic advises “finding the simplest solution possible, and only increasing complexity when needed” [11]; Microsoft advises the lowest level of complexity that reliably meets requirements [6]; Google Cloud recommends starting with a single agent [9]. The judgement, for which I can offer experience but no published dataset: in financial institutions today, more of the realised value comes from workflows with model steps inside them than from autonomous agents.
7.1 The decision sequence
flowchart TD
Q1{"1. Is AI needed?<br/>would rules or analytics do?"} -->|No| Z["Conventional software"]
Q1 -->|Yes| Q2{"2. Prediction or generation?"}
Q2 -->|Prediction| P["Classical ML (AD-CLASSIC)"]
Q2 -->|Generation| Q3{"3. Needs enterprise facts?"}
Q3 -->|"No, and one call suffices"| A0["A0: prompt patterns"]
Q3 -->|"Yes, or more than one step"| Q4{"4. Steps known in advance?"}
Q4 -->|"One step over retrieved facts"| A1["A1: grounded answer"]
Q4 -->|"Several known steps"| A2["A2: workflow"]
Q4 -->|No| Q5{"5. One coherent responsibility?"}
Q5 -->|Yes| A3["A3: bounded agent"]
Q5 -->|No| A4["A4: multi-agent"]
Question 3 decides whether knowledge and grounding patterns are part of the composition. It ends the sequence at A0 only when the task also fits in a single call. A task that needs no enterprise facts but has several steps — drafting, checking against a style rule, reformatting — continues to question 4 and lands on A2, and one whose steps cannot be known in advance continues to question 5. Without that qualification a workflow or an agent that works only on user-supplied content would have no path through the diagram.
After the agency class, three further questions complete the design: (6) which catalogue assets already cover each layer; (7) which control bundle the risk tier, action scope and data class require; and (8) which processing lane and model class the data class and cost profile allow. Questions 1 to 5 produce the agency class. Questions 6 to 8 produce everything else.
Question 1 deserves more respect than it gets. In my experience it ends more requests than the other seven together, and each of those is a system the institution does not have to evaluate, monitor or explain.
7.2 Escalation criteria
The least-agency rule needs evidence requirements to have any force. A design may step up a class, but it brings something.
| Step up | Escalate only if | Evidence the ADR must carry |
|---|---|---|
| A0 → A1 | Answers depend on internal or current facts | Examples where the base model gets it wrong |
| A1 → A2 | The task needs several distinct steps, tools or validations | The step list, and the failure modes of the single call |
| A2 → A3 | The next step cannot be predicted from the input; the paths are too many to code | Path analysis showing combinatorial branching |
| A3 → A4 | One agent’s tool set or instructions become self-conflicting, or domains need separate ownership, security boundaries or release cycles | Evaluation results showing single-agent degradation |
| Prompting → fine-tuning | Prompting and retrieval have plateaued on a stable task, or cost and latency demand a smaller model | The evaluation curve, a data-governance plan, a re-tuning plan |
| Read-only → acting | The business case needs execution, and reversibility or approval is designed in | Action inventory, reversibility analysis, approval points, accountable owner |
The A3 → A4 row is the one that gets argued. It does not accept as evidence that the process has four steps, that four teams are involved, or that a vendor’s diagram has four circles in it. Several agents are justified by ownership boundaries and by demonstrated degradation of a single agent, which is also what Google Cloud’s guidance says [9].
7.3 Trade-off matrix by agency class
| Class | Predictability | Latency | Cost per task | Test effort | Attack surface | Typical additions to the control bundle |
|---|---|---|---|---|---|---|
| A0 Single call | High | Low | Low | Low | Low | Gateway, output filters |
| A1 Grounded answer | High | Low–medium | Low | Medium | Medium (indirect injection through documents) | Permission-aware retrieval, citation checks |
| A2 Workflow | High | Medium | Medium | Medium | Medium | Step validation, human checkpoints where needed |
| A3 Bounded agent | Medium | Medium–high | Medium–high | High | High | Tool policy, agent identity, budgets, trajectory evaluation |
| A4 Multi-agent | Low–medium | High | High | Very high | Very high | Agent registry, authorisation between agents, replay testing, kill switch |
The ratings are qualitative and are my assessment. The A4 row describes model-orchestrated designs; an A4 design whose sequence is fixed in code sits closer to A2 on predictability and test effort while keeping A4’s identity and registry controls. The test-effort column is the one that ruins plans, because between A2 and A3 the thing being tested changes from an output to a trajectory.
7.4 Other selection dimensions
| Dimension | Options | Choose by |
|---|---|---|
| Model class | Frontier · mid-tier · small or open-weight · specialised | Task difficulty shown by evaluations, latency budget, cost, hosting constraint |
| Processing lane | Vendor API · private cloud tenancy · controlled infrastructure | Data class, outsourcing rules, exit strategy (Working Paper 09) |
| Knowledge pattern | Context stuffing · RAG · advanced RAG · graph grounding · semantic layer · agentic RAG | Shape of the data (text, tables, relations), variety of queries, freshness |
| Interaction mode | Chat · embedded · batch · event-driven · agent-to-agent | Where the user or the process already works |
| Human oversight | In the loop (approves each action) · on the loop (monitors, intervenes) · after the fact (reviews samples) | Action scope, reversibility, risk tier |
| Build or buy | Packaged assistant · built on the platform · custom | Differentiation, data access, control needs, vendor concentration |
| Framework | Direct SDK · workflow engine · agent framework | Team skills and portability; a framework should not hide prompts and responses |
For model class, the institution’s own evaluations are the only acceptable basis. Published model rankings date within months.
7.5 The design record
Each AI application has one ADR with a fixed field list:
- Problem and business owner.
- Classification code (Section 4.5).
- Chosen agency class, and every lower class rejected, with the reason.
- Patterns used per layer.
- Catalogue assets reused, and new assets proposed for contribution.
- Model class and processing lane, with the data-class reason.
- Control bundle and residual risks.
- Evaluation plan and acceptance thresholds.
- The named person accountable for the system’s operational scope.
- Exit or fallback strategy.
Field 3 is the one that changes behaviour. A record that states only the chosen class is a receipt. One that states the rejected classes and why is a decision, and eighteen months later it is the two-line answer to “why is this pipeline not an agent?“.
7.6 The consequence check
Agency class describes mechanics. It says nothing about whether the institution should let the system act. That is set per decision, by two questions: how much harm a wrong decision causes, and how complex the decision is.
The principle that the degree of human involvement should follow the consequence of a wrong decision and the complexity of the decision is taken from McKinsey’s 2026 public-sector work, which sets it out as a matrix [28]. Setting it against sign-off by use-case category is my own contrast. It is worth keeping because the alternative — “all HR use cases need sign-off, all operations use cases do not” — is over- and under-inclusive on its first day. The matrix below is my proposal for applying it.
| Consequence of a wrong decision ↓ / Decision complexity → | Low | Medium | High |
|---|---|---|---|
| Low | AI runs it | AI runs it; a human reviews samples | AI proposes; a human has the final say |
| Medium | AI recommends; a human approves | AI recommends; a human approves | A human decides; AI assists |
| High | A human decides; AI assists | A human decides; AI assists | A human decides; AI assists |
In a regulated financial institution, any decision with a legal or similarly significant effect on a person, a client or the institution’s regulatory position sits in the high-consequence row by default: a credit decision, a claims denial, a suitability assessment, a regulatory filing.
The consequence matrix sets the ceiling on action scope. The escalation criteria in Section 7.2 decide whether a given design may approach it. A high-consequence decision caps the action scope whatever the agency class of the design.
8. Adoption horizons
This section is the author’s proposal. The durations are planning assumptions, not findings.
| Horizon | Focus | Deliverables | Exit criteria |
|---|---|---|---|
| H1 Foundations (first six months) | Vocabulary and a paved route | Taxonomy published; classification code in every repository manifest; AI gateway and evaluation harness as G2 services; AI inventory; ADR field list; three first blueprints | All new AI work classified; three blueprints live |
| H2 Composition (months 6–18) | Standard interfaces and control inheritance | Tool gateway and tool registry; first G3 tools and agents; control bundles per risk tier approved by the second line; trajectory evaluations; further blueprints | Reuse ratio and control inheritance rate tracked monthly; one agent reused by two departments |
| H3 Scale (months 18–36) | Agent estates and self-service | Agent registry; dynamic agent selection; multi-agent blueprints; agents that scaffold new use cases through gated contribution | Most new applications instantiated from blueprints |
Where an institution has systems that will be high-risk under Annex III of the EU AI Act, H2 has a fixed outer date: the requirements apply from 2 December 2027 [1].
The taxonomy needs one named owner who publishes versions, reviews it at least annually and accepts change requests from delivery teams. Taxonomies attract committees; one accountable architect is enough.
Appendix A. The pattern catalogue
The codes are a proposed internal vocabulary. Pattern names across vendors are not standardised. Each entry gives the context in which the pattern applies and its main cost. The full record in a factory’s catalogue should follow the context–forces–solution–consequences format of the CSIRO Data61 catalogue [12], because a pattern entry that lists only benefits is marketing.
A.1 Model interaction (MI)
| Code | Pattern | Use when | Main trade-off |
|---|---|---|---|
| MI-TMPL | Prompt template with system instructions | Any model call | Brittle across model versions |
| MI-FEW | Few-shot or exemplar prompting | Format or style must be learned from examples | Token cost; exemplars drift |
| MI-STRUCT | Structured output (schema, function signature) | Downstream code consumes the output | Schema design effort |
| MI-REASON | Extended reasoning | Multi-step analysis, calculation, planning | Latency and cost |
| MI-DECOMP | Task decomposition within one call | Moderately complex tasks | Limited compared with chaining |
| MI-SELFCHK | Self-check or self-consistency | Higher accuracy needed and no external judge | Multiplies calls |
| MI-CTX | Context engineering: selection, compression and isolation of context | Long sessions, many sources, agents | Requires design discipline |
| MI-CACHE | Prompt and semantic caching | Repeated prefixes or queries | Staleness; leakage between users |
| MI-ROUTE | Model routing and cascading (small model first, escalate) | Cost-sensitive traffic of mixed difficulty | Depends on router accuracy |
A.2 Knowledge and grounding (KN)
| Code | Pattern | Use when | Main trade-off |
|---|---|---|---|
| KN-CTXSTUFF | Long-context stuffing | Small, bounded corpus per request | Cost; content in the middle is under-weighted |
| KN-RAG | Basic retrieval-augmented generation | Questions over a document corpus | Retrieval quality caps answer quality |
| KN-RAG+ | Advanced RAG: hybrid search, query rewriting, reranking, metadata filters | Enterprise corpora with varied queries | More components to tune |
| KN-GRAPH | Knowledge-graph grounding | Questions about relationships and entities; multi-hop reasoning | Graph construction and maintenance |
| KN-SQL | Structured-data grounding through a semantic layer | Questions over tables and metrics | Correctness and authorisation risk |
| KN-AGRAG | Agentic RAG: the agent decides what, where and whether to retrieve | Heterogeneous sources, exploratory research | Less predictable; harder to evaluate |
| KN-CITE | Citation and attribution enforcement | Regulated outputs, audit, client communications | Some answers become shorter |
| KN-PERM | Permission-aware retrieval: document-level access control at query time | Any confidential corpus | Index design complexity |
| KN-MEM | Long-term memory | Personalisation, long-running agents | Privacy, poisoning and retention obligations |
A.3 Model adaptation (AD)
| Code | Pattern | Use when | Main trade-off |
|---|---|---|---|
| AD-NONE | Off-the-shelf model | Default | Vendor dependency |
| AD-PEFT | Parameter-efficient fine-tuning | A stable, narrow task where prompting has plateaued | Training-data governance; re-tuning on every model upgrade |
| AD-DISTIL | Distillation into a small model | High volume, latency or cost pressure, or an on-premises need | Upfront effort; quality ceiling |
| AD-PREF | Preference tuning | A specific behavioural alignment is required | Specialist skills; evaluation burden |
| AD-CPT | Continued pre-training or an own model | A unique language or data advantage | Very high cost; in my judgement out of reach for most financial institutions |
| AD-CLASSIC | Classical or predictive ML model | Numeric prediction, scoring, forecasting | A separate MLOps lifecycle |
A.4 Workflow patterns (WF) — agency class A2
The first five follow Anthropic’s vocabulary [11].
| Code | Pattern | Use when | Main trade-off |
|---|---|---|---|
| WF-CHAIN | Prompt chaining with programmatic gates | The task splits cleanly into fixed steps | Rigid; latency adds up |
| WF-ROUTE | Routing: a classifier sends input to a specialised handler or model | Distinct input categories need different handling | Misroutes need a fallback path |
| WF-PAR-SECT | Parallelisation by sectioning | Independent subtasks, or a guardrail beside the main call | Aggregation logic |
| WF-PAR-VOTE | Parallelisation by voting | Higher confidence is needed, as in compliance screening | Cost multiplies |
| WF-ORCH | Orchestrator–workers: a model decomposes, workers execute, results are synthesised | Subtasks are not known in advance | Borders on agentic; harder to test |
| WF-EVAL | Evaluator–optimiser loop | Clear quality criteria, and iteration helps | Needs exit conditions |
| WF-HITL | Human approval checkpoint | High-stakes, subjective or regulated decisions | Needs a task inbox and a service level |
| WF-PIPE | Document or data pipeline with model steps | Extraction, classification, enrichment at volume | Batch-oriented; error queues required |
A.5 Single-agent patterns (AG) — agency class A3
| Code | Pattern | Use when | Main trade-off |
|---|---|---|---|
| AG-TOOL | Tool-using agent | Multi-step tasks requiring look-ups or actions | Tool-selection errors grow with tool count |
| AG-REACT | Reason–act–observe loop | Dynamic tasks needing continuous re-planning | One bad observation propagates |
| AG-PLAN | Plan, then execute, with optional re-planning | Longer tasks where a reviewable plan helps oversight | Plans go stale |
| AG-REFLECT | Reflection or self-critique | Quality-sensitive generation | Extra calls |
| AG-CODE | Code-executing agent in a sandbox | Data analysis, transformations, calculations | Sandbox security is mandatory |
| AG-COMPUTER | Browser or computer-use agent | No API exists for a legacy system | Fragile; the highest exposure to injection |
| AG-BOUNDED | Agent with an operational envelope: allowed tools, budgets, action scope, escalation rules | Every production agent in a regulated institution | Envelope design effort |
A.6 Multi-agent patterns (MA) — agency class A4
A4 is assigned because the design contains several separately owned agents (Section 4.4). The third column is the one a reviewer should read first: the first three patterns are code-orchestrated and keep most of a workflow’s predictability. Names follow Microsoft’s and Google Cloud’s guides [6][9].
| Code | Pattern | Who decides the next step | Use when | Main trade-off |
|---|---|---|---|---|
| MA-SEQ | Sequential pipeline of agents | Code | A fixed multi-stage process with specialised agents | Inflexible; a stall in one stage stalls the line |
| MA-CONC | Concurrent fan-out and fan-in | Code | Independent analyses to be merged | Conflict resolution at the merge must be designed |
| MA-LOOP | Loop or generator–critic | Code | Iterative refinement to a quality bar | Infinite-loop risk without exit conditions |
| MA-HANDOFF | Handoff between specialist agents | Agents | A conversation moves across domains | Context loss at handoff |
| MA-SUPER | Supervisor or coordinator | Model | Varied requests needing dynamic delegation | The coordinator is a bottleneck and a cost driver |
| MA-HIER | Hierarchical task decomposition | Model, at several levels | Ambiguous, research-style problems | The highest debugging effort |
| MA-GROUP | Group chat or debate with a manager | Model | Deliberation, review boards, red-team debate | Verbose; convergence is not guaranteed |
| MA-MAGENTIC | Magentic: a manager builds and adapts a task ledger | Model | Open-ended problems without a known plan | The least predictable orchestrated pattern |
| MA-SWARM | Swarm or peer-to-peer | Emergent | Creative exploration | Hard to govern; not for regulated processes |
| MA-DYNSEL | Dynamic agent selection from a catalogue | Model plus search | Large agent estates | Works only as well as the agents are described |
Dynamic selection matters to a factory. Microsoft describes selecting relevant agents from a pool that can grow to hundreds, using vector similarity over stored sample utterances for each agent to produce a shortlist before a model chooses [26]. It works only if agents are catalogued with the metadata of Section 4.
A.7 Integration and interoperability (IN)
| Standard | Connects | Status as of November 2026 | Role in the factory |
|---|---|---|---|
| Model Context Protocol (MCP) | Agents and applications to tools, data and prompts | A founding project of the Linux Foundation’s Agentic AI Foundation, announced 9 December 2025, alongside goose and AGENTS.md; “more than 10,000 published MCP servers” at that date [15] | Default contract for every reusable tool and data access |
| Agent2Agent (A2A) | Agent to agent across vendors and frameworks | Hosted by the Linux Foundation; more than 150 supporting organisations and integration in Google, Microsoft and AWS platforms as of 9 April 2026 [16]; accepted as a Growth Stage project of the Agentic AI Foundation on 27 August 2026 [30] | Contract for reusable agents and delegation across departments |
| AGENTS.md | Coding agents to repository conventions | Agentic AI Foundation project [15] | Complements machine-readable repository manifests |
| OpenTelemetry generative AI semantic conventions | Traces of model, agent and tool activity | Maintained in a dedicated OpenTelemetry repository, covering agent spans, MCP, metrics and events; the index page states no stability level [21] | Vendor-neutral observability backbone; expect change |
| Code | Pattern | Use when | Main trade-off |
|---|---|---|---|
| IN-GW | AI gateway: single egress for all model calls (Section 5.1) | Always, from the first application | Must be run as a product |
| IN-MCPGW | Tool gateway: registry, authentication and authorisation, allow-lists, rate limits and audit for tools | More than a handful of tools or agents | An extra hop; demands tool-metadata discipline |
| IN-A2AGW | Agent gateway and agent registry | Agents reused across teams or vendors | Identity federation between agents |
| IN-FACADE | Anti-corruption façade over legacy systems | Core systems with unstable or unsafe APIs | Build effort per system |
| IN-EVENT | Event-driven agents | Monitoring, back-office automation | Idempotency and replay design |
| IN-ASYNC | Long-running task with durable execution and callbacks | Tasks running minutes to days | Needs a workflow engine and a state store |
| IN-EMBED | Assistant embedded in a business application | Users should not switch context | Integration effort per application |
| IN-SIDECAR | Guardrail or policy sidecar beside each agent | Uniform enforcement close to execution | Operational overhead |
| IN-OBO | On-behalf-of identity propagation | The agent acts with a user’s entitlements | Token-exchange complexity |
| IN-NHI | Dedicated non-human identity per agent, least privilege | The agent acts under its own authority | Lifecycle management of agent identities |
| IN-CODIFY, IN-DELEGATE | Translocation (Section 5.2) | — | — |
Integration patterns are where reuse compounds: a governed MCP server written once can serve every later application, while a hand-coded connector serves one.
A.8 Trust, governance and operations (TR)
Security and safety. The right-hand column maps each pattern to the entry it chiefly mitigates in the OWASP Top 10 for Agentic Applications for 2026, published on 9 December 2025 [19]. Entry names are as given in OWASP’s announcement of that date [20]. The mapping is my reading, not OWASP’s.
| Code | Pattern | Chiefly mitigates |
|---|---|---|
| TR-INGRD | Input guardrails: injection detection, personal-data detection, topic filters | ASI01 Agent Goal Hijack |
| TR-SPOTLIGHT | Separation of trusted instructions from untrusted content | ASI01 Agent Goal Hijack, by the indirect-injection route |
| TR-TOOLPOL | Tool allow-lists, parameter validation, typed tool contracts | ASI02 Tool Misuse |
| TR-LEASTPRIV | Least-privilege agent identities and short-lived credentials | ASI03 Identity & Privilege Abuse |
| TR-SUPPLY | Provenance checks on models, datasets, MCP servers and dependencies | ASI04 Agentic Supply Chain Vulnerabilities |
| TR-SANDBOX | Sandboxed code and browser execution | ASI05 Unexpected Code Execution |
| TR-MEMHYG | Memory hygiene: provenance, time-to-live, write validation | ASI06 Memory & Context Poisoning |
| TR-BLAST | Blast-radius caps: budgets, rate limits, circuit breakers, kill switch | ASI08 Cascading Failures; ASI10 Rogue Agents |
| TR-OUTGRD | Output guardrails: grounding and citation checks, toxicity and data-leak filters | ASI09 Human-Agent Trust Exploitation, in part; also output risks that the agentic list does not enumerate |
Two entries are mitigated by patterns in other families: ASI07 Insecure Inter-Agent Communication by the agent gateway (IN-A2AGW), and ASI10 Rogue Agents additionally by the rule that unregistered agents obtain no credentials (TR-EXEC-REG).
Governance, evaluation and operations.
| Group | Pattern | Description |
|---|---|---|
| Governance | AI inventory and use-case register | Every model, agent, tool and application registered with its classification code, owner and risk tier |
| Governance | Named human accountability | Each agent has an accountable person who defines its scope and guardrails, instead of approving each output |
| Governance | Risk-tiered control bundles | Controls selected automatically from risk tier, agency class and data class |
| Governance | Policy as code | Guardrail, routing and access policies versioned and tested like software |
| Governance | Evidence by construction | Traces, evaluation results and approvals exported automatically as audit evidence |
| Governance | Independent review | Second-line validation of high-tier models and agents before production, and periodically |
| Governance | Third-party AI management | Due diligence, exit plans and concentration tracking for model and platform providers |
| Evaluation | Golden datasets | Curated, versioned test sets per use case, owned by a business expert |
| Evaluation | Offline evaluation in the pipeline | Every prompt, model or tool change runs regression evaluations before merge |
| Evaluation | Model-as-judge with calibration | Model graders checked periodically against human labels |
| Evaluation | Trajectory evaluation | Agents judged on the path taken — tools, order, cost — not only on the final answer |
| Evaluation | Red teaming | Scheduled adversarial testing, including indirect injection through documents and emails |
| Evaluation | Online evaluation and feedback | Sampling of production traffic, user feedback, drift detection |
| Evaluation | Replay testing | Recorded agent actions re-run in isolation before permissions are widened |
| Operations | End-to-end tracing | Every model call, retrieval, tool call and handoff linked in one trace |
| Operations | Registries | Versioned prompts, models and agents with lineage to evaluation results (Section 5.4) |
| Operations | Progressive delivery | Shadow mode, canary releases and feature flags for prompts, models and agents |
| Operations | Cost guardrails | Token budgets per application; run cost separated from build cost |
| Operations | Model lifecycle management | Planned upgrades and retirements with automated re-evaluation (Section 5.3) |
| Operations | Incident management for AI | An AI-specific incident taxonomy aligned with the institution’s ICT incident classification |
The FINOS AI Governance Framework is a reasonable seed for the control bundles: version 2.0 added an agentic risk catalogue and is cross-referenced to OWASP, MITRE and the EU AI Act among other frameworks [18].
Limitations
- The taxonomy is a proposal, not a finding. The layers, families, classes, codes and metrics are a synthesis by one author. They have not been validated by an independent study, and the trade-off ratings in Section 7.3 are qualitative judgements.
- The decision sequence has not been tested for coverage. Section 7.1 repairs one known gap (designs that need no enterprise facts but more than one step). There may be others.
- The EU AI Act is cited only through the amending regulation. The dates and articles quoted were read in Regulation (EU) 2026/1744 [1]. The consolidated text of Regulation (EU) 2024/1689 was not opened.
- OWASP’s version label was not confirmed. The document is cited by its published title and date; the pages opened do not state a version number.
- Vendor guidance is Azure-heavy. The gateway, lifecycle and operations guidance cited in detail is Microsoft’s. The patterns are vendor-neutral, but the equivalent AWS and Google Cloud service behaviour, including where inference runs, was not verified for this paper.
- Evidence on multi-agent systems in production is thin. I found no published, method-backed evidence on the reliability of model-orchestrated multi-agent systems in regulated finance. That absence is why the framework keeps A4 behind the strictest escalation criteria, and it is also a reason to treat the framework’s caution as provisional.
- Protocols and dates move. Protocol status, vendor page content and regulatory dates were correct on 10 November 2026 and should be re-checked at each review of the taxonomy.
- Not legal advice. Regulatory statements are architectural orientation. Legal and compliance functions own the interpretation.
References
All web sources were accessed on 10 November 2026 unless stated otherwise.
- Regulation (EU) 2026/1744 of the European Parliament and of the Council of 8 July 2026 amending Regulations (EU) 2024/1689, (EU) 2018/1139 and (EU) 2023/1230 as regards the simplification of the implementation of harmonised rules on artificial intelligence (Digital Omnibus on AI). OJ L, 2026/1744, 24.7.2026. Article 1, points (5), (39) and (40), amending Articles 4, 111 and 113 of Regulation (EU) 2024/1689; Article 4 of the amending regulation (entry into force). https://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=OJ:L_202601744
- Regulation (EU) 2022/2554 of the European Parliament and of the Council of 14 December 2022 on digital operational resilience for the financial sector (DORA). OJ L 333, 27.12.2022, p. 1. Articles 28(3), 28(8) and 64. https://eur-lex.europa.eu/eli/reg/2022/2554/oj/eng Read in the Official Journal text on EUR-Lex, 10 November 2026.
- FINMA. “FINMA guidance on governance and risk management when using artificial intelligence” (FINMA Guidance 08/2024), 18 December 2024. https://www.finma.ch/en/news/2024/12/20241218-mm-finma-am-08-24/
- Prudential Regulation Authority. “SS1/23 – Model risk management principles for banks”. Supervisory Statement, first published 17 May 2023; the version current on the access date is dated 23 April 2026. https://www.bankofengland.co.uk/prudential-regulation/publication/2023/may/model-risk-management-principles-for-banks-ss
- Amazon Web Services. “Generative AI Lens – AWS Well-Architected Framework”. Publication date 19 November 2025. https://docs.aws.amazon.com/wellarchitected/latest/generative-ai-lens/generative-ai-lens.html
- Microsoft Learn. “AI agent orchestration patterns”, Azure Architecture Center. Page dated 12 February 2026. https://learn.microsoft.com/en-us/azure/architecture/ai-ml/guide/ai-agent-design-patterns
- Microsoft Learn. “Baseline Microsoft Foundry chat reference architecture”, Azure Architecture Center. Page dated 17 June 2026. https://learn.microsoft.com/en-us/azure/architecture/ai-ml/architecture/baseline-microsoft-foundry-chat
- Microsoft Learn. “Access Foundry Models and other language models through a gateway”, Azure Architecture Center. Page dated 30 April 2026. https://learn.microsoft.com/en-us/azure/architecture/ai-ml/guide/generative-ai-gateway
- Google Cloud. “Choose a design pattern for your agentic AI system”, Cloud Architecture Center. https://docs.cloud.google.com/architecture/choose-design-pattern-agentic-ai-system
- Sabhlok, S. “Powering AI Factories with NVIDIA Enterprise Reference Architectures”. NVIDIA Developer Blog, 29 April 2026. https://developer.nvidia.com/blog/powering-ai-factories-with-nvidia-enterprise-reference-architectures/
- Anthropic. “Building effective agents”, 19 December 2024. https://www.anthropic.com/engineering/building-effective-agents
- Liu, Y., Lo, S. K., Lu, Q., Zhu, L., Zhao, D., Xu, X., Harrer, S. and Whittle, J. “Agent Design Pattern Catalogue: A Collection of Architectural Patterns for Foundation Model based Agents”. arXiv:2405.10467v4, 6 November 2024. https://arxiv.org/abs/2405.10467
- Weber, I. “Large Language Models as Software Components: A Taxonomy for LLM-Integrated Applications”. arXiv:2406.10300, 13 June 2024. https://arxiv.org/abs/2406.10300
- Grau, M., Reinhard, P., Bauer-Hänsel, I. and Blohm, I. “Rethinking AI Design Practices: A Reference Architecture for Generative AI Systems”. European Conference on Information Systems (ECIS) 2025, Amman, Jordan. https://alexandria.unisg.ch/server/api/core/bitstreams/b0d0cc58-d939-4f8d-a14a-2475853949c8/content
- Linux Foundation. “Linux Foundation Announces the Formation of the Agentic AI Foundation (AAIF)”. Press release, 9 December 2025. https://www.linuxfoundation.org/press/linux-foundation-announces-the-formation-of-the-agentic-ai-foundation
- Linux Foundation. “A2A Protocol Surpasses 150 Organizations, Lands in Major Cloud Platforms, and Sees Enterprise Production Use in First Year”. Press release, 9 April 2026. https://www.linuxfoundation.org/press/a2a-protocol-surpasses-150-organizations-lands-in-major-cloud-platforms-and-sees-enterprise-production-use-in-first-year
- Kang, R. and Diponegoro, Y. “Governance Gaps in Agent Interoperability Protocols: What MCP, A2A, and ACP Cannot Express”. arXiv:2606.31498v1, 30 June 2026. https://arxiv.org/abs/2606.31498
- FINOS. “FINOS AI Governance Framework v2.0 – Addressing Agentic AI Risks in a Rapidly Evolving Landscape”, 12 November 2025. https://www.finos.org/blog/finos-ai-governance-framework-v2.0-addressing-agentic-ai-risks-in-a-rapidly-evolving-landscape
- OWASP GenAI Security Project. “OWASP Top 10 for Agentic Applications for 2026”, 9 December 2025. https://genai.owasp.org/resource/owasp-top-10-for-agentic-applications-for-2026/
- OWASP GenAI Security Project. “OWASP Top 10 for Agentic Applications – The Benchmark for Agentic Security in the Age of Autonomous AI”. Announcement, 9 December 2025. https://genai.owasp.org/2025/12/09/owasp-top-10-for-agentic-applications-the-benchmark-for-agentic-security-in-the-age-of-autonomous-ai/
- OpenTelemetry. “Generative AI semantic conventions” (index page, marked as moved to the OpenTelemetry GenAI repository). https://opentelemetry.io/docs/specs/semconv/gen-ai/
- Microsoft Learn. “Understanding deployment types in Microsoft Foundry Models”. Page dated 6 August 2026. https://learn.microsoft.com/en-us/azure/foundry/foundry-models/concepts/deployment-types
- Microsoft Learn. “Design and develop a RAG solution on Azure”, Azure Architecture Center. Page dated 17 December 2025. https://learn.microsoft.com/en-us/azure/architecture/ai-ml/guide/rag/rag-solution-design-and-evaluation-guide
- Microsoft Learn. “Design to support foundation model life cycles”, Azure Architecture Center. Page dated 13 May 2025. https://learn.microsoft.com/en-us/azure/architecture/ai-ml/guide/manage-foundation-models-lifecycle
- Microsoft Learn. “Generative AI operations for organizations with MLOps investments”, Azure Architecture Center. Page dated 16 September 2025. https://learn.microsoft.com/en-us/azure/architecture/ai-ml/guide/genaiops-for-mlops
- Microsoft Learn. “Dynamic AI agents at scale pattern”, Azure Architecture Center (solution idea). Page dated 20 May 2026. https://learn.microsoft.com/en-us/azure/architecture/solution-ideas/articles/ai-agents-at-scale
- QuantumBlack, AI by McKinsey. “How we enabled Agents at Scale in the Enterprise with the Agentic AI Mesh”. Medium, 12 June 2025. https://medium.com/quantumblack/how-we-enabled-agents-at-scale-in-the-enterprise-with-the-agentic-ai-mesh-architecture-baf4290daf48
- Vuppala, H., Ward, T., Roberts, R. and Fountaine, T. “How can the public sector meet the AI moment?”. McKinsey & Company, 18 August 2026. https://www.mckinsey.com/industries/public-sector/our-insights/rewiring-public-sector
- Valmis, T. “McKinsey Rewired Software Delivery for the Agentic Era. The Enforcement Layer Isn’t in the Org Chart.” Mneme HQ, June 2026 (vendor blog). https://mnemehq.com/insights/mckinsey-agentic-software-delivery-governance/
- A2A Project. “A New Chapter for A2A: Joining the Agentic AI Foundation”. Blog, 27 August 2026. https://a2a-protocol.org/latest/blog/2026/08/27/a-new-chapter-for-a2a-joining-the-agentic-ai-foundation/