KHEIREDDINE RIAHI

Togaf framework for AI architecture

AI ARCHITECTURE · REFERENCE DOCUMENT

AI enterprise architecture methodological guide — Based on TOGAF ADM, ArchiMate and C4 Model

Positioning: Proposed framework for designing, documenting, governing and evolving information systems integrating artificial intelligence. This is a proposed methodological adaptation, and not an official publication or certification of The Open Group.

Summary

1. Purpose, Scope and Guiding Principles

2. Fundamentals of AI Business Architecture

3. AI Strategy and Business Architecture

4. AI Architecture Metamodel

5. Data & AI architecture

6. AI and Agentic AI application architecture

7. Technological architecture and platforms

8. Security, governance, risks and compliance

9. Adaptation of TOGAF ADM to AI projects

10. ArchiMate modeling and C4

11. Reference architectures and practical cases

12. Deliverables, operational governance and roadmap

Appendices: reusable models, glossary and references

Reference architecture of a multi-agent platform integrating RAG, GraphRAG, orchestration, models and operations.
Reference architecture of a multi-agent platform integrating RAG, GraphRAG, orchestration, models and operations.

Executive summary

Artificial intelligence should not be treated as a simple technology added to the application portfolio. It introduces specific assets, lifecycles, risks and dependencies: training and context data, models, prompts, embeddings, vector bases, agents, tools, evaluations, guardrails and supervision mechanisms.

The AI ​​Enterprise Architecture Framework (AI-EAF) provides a cohesive framework for connecting business strategy with AI capabilities, data, applications, models and technical platforms. It relies on TOGAF ADM logic to organize the transformation, ArchiMate to represent business relationships, and C4 to describe software structures at different zoom levels.

Central idea
TOGAF organizes the approach and governance of the enterprise architecture; ArchiMate expresses the relationships between capabilities, processes, data, services and technologies; C4 concretely describes software boundaries, containers and components. The three approaches are complementary.

Proposed structuring decisions

Treat AI as a business capability, not just a portfolio of models.

Create a governed catalog of AI use cases and a map of the relevant business capabilities.

Clearly separate Data, AI/ML, Application, Platform, Security and Business responsibilities.

Industrialize the life cycle of AI models and applications (MLOps, LLMOps, AIOps as needed).

Establish governance based on risk, traceability, evaluation and human supervision.

Reuse building blocks and reference architectures rather than multiplying isolated solutions.

1. Purpose, scope and guiding principles

1.1 Objectives

The framework aims to help an organization move from local AI experiments to a coherent, secure, measurable and industrializable AI capability system.

Align AI investments with strategic objectives and business outcomes.

Define reference architectures and technological standards.

Master data, models, prompts, agents and their dependencies.

Make solutions observable, evaluable, explainable when necessary and reversible.

Organize architectural decisions and compliance checks.

Accelerate projects with reusable patterns and components.

1.2 Scope

Included

Outside scope / processed by other disciplines

Predictive and descriptive AI: ML, scoring, classification, forecasting, anomaly detection

Detailed definition of business policies independently of AI

AI generative: LLM, RAG, multimodal generation, assistants

Fundamental research and mathematical design of new models

Agentic AI: agents, orchestration, tools, memory, delegation

Comprehensive management of user stations and office support

Data, pipelines, feature stores, vector stores, model registry

Replacement of global cybersecurity or data management policies

Platforms, integration, APIs, observability, exploitation

Contractual choices or purchases, which remain subject to sourcing processes

1.3 AI architecture guiding principles

ID

Principle

Verifiable consequence

AI-01

Business first

Each AI solution is linked to a business objective and indicator.

AI-02

Data governance by design

The provenance, quality, rights and retention of the data are known.

AI-03

Model-agnostic where feasible

Models are accessible via standardized interfaces and contracts where relevant.

AI-04

Human accountability

Human accountability is defined for impact decisions.

AI-05

Secure by design

Identity, authorization, encryption, filtering and logging are built in by design.

AI-06

Observable and evaluable

Quality, cost, latency, drift, security and utility are measured.

AI-07

Reusable building blocks

Common patterns, components and platforms are preferred.

AI-08

Lifecycle management

Data, models, prompts, agents and configurations are versioned and governed.

AI-09

Proportionate autonomy

An agent's level of autonomy is limited by risk and controls.

AI-10

Exit and portability

Supplier dependencies and migration possibilities are documented.

1.4 Typology of solutions

Family

Examples

Dominant architectural questions

Analytics / augmented BI

Sales forecasting, segmentation, detection

Data quality, bias, explainability, performance

Machine Learning

Scoring, classification, recommendation

Feature engineering, training, registry, drift

Generative AI

Summary, extraction, writing, Q&A

LLM selection, prompts, grounding, evaluation

RAG

Search in internal corpora

Ingestion, chunking, embeddings, ACLs, citations

Agentic AI

Assistant running a multi-step process

Allowed tools, scheduling, memory, action limits

Multimodal AI

Image, audio, video, document analysis

Formats, size, confidentiality, cost, latency

2. Fundamentals of AI enterprise architecture

2.1 From IS architecture to AI architecture

An AI architecture connects a business need to a set of technical and organizational capabilities. It must explain the complete value chain: source data, preparation, model, orchestration, exposed service, user interaction, supervision and measurement of results.

Archimate map of an agentic AI architecture

ArchiMate map of an agentic AI architecture presenting the business, application, data, technology and governance layers.

2.2 The components of an AI solution

Component

Role

Examples / points of attention

Data source

Information source

ERP, CRM, EDM, sensors, bases relational, events

Data pipeline

Ingestion, transformation and control

ETL/ELT, streaming, quality, lineage

Dataset / corpus

Data used by the model or RAG

Rights, classification, freshness, version

Feature Store

ML variable management

Offline/online consistency, reuse

Model / LLM

Inference engine

Proprietary model, open weights, specialized model

Prompt / template

Structured instruction for an LLM

Version, tests, parameters, security

Embedding model

Semantic projection of contents

Dimension, version, compatibility

Vector store

Vector search index

Filtering, ACL, update, high availability

Orchestrator / Agent

Coordination of steps and tools

LangGraph, workflows, stopping rules

Tool / API

Action or capability called by the agent

Contract, authentication, authorization, idempotence

AI Gateway

Model access control point

Routing, quotas, logs, policies, cost

Evaluation & monitoring

Quality and risk measurement

Test sets, metrics, alerts, human reviews

2.3 Classic AI, generative and agentic

Dimension

Classic ML

Generative AI

Agentic AI

Purpose

Predict / classify / optimize

Generate or transform content

Achieve a goal via multiple steps and tools

Inputs

Structured variables or signals

Text, image, audio, context

Goal, context, state, available tools

Output

Score, class, value

Text, code, image, structure

Next step decision, action or result

Control

Pipeline and thresholds

Prompt, filters, validation

Orchestration, permissions, limits and monitoring

Risks

Bias, drift, prediction errors

Hallucination, escape, prompt injection

Unwanted actions, escalation, loop, abusive delegation

Essential distinction
A system that uses an LLM is not automatically agentic. It becomes agentic when it chooses or plans steps, uses tools, maintains a state or adapts its behavior to achieve a goal, within defined limits.

3. AI Strategy and Business Architecture

3.1 Starting from business results

The AI ​​portfolio should be built from business problems, not from the availability of a technology. Each use case must explain the process concerned, the users, the expected value, the necessary data, the level of risk, the costs and the industrialization conditions.

3.2 Qualification sheet for an AI Use Case

Section

Expected content

Identity

Name, sponsor, business owner, domain, version, status

Problem

Current situation, irritants, affected population, process

Expected result

Measurable benefit, reference and target KPI

AI approach

ML, GenAI, RAG, agent, vision, audio or combination

Data

Sources, sensitivity, quality, rights, location, retention

Decision / action

Recommendation, generation, assisted decision or automated action

Risk

Potential impact, data subjects, security, compliance

Operation

SLO, volumetry, latency, cost, support, continuity

Validation

Business metrics, technical tests, human validation, go/no-go criteria

3.3 AI Capability Map

Business capacity

Associated AI capacity

Example services

Customer relations

Enhanced understanding and assistance

Request classification, advisor assistant, interaction summary

Finance / control

Augmented analysis and detection

Anomaly detection, forecasting, invoice extraction

Human resources

Assisted document processing

Research in procedures, writing assistance under control

Operations

Optimization and anticipation

Predictive maintenance, load forecasting

Legal / compliance

Controlled research and synthesis

Documentary RAG, monitoring, clause extraction

3.4 Portfolio prioritization

Evaluate each use case based on value, feasibility, risk, data availability and total cost. A prioritization matrix must not hide the eliminatory criteria: absence of legal basis, unauthorized data, uncontrolled risks or absence of owner.

Criterion

Question

Indicative scale

Business value

Is the gain significant and measurable?

1 to 5

Data feasibility

Is the data accessible and usable?

1 to 5

Technical feasibility

Is the performance achievable?

1 to 5

Adoption

Can users integrate the solution?

1 to 5

Risk

Is the residual risk acceptable?

Low / medium / high

Full cost

Is the cost of inference, operation and control sustainable?

Estimated budget

3.5 Example: internal documentary assistant

Objective: allow employees to search for answers in an internal documentary corpus, with cited sources and control of authorizations.

Business capability: access reliable and up-to-date information.

AI Use Case: Document research assistant with RAG.

Value: Reduced search time and improved response consistency.

KPI: correctly sourced response rate, average search time, escalation rate, satisfaction.

Limit: Assistant does not make HR, legal or financial decisions; it provides research assistance.

4. AI architecture metamodel

4.1 Purpose of the metamodel

The metamodel defines the architectural objects to be inventoried and the relationships to be traced. It serves as the basis for ArchiMate models, the architecture repository, project governance and traceability between business needs and technical components.

4.2 Proposed entities

Entity

Definition

Key attributes

AI Strategy

AI strategic direction

objectives, principles, horizon, sponsor

AI Capability

Organizational capacity to design or exploit AI

maturity, owner, target level

AI Use Case

Business use cases using AI

value, risk, status, KPI

AI Product

AI product or service maintained over time

owner, users, SLA, version

Data Asset

Data or exploited corpus

source, classification, quality, lineage, rights

Dataset

Prepared and versioned dataset

schema, period, provenance, quality

Feature

Variable used by an ML model

definition, calculation, freshness

AI Model

Trained model or foundation model

family, version, vendor, license, metrics

Prompt Template

Versioned instruction addressed to a model

version, variables, tests, owner

Embedding Model

Vector producing model

version, dimension, language, compatibility

Vector Store

Vector storage and index

engine, index, ACL, retention

RAG Pipeline

Chain indexing and augmented retrieval

steps, corpus, retrieval strategies

AI Agent

Goal-pursuing component with state and tools

role, permissions, limits, memory

Tool

Function or API that an agent can call

contract, scopes, owner, risk

AI Service

AI capability exposed by API or interface

contract, version, SLO, consumer

Evaluation Suite

Tests and benchmark sets

dataset, criteria, thresholds, results

AI Risk

Risk associated with a use, model or system

impact, probability, control, residual

AI Control

Technical or organizational measure

objective, responsible, proof, frequency

4.3 Relations

Diagram of the main relationships of the AI metamodel: business strategy and capabilities, use cases and product, data and models, application services, agents and tools, RAG and risk controls.
Main relationship map of the AI ​​architecture metamodel.

4.4 Modeling rules

Each AI Use Case has a business owner and a solution manager.

Each model in production has an identifier, a version, a provenance and a status.

Each dataset or corpus has a classification, a source and conservation rules.

Each agent has an explicit list of authorized tools and minimum permissions.

Each AI Service documents its contract, consumers, SLOs and limits.

Each significant risk is linked to one or more controls and verifiable proof.

4.5 Mapping to ArchiMate

AI Metamodel Concept

Possible ArchiMate Elements

Note

AI Strategy

Goal, Outcome, Requirement, Principle, Course of Action

Use Motivation for the why.

AI Capability

Capability

Can specialize the enterprise capabilities catalog.

AI Use Case

Business Process, Business Service, Application Service depending on level

A use case is not a single standard ArchiMate element.

AI Product

Product, Business Service, Application Component

Choose according to nature and point of view.

Data Asset

Data Object, Business Object

Distinguish business meaning and application representation.

AI Model

Application Component or Technology Object depending on abstraction

Document model metadata in the repository.

AI Agent

Application Component / Application Function

Represent its behaviors and interactions.

Tool/API

Application Service, Application Interface

Show contract and consumers.

AI Platform

Node, System Software, Technology Service

Describe the execution environment.

AI Risk / Control

Assessment, Constraint, Requirement, Principle

Complete with a dedicated risk register.

5. Data & AI Architecture

5.1 AI data value chain

AI data value chain, from sources to uses Machine Learning and RAG.
AI data value chain, from sources to ML and RAG uses.

5.2 Data Architecture for ML

Define sources, data contracts and quality rules.

Ensure the reproducibility of training and validation datasets.

Check data leaks between training and testing.

Document the features, their business definition, their calculation and their freshness.

Ensure consistency between offline and online features when predictions are real-time.

Trace versions of data, code, parameters and model.

5.3 RAG architecture

RAG architecture presenting document ingestion, search and generation flows.
RAG architecture: ingestion, indexing, search and controlled generation.

Architectural decisions to be documented: chunking strategy, embedding model, vector dimension, hybrid search, metadata filters, reranking, relevance threshold, deleted document management, rights synchronization and citation strategy.

5.4 Data Governance for RAG

Apply access rights at retrieval time, not just at indexing.

Prevent a user from obtaining an extract of a document that they cannot view.

Preserve the provenance, version, date and identifier of the source document.

Remove or reindex content that has been deleted or whose rights have changed.

Evaluate the freshness, coverage and relevance of the corpus.

Do not consider the retrieved documents as reliable instructions: they are unreliable data.

5.5 Data architecture and lifecycle

Step

Expected controls

Collection

Legal basis, rights, purpose, minimization, transfer security

Preparation

Quality, deduplication, normalization, detection of sensitive data

Enrichment

Traceability of transformations and provenance

Storage

Classification, encryption, access, retention, localization

Consumption

Access control, minimization, logging, data contract

Archiving / deletion

Retention periods, deletion propagation, proof

6. AI and Agentic AI application architecture

6.1 Application patterns

Pattern

Description

À favor when

Direct LLM

Application calls an LLM via API

Simple task, low orchestration, limited context

Prompt chain

Multiple sequential prompts/transformations

Deterministic and testable pipeline

RAG

Knowledge retrieval before generation

Answers based on scalable business corpus

Tool calling

The model chooses from defined functions

Controlled access to external data or actions

Agentic workflow

Orchestration of steps, state and conditions

Complex but supervised process

Multi-agent

Specialized agents cooperate

Real need for separation of roles; justified complexity

Human-in-the-loop

Human validation before action or decision

High impact, ambiguity or irreversible action

6.2 Reference architecture of an agent

Reference architecture of an agent with orchestrator, models, memory, tools and controls.
Agentic architecture with orchestration, specialized services and cross-functional controls.

6.3 Agent, workflow and orchestrator

A classic workflow follows a predefined sequence. An agent can select an action or a tool based on the context and the current state. A robust architecture often uses hybrid orchestration: deterministic steps for critical operations, model reasoning for open tasks, and explicit checkpoints.

Question

Architecture decision

Can the agent take action?

Set tool whitelist and minimum permissions.

Is the action reversible?

Require human confirmation for irreversible or sensitive actions.

How to avoid curls?

Set maximum number of steps, timeout, budget tokens and stopping conditions.

How to manage status?

Separate session state, business memory and auditable history.

How to handle errors?

Bounded retries, idempotence, circuit breaker, fallback and escalation.

How to check the quality?

Scenario tests, trajectories, tools called, results and refusals.

6.4 LangGraph Example

Conceptual example of a request processing wizard. The graph orchestrates controlled steps; Using LangGraph is a possible implementation choice, not a framework obligation.

LangGraph with request routing, policy control and human validation.
Example LangGraph to process a request.

6.5 AI API Contracts

Define input and output schema, errors, version and size limits.

Indicate whether the response is probabilistic and what guarantees are not provided.

Document target latency, quotas, cost, availability and retry policy.

Return useful metadata: model_id, version, sources, correlation_id, evaluation status if relevant.

Never expose vendor secrets or internal details in responses.

7. Technological architecture and platforms

7.1 Logical platform view

Logical view of an AI platform with common services, data and foundations.
Logical view of the capabilities of an AI platform.

7.2 Platform capabilities

Domain

Expected capabilities

Model access

Model catalog, routing, versioning, quotas, fallback

Model development

Environments, notebooks, training, experimentation, registry

Data platform

Ingestion, lakehouse, governance, cataloging, quality, lineage

RAG services

Parsing, chunking, embedding, indexing, retrieval, reranking

Agent runtime

Orchestration, state store, tool registry, sandbox, policy enforcement

Security

IAM, secrets, encryption, private network, DLP, audit

Observability

Logs, traces, metrics, quality, latency, cost, drift

Delivery

CI/CD, tests, scans, validation, promotion and rollback

FinOps

Budgets, costs per product, quotas, model optimization and tokens

7.3 Technological choices: criteria rather than catalog

The framework does not prescribe a single supplier. Azure AI Foundry, Azure Machine Learning, AWS Bedrock, SageMaker, Google Vertex AI, open source platforms or internal solutions can be evaluated using the same set of criteria.

Suitability for use cases and required models.

Hosting region, data residency, and contract requirements.

Managing identities, networks, keys and secrets.

Portability of models, formats, APIs and data.

Assessment capabilities, observability and governance.

Total cost: training, inference, storage, transfer, operation and control.

Availability, scalability, quotas, recovery and continuity.

Internal skills, support and ecosystem maturity.

7.4 MLOps and LLMOps

Practical

ML / MLOps

GenAI / LLMOps

Version

Code, data, features, parameters, model

Prompts, models, corpus, embeddings, tools, graphs

Tests

Performance, robustness, bias, drift

Groundedness, relevance, hallucination, security, injection

Deployment

Batch, real-time, edge

API, streaming, orchestration, agents

Monitoring

Drift, accuracy, latency, availability

Response quality, token cost, latency, refusal, tool traces

Rollback

Return to previous model

Return to model, prompt, corpus or previous configuration

8. Security, governance, risks and compliance

8.1 Multi-level governance

Instance

Responsibilities

AI Steering Committee

Priorities, risk appetite, trade-offs, financing

Architecture Board

Principles, standards, exemptions, IS consistency

AI Risk / Compliance Committee

Risk qualification, regulatory requirements, controls

Data Governance

Data ownership, quality, access, conservation and provenance

AI Product Owner

Value, scope, users, business quality and lifecycle

Model Owner

Version, performance, documentation, validation and monitoring

Platform Owner

Availability, security, capacity, costs and operations

8.2 Risk management cycle

Continuous risk management cycle related to artificial intelligence systems.
AI Risk Management Cycle.

8.3 AI risk catalog

Risk

Example

Possible controls

Unauthorized data

Personal data sent to an external service

Classification, minimization, DLP, contracts, filtering

Bias

Result unfavorable to a group

Bias tests, impact analysis, human review

Hallucination

Invented answer presented as factual

RAG, quotes, thresholds, abstention, validation

Prompt injection

Document or user attempts to hijack the model

Instruction/data separation, filtering, sandboxing, testing

Exfiltration

The agent extracts data via a tool

Least privilege, scopes, DLP, exit control

Unauthorized action

Agent modifies a folder without approval

Allowlist, human validation, idempotence, audit

Drift

Performance degradation over time

Monitoring, reevaluation, retraining or model change

Vendor dependency

Shutdown or API/model change

Abstraction, exit strategy, portability testing

Uncontrolled cost

Agentic loops or prompts too much long

Budgets, quotas, step limits, alerts

Unavailability

LLM service or platform unavailable

Fallback, cache, circuit breaker, degraded mode

8.4 Agent-specific security

Separate identity per agent or workload; avoid shared identifiers.

Minimum permissions, limited in time and context.

Tools registered, approved, typed and subject to access control.

Human validation for payments, deletions, external communications or high-impact decisions.

Sandbox for code execution and untrusted content.

Traceability of decisions, tool calls, relevant inputs/outputs and approvals.

Limits on budget, duration, number of iterations and size of manipulated data.

8.5 Governance frameworks to be articulated

NIST AI Risk Management Framework: AI risk management approach.

ISO/IEC 42001: artificial intelligence management system.

ISO/IEC 23894: AI risk management guidelines.

European regulations on AI (AI Act): obligations to be determined depending on the role, the system and its qualification.

GDPR and data protection rules: purpose, legal basis, minimization, rights, security and transfers.

Regulatory prudence
The regulatory qualification of a system depends on the use case, the context, the role of the organization and the applicable texts. This guide does not replace a formal legal analysis or impact analysis.

9. Adaptation of TOGAF ADM to AI projects

The ADM cycle remains the common thread. Adaptation consists of adding questions, controls and deliverables specific to AI, without creating a parallel method that would duplicate existing processes.

ADM phase

Complementary AI work

Recommended deliverables

Preliminary

AI maturity, principles, governance, capabilities and standards

AI Architecture Principles, mandate, governance model

A – Vision Architecture

AI Vision, stakeholders, value, high-level risks

AI Vision, target concept, business case, stakeholder map

B – Business Architecture

Business capabilities, processes, roles, human impacts

AI Capability Map, target process, operating model

C – Data Architecture

Sources, quality, lineage, corpus, rights and life cycle

Data/AI Data Architecture, data contracts, corpus map

C – Application Architecture

AI products, agents, RAGs, APIs, consumer systems

AI Application Portfolio, interactions, contracts

D – Technology Architecture

Platform, models, GPU, network, security, observability

AI Technology Reference Architecture, standards

E – Opportunities & Solutions

Work packages, solution candidates, dependencies and risks

Solution Building Blocks, architecture options

F – Migration Planning

Prioritization, trajectories, capacities to build

AI Roadmap, Transition Architectures, business case

G – Implementation Governance

Reviews, conformity, tests, proofs and exemptions

Architecture Compliance Assessment, decisions

H – Architecture Change Management

Monitoring, evolution of models, costs, risks and uses

Change Request, Model Change Assessment, repository update

9.1 Preliminary phase: prepare the company

Evaluate the maturity of data, architecture, security and exploitation.

Define the AI ​​governance scope and decision-making bodies.

Establish AI principles and modeling standards.

Create the first taxonomies: use cases, models, agents, data and risks.

Define entry and exit criteria for architecture journals.

9.2 Phase A: architectural vision

The vision must explain the business problem, the expected value, the stakeholders, the constraints, the solution options and the major risks. It must not prematurely impose a model or a supplier.

9.3 Phases B and C: Business, Data and Applications

Phase B describes changes in human capabilities, processes, roles and controls. Phase C describes the necessary data and applications, including RAG corpora, models, AI services and integrations with the IS.

9.4 Phase D: Technology

Phase D compares hosting and execution options: managed service, cloud platform, self-hosted model, GPU, Kubernetes, private network, vector storage and observability tools.

9.5 Phases E and F: solutions and migration

Break down the target into Solution Building Blocks and Transition Architectures. Prioritize common foundations: identity, AI Gateway, model catalog, assessment pipeline, observability and data governance.

9.6 Phases G and H: control and evolution

Compliance does not end with production. Any change in model, prompt, corpus, tool, provider or level of autonomy may modify the risk and must trigger a proportionate assessment.

9.7 Decision Gates

Gate

Decision Question

Minimum Evidence

G0 – Intake

Is the need legitimate and sponsored?

Use case, owner, objective sheet

G1 – Qualification

Are the data and risks sufficiently known?

Data assessment, initial risk, AI option

G2 – Architecture

Is the solution consistent and secure?

ArchiMate/C4 views, ADR, controls

G3 – Preproduction

Are quality and safety demonstrated?

Assessment results, tests, recovery plan

G4 – Production

Is the service operable and governed?

SLO, runbook, ownership, monitoring

G5 – Continuous review

Do performance and risks remain acceptable?

KPI, incidents, drift, costs, re-evaluation

10. ArchiMate and C4 modeling

10.1 When to use ArchiMate?

ArchiMate is suitable for representing enterprise-wide motivations, business capabilities, processes, services, applications, data and technologies. It helps show why a solution exists, what capabilities it supports, what services it exposes and what platforms it relies on.

10.2 Recommended ArchiMate views

View

Question answered

Main elements

Motivation

Why invest in AI?

Stakeholder, Driver, Goal, Outcome, Requirement, Constraint

Capability

What business capabilities are increased?

Capability, Value Stream, Resource

Business Process

How is the process changing?

Business Actor, Role, Process, Service, Event

Information Structure

What information is consumed?

Business Object, Data Object, Representation

Application Cooperation

How do applications collaborate?

Application Component, Interface, Service, Data Object

Technology

Where and how does the solution run?

Node, System Software, Technology Service, Artifact

Implementation & Migration

How to reach the target?

Work Package, Deliverable, Plateau, Gap

Risk & Compliance

Which controls address risks?

Assessment, Requirement, Constraint, Principle

10.3 Example of ArchiMate view – RAG assistant

ArchiMate view linking the business need, application services, data and technology of a RAG assistant.
Example ArchiMate relationship chain for a RAG assistant.

This diagram is a simplified logical view. In a formal ArchiMate model, the exact relationships (realization, serving, access, assignment, deployment, influence) must be chosen according to the semantics of the elements and the language version used.

10.4 When to use C4?

C4 complements ArchiMate by describing the software structure of a solution. It is particularly useful for aligning architects, developers, platform and security teams.

Level C4

Use for AI

Example

L1 – System Context

Actors, AI system, external systems

Collaborator, AI Assistant, GED, IAM

L2 – Container

Deployable applications and services

Frontend, API, orchestrator, vector DB, LLM Gateway

L3 – Component

Internal components of a container

Retriever, reranker, prompt builder, policy checker

L4 – Code

Useful implementation details

Classes, modules, interfaces; optional

10.5 Example C4 – L2 RAG containers

C4 view of L2 level presenting the containers and external systems of a RAG solution.
Example C4 level L2 for a RAG assistant.

10.6 ArchiMate / C4 consistency rules

ArchiMate describes the enterprise and the relationships between domains; C4 details a software solution.

System, service, and container names must be consistent across views.

An ArchiMate Application Component can correspond to a system or a C4 container depending on the level of granularity.

Views must have an objective, target audience, scope and validity date.

Do not try to represent all the details in a single diagram: produce several complementary views.

11. Reference architectures and practical cases

11.1 Reference A – Enterprise RAG

Case: internal assistant who answers questions from a corpus of procedures and documents. Responses must be accompanied by references and respect the authorizations.

Zone

Components

Decisions/controls

Channel

Portal or Teams

SSO, user context, experience and feedback

API

Backend RAG

Input validation, rate limit, correlation ID

Retrieval

Hybrid search, reranker, vector store

ACL, threshold, top-k, freshness, deletion

Generation

LLM Gateway, prompt template

Model authorized, versioned prompt, filtering

Knowledge

Ingestion, parsing, chunking

Provenance, metadata, deduplication

Governance

Evaluation, tracing, audit

Groundedness, citation, security, cost

11.2 Reference B – Business agent

Case: agent who qualifies a request, consults systems and prepares a response proposal. The agent does not perform any sensitive action without validation.

Reference architecture of a business agent with CRM tools, human validation and audit.
Architecture reference for a controlled business agent.

11.3 Reference C – Predictive ML

Case: predict delay risk or future demand from historical data. The model provides decision support; users retain responsibility for the action.

Versioned ingestion and staging pipeline.

Feature Store or documented feature layer.

Reproducible training, testing, business validation and model registry.

Inference service with thresholds and missing value handling.

Performance, drift and bias monitoring.

Documented retraining and rollback process.

11.4 Reference D – Shared GenAI Platform

The shared platform provides common services to AI products: access to models, security, quotas, evaluation, observability, catalogs, prompt management and approved tools. Products remain responsible for their specific business value, data and controls.

11.5 Common thread example: intelligent invoice processing

Step

Description

Control

1. Reception

Invoice received by GED or secure channel

Authenticity, antivirus, classification

2. Extraction

OCR / multimodal model extracts fields

Trust score, schema, validation

3. Enrichment

Supplier / order reconciliation

Business control and ERP access

4. Detection

ML reports inconsistencies or anomalies

Thresholds, explanation, false positive monitoring

5. Proposal

GenAI explains discrepancies and prepares a summary

Sources, structured format, filtering

6. Validation

Collaborator validates or corrects

Human-in-the-loop, separation of duties

7. Action

ERP update after validation

Secure API, idempotence, audit

8. Improvement

Feedback powers assessment

Data governance and controlled retraining

12. Deliverables, operational governance and roadmap

12.1 Deliverables catalog

Deliverable

Minimum content

Principal Responsible

AI Architecture Principles

Principles, Rationale, Consequences, Controls

Enterprise Architect

AI Capability Map

Business and AI Capabilities, Maturity, Proprietary

Business / Enterprise Architect

AI Use Case Canvas

Problem, value, data, risk, KPI, owner

Product Owner

AI System Context

Actors, external systems, boundaries

Solution Architect

AI Reference Architecture

Layers, services, patterns and standards

Domain / Solution Architect

AI Metamodel

Entities, attributes, relationships, rules

Enterprise Architect

Data & Model Cards

Data and models, limits, provenance, evaluation

Data / Model Owner

AI Risk Assessment

Risks, controls, residual risk, evidence

Risk / Compliance

ArchiMate Views

Motivation, capabilities, processes, applications, technologies

Architect

C4 Diagrams

Context, containers, components

Solution Architect

Architecture Decision Records

Context, options, decision, consequences

Architect / team

AI Evaluation Report

Test sets, metrics, results, thresholds

AI / QA Lead

AI Operations Runbook

SLO, alerts, incidents, rollback, contacts

Platform / Operations

AI Roadmap

Work packages, dependencies, transitions, milestones

Architecture / Portfolio

12.2 Decision Record (ADR) Architecture Model

Field

Description

ADR ID / title

Unique identifier and summary decision

Status/date

Proposed, accepted, superseded, rejected

Background

Problem, constraints, requirements and assumptions

Options

Evaluated alternatives and criteria

Decision

Option chosen and justification

Consequences

Benefits, costs, risks and debt

Controls

Security, data, operation, compliance

Revision

Event or date triggering a reassessment

12.3 Control indicators

Dimension

Possible indicators

Business value

Time saved, automation rate, quality of service, satisfaction

AI quality

Accuracy, groundedness, relevance, refusal rate, rate of human correction

Security

Incidents, injection attempts, access violations, exfiltration avoided

Reliability

Availability, p95 latency, error rate, tool success

Costs

Cost per transaction, cost per user, tokens, GPU cost

Adoption

Active users, retention, useful usage rate

Governance

Coverage of files, models inventoried, reviews carried out, exemptions opened

12.4 Implementation roadmap in 90 days

Period

Objective

Actions and results

Days 1–15

Scoping

Sponsor, scope, stakeholders, initial inventory, principles

Days 16–30

Foundations

AI capability map, use case canvas, taxonomy, governance, risk model

Days 31–45

Target architecture

Metamodel, ArchiMate views, RAG/agent/ML patterns, platform criteria

Days 46–60

Industrialization

C4 of pilot solution, ADR, evaluation pipeline, security, observability

Days 61–75

Pilot controlled

Business and technical tests, evaluation, validation of controls, runbook

Days 76–90

Scaling up

Feedback, roadmap, building block catalog, architecture committee

12.5 Target operating model

The operating model must avoid the architecture being solely responsible for AI quality. The profession carries purpose and value; Data carries data; AI/ML carries the models and evaluations; IT/Platform carries execution; Security/Privacy/Risk carries out the controls falling within its mandates; the architecture ensures consistency and alignment.

Role

Responsibility

Business Owner

Purpose, value, business arbitrage and business risk acceptance

AI Product Owner

Backlog, experience, adoption, KPI and product lifecycle

Enterprise Architect

Consistency, capabilities, principles, roadmap and governance

Solution Architect

End-to-end design, integration, NFR, ADR and views

Data Owner / Steward

Quality, definition, rights, classification and lineage

ML / AI Engineer

Models, prompts, pipelines, evaluation and experimentation

Platform Engineer

Runtime, CI/CD, observability, availability and costs

Security / Privacy / Risk

Requirements, analyses, controls and specialist advice

Operations

Support, Incident, Change, Capacity and Continuity

Appendix A – AI Use Case Canvas

Field

To be filled in

Name / ID

Sponsor / Business Owner

Business problem

Processes and users concerned

Business capability supported

Result / target KPI

AI approach envisaged

Data / sources / classification

Model / supplier / hosting envisaged

Possible actions and level of autonomy

Initial risks and controls

SLO / cost / volume

Validation criteria / Go-No Go

Appendix B – AI architecture review checklist

☐ The use case is linked to a business objective and capability.

☐ The business owner and technical manager are named.

☐ Data and corpora are inventoried, classified and authorized.

☐ Templates, prompts, embeddings and tools are versioned.

☐ Access rights are enforced down to the document and action level.

☐ Tool calls are throttled, authenticated, and logged.

☐ Impact actions are subject to appropriate validation.

☐ Tests evaluate quality, robustness, security and edge cases.

☐ Limits, uncertainties and rejection conditions are documented.

☐ Costs, quotas, latencies and shutdown conditions are defined.

☐ Production metrics and alerts are operational.

☐ Rollback and degraded mode are documented.

☐ Residual risks and waivers are approved.

☐ ArchiMate and C4 views are consistent and up to date.

Appendix C – Glossary

Term

Synthetic definition

AI Gateway

Controlled entry point for calls to AI models.

Agent

Component that pursues an objective and can select steps or tools according to a state and rules.

Embedding

Vector representation of content in a semantic space.

Feature Store

Repository of reusable variables for ML models.

Groundedness

Extent to which an answer is supported by the sources or context provided.

LLMOps

Practices for industrialization, deployment, evaluation and operation of LLM applications.

MLOps

Machine learning model lifecycle industrialization practices.

Prompt injection

Attempt to hijack the behavior of a model via malicious instructions in the input or context.

RAG

Retrieval-Augmented Generation: generation augmented by the recovery of external content.

Vector Database

Base allowing you to store and search for vectors according to their proximity.

Model Card

Structured documentation of a model, its uses, limits and evaluations.

Human-in-the-loop

Human intervention in a control, validation or decision step.

Appendix D – References to consult

The following references complete this guide. Systematically check the versions and texts applicable at the time of the project.

The Open Group – TOGAF Standard, 10th Edition: https://www.opengroup.org/togaf

The Open Group – ArchiMate: https://www.opengroup.org/archimate-forum/archimate-overview

NIST AI Risk Management Framework: https://www.nist.gov/itl/ai-risk-management-framework

ISO/IEC 42001 – Artificial intelligence management system: https://www.iso.org/standard/81230.html

ISO/IEC 23894 – Artificial intelligence — Guidance on risk management: https://www.iso.org/

European Commission – AI Act: https://digital-strategy.ec.europa.eu/en/policies/regulatory-framework-ai

C4 Model: https://c4model.com/

OWASP Top 10 for LLM Applications: https://owasp.org/www-project-top-10-for-large-language-model-applications/

Conclusion

The AI Enterprise Architecture Framework provides a structured way to bring artificial intelligence into enterprise architecture. Its value lies not in the accumulation of technologies, but in the traceability between strategy, capabilities, use cases, data, models, applications, platforms, risks and results.

To get started, it is recommended to select a concrete use case, produce its qualification sheet, model its Motivation/Capability view in ArchiMate, then its context and its containers in C4. This pilot will make it possible to test the metamodel, controls and deliverables before generalizing the framework.