KHEIREDDINE RIAHI

Agentic architecture with C4 and practical workspace

AI ARCHITECTURE · REFERENCE DOCUMENT

Summary

1. Understanding agentic AI

2. The fundamental components of an agent

3. Operating cycle and differences with traditional approaches

4. Common thread use case: mortgage application

5. Business logic architecture

6. Protocols, data and integrations: RAG, embeddings, MCP, API and events

7. C4 architecture: context, containers, components and sequences

8. Detailed technical design

9. Security, governance and observability

10. Deployment and operation

11. Development workspace: prerequisites and configuration

12. End-to-end practical example

13. Glossary and key takeaways

14. Progressive implementation approach

Scope note: the document covers the themes and decisions identifiable in the session. The code and configuration examples are educational skeletons consistent with the architecture discussed; they do not claim to reproduce word for word each extract from a previous response.

1. Understanding agentic AI

Agentic artificial intelligence refers to an approach in which an AI system does not limit itself to producing a response: it pursues an objective, breaks down the work, chooses actions, uses tools, observes the results and adapts its behavior until it achieves the objective or requests human intervention.

An agent is therefore a software system driven in part by a language model (LLM), to which we add orchestration, memory, planning, access to tools and control capabilities.

Approach

Behavior

Example

Traditional AI

Executes deterministic logic defined in advance.

A rules engine checks an income threshold.

Generative AI

Produces content from an instruction and a context.

An LLM summarizes a credit file.

Agentic AI

Plans and executes multiple steps by mobilizing tools and monitoring results.

An agent collects the documents, queries the systems, analyzes the file and prepares a summary.

Agentic AI does not mean unlimited autonomy. In an enterprise system, permissions, business rules, human validations and action limits must be explicitly defined.

2. The fundamental components of an agent

Component

Role

Example in the credit case

LLM (Large Language Model)

Understands the language, reasons about the context and generates propositions.

Interpret a request and summarize the elements of the file.

Instructions/role

Define the mission, boundaries and output format.

“Analyze the parts without making the final decision.” »

Planning

Breaks the goal into ordered or conditional tasks.

Identify customer, check parts, analyze creditworthiness.

Tools

Allow you to act on external systems.

Consult the CRM, the EDM, the rules repository.

Memory

Retains useful context during or between steps.

Status of the file, tasks already carried out, results of checks.

Orchestrator

Coordinates steps, agents, transitions and errors.

LangGraph controls the processing workflow.

Guardrails

Enforce safety and compliance rules.

Block unauthorized automated credit decision.

Observability

Traces calls, durations, errors, costs and technical decisions.

Follow each step of the analysis and audit the file.

3. Operating cycle

The conceptual cycle used during the exchange can be represented as follows:

PERCEIVE

Receive a request, document or event

↓

REASONING

Understand the objective and the available context

↓

PLAN

Break down the objective into tasks

↓

ACT

Call a tool, an API, a database or another agent

↓

EVALUATE

Check the result, detect errors or missing information

↓

Continue, retry, request human validation or terminate

The cycle can be iterative: an API response can lead to a new literature search; a missing part may trigger an additional request; an anomaly can interrupt the workflow and forward it to an advisor.

3.1 Single agent and multi-agents

Single agent: an agent performs several tasks with a set of tools. This approach is often simpler to develop and govern.

Multi-agent architecture: several specialized agents distribute the work. It can improve modularity, but increases coordination, supervision and testing costs.

Supervisor: Central agent or component that distributes tasks, verifies results, and controls transitions.

3.2 Orchestration frameworks discussed

Technology

Positioning

LangGraph

Construction of agentic workflows in the form of a graph with states, nodes, transitions and checkpoints.

CrewAI

Organization of specialized agents around roles and collaborative tasks.

AutoGen

Framework oriented to conversations and collaborations between agents.

In the common thread architecture, LangGraph is used to illustrate Python orchestration and controllable workflows.

4. Common thread use case: real estate loan application

The business scenario chosen is that of a bank which receives a mortgage loan request. The objective is not to let an AI grant or refuse credit alone, but to automate the preparation and analysis of the file, reduce repetitive tasks and provide the advisor with a reasoned and traceable summary.

4.1 Actors

Actor

Responsibility

Client

Submits the request and supporting documents.

Authorized advisor

Follows the file, examines the summary and takes or has the decision taken according to the delegations.

Administrator / Compliance

Manages authorizations, settings, rules and controls.

4.2 Possible specialist agents

Agent

Mission

Examples of controls

Identification agent

Identify the customer and reconcile the information.

Identity, duplicates, CRM matching.

Document agent

Analyze the transmitted documents.

Presence, readability, dates, consistency of supporting documents.

Financial Officer

Prepare financial indicators.

Income, expenses, debt, remaining to live.

Compliance Officer

Check authorized compliance rules and signals.

Mandatory parts, applicable regulatory controls.

Supervisor agent

Orchestrate and consolidate results.

Completeness, errors, validation requests.

4.3 Affected business systems

CRM: customer data and advisor relationship.

Core Banking / banking system: financial information and products, as authorized.

GED: submission and consultation of supporting documents.

Credit rules repository: deterministic rules and approved thresholds.

LLM platform: understanding and generation, via a controlled gateway.

The final decision remains subject to the business process and the relevant human authority. The agents produce elements of decision support, not an autonomous enforceable decision.

5. Enterprise Logical Architecture

Logical architecture separates user experience, business services, agentic orchestration, AI capabilities, integrations, and data.

Layer

Elements

Responsibility

Channel / experience

React web portal

Capture, deposit of parts, tracking and return.

Business Services

Credit API — Spring Boot

Request management, business rules, security and API exposure.

Agent orchestration

Agent Orchestrator — Python / LangGraph

Workflow management, status, agents, restarts and validations.

AI Services

LLM Gateway, Models, RAG

Controlled access to models, literature search and generation.

Integration

MCP servers, API Gateway, Kafka

Access to tools, external systems and asynchronous communication.

Data

PostgreSQL, document storage, vector store

Transactional data, execution state, documents and embeddings.

Transverse

IAM, audit, observability, secrets

Security, compliance, traceability and operation.

5.1 Separation Principles

The Spring Boot service retains ownership of the transactional business rules and request data.

The Python orchestrator drives the agentic steps, but should not become a second implementation of the credit rules.

The LLM offers interpretations and summaries; deterministic decisions are verified by business services.

Integrations are exposed through controlled interfaces, with minimal rights.

Kafka events decouple long processing from the synchronous portal journey.

6. Protocols, Data and Integrations

6.1 MCP — Model Context Protocol

MCP is a protocol that standardizes the way an AI application discovers and uses external tools or resources. It allows the agent to be separated from the technical implementation of the tools.

User → AI Agent → MCP Client → MCP Server

├── CRM tool

├── EDM tool

├── bank consultation tool

└── document resource

Example: the agent calls a tool “get_customer” or “list_credit_documents”. The MCP server verifies identity and permissions, executes the action through the target system, and returns a structured response. MCP is not an AI model and does not replace REST or Kafka: it provides a capacity access convention.

6.2 REST API and Kafka

Mechanism

Appropriate use

Example

Synchronous REST

Immediate response expected by the caller.

The portal creates a request via POST /applications.

Asynchronous Kafka

Deferred, event-driven and decoupled processing.

Creation triggers credit.application.submitted.

MCP

Standardized exposure of tools to agents.

The agent requests the list of missing parts.

6.3 Embeddings, vector base and RAG

An embedding is a digital representation of text (or other content) in a vector space. Content that is close in meaning tends to have similar vectors. A vector base indexes these vectors to find the relevant passages.

Ingest: Extract text from a PDF or document.

Chunking: segment the text into chunks of suitable size, while retaining the metadata.

Vectorization: calculate an embedding for each chunk.

Indexing: store vectors and metadata in a vector base.

Search: transform the question into embedding and find nearby passages.

Augmentation: transmit the question and relevant extracts to the LLM.

Response: generate a response based on the retrieved sources, with references if available.

Term

Short definition

Embedding

Numeric vector representing content.

Vector store / vector base

Stores and searches for vectors and metadata.

RAG

Architecture combining documentary research and generation by LLM.

LLM

Model that understands and generates language; it is not, in itself, a documentary base.

PostgreSQL with the pgvector extension can be used to store vectors in addition to relational data, if volumes and performance requirements permit.

7. C4 Architecture

C4 is a software architecture representation method that offers several zoom levels. It helps explain the system to different audiences, from the business to the development team.

7.1 C1 — System Context

Diagram C1 shows the system studied, its users and external systems. It answers the question: who uses the solution and what does it interact with?

[Customer] ───────────────┐

│

[Advisor] ──────────┼──> [Agentic Credit Analysis Platform]

│ │

[Administrator] ──────┘ ├──> [CRM]

├──> [Core Banking]

├──> [GED]

├──> [Rules Repository]

└──> [LLM Provider]

7.2 C2 — Container Diagram

The C2 diagram breaks down the solution into deployable or executable containers: web applications, API, orchestrator, databases, broker and gateways.

Container

Illustrative Technology

Responsibility

Web Portal

React / TypeScript

User interaction.

API Credit

Java / Spring Boot

Requests, business rules, API and security.

Agent Orchestrator

Python / LangGraph

Agentic workflow and coordination.

LLM Gateway

Dedicated service/LLM provider

Access to templates, quotas, policies and logging.

MCP Tool Servers

Python or Java

Controlled exposure of business tools.

PostgreSQL

PostgreSQL

Requests, status, auditing, and metadata.

Kafka

Apache Kafka

Asynchronous events and processing.

Object Storage / GED

Document storage

Supporting documents.

Vector Store

pgvector or dedicated solution

Semantic document search.

7.3 C3 — Component Diagram

The C3 zooms in on a container and exposes its internal components. Two views are particularly useful: the LangGraph orchestrator and the Spring Boot API.

LangGraph Component

Responsibility

Workflow Entry Point

Receives the request ID and initializes the state.

State Manager

Maintains the shared state of the workflow.

Identity Agent Node

Collects and verifies identity information.

Document Agent Node

Checks documents and extracts information.

Financial Agent Node

Prepares financial indicators.

Compliance Agent Node

Runs authorized compliance checks.

Supervisor / Aggregator

Consolidates, verifies completeness and decides on the continuation of the workflow.

Human Approval Node

Suspends the workflow until human approval.

MCP Tool Client

Calls authorized external tools.

LLM Client

Calls the LLM gateway.

Spring Boot Component

Responsibility

ApplicationController

Exposes REST endpoints.

CreditApplicationService

Orchestrates transactional business operations.

CreditPolicyService

Enforces deterministic credit rules.

ApplicationRepository

Access to relational data.

EventPublisher / Outbox

Publishes events reliably.

Security Configuration

Authentication, authorizations and access controls.

7.4 C4 — Code / classes

The code level is optional in C4. It can show important classes, interfaces or modules, but you should not document each class: the view must remain useful for understanding.

7.5 Nominal Sequence

Client/Portal Credit API PostgreSQL Kafka LangGraph

| | | | |

| POST request | | | |

|---------------->| | | |

| | save | | |

| |--------------->| | |

| | outbox/event | | |

| |------------------------------->| |

| 202 + id | | | |

|<----------------| | | |

| | | event | |

| | |--------->| |

| | | | start |

| | | |------------->|

| | | | |

| | | | agents + |

| | | | tools |

| | | | |

| |<---------------- analysis result ----------|

| | status update / summary |

|<---------------- folder tracking |

8. Detailed Technical Design

8.1 Submission Flow

React portal sends a create request to Credit API.

Credit API validates data, applies immediate controls, and persists the request.

In the same transaction, the API logs an event to an Outbox table.

A publisher forwards the event to Kafka: credit.application.submitted.

The orchestrator consumes the event, loads the context, and starts the LangGraph.

Agents call tools via MCP/API and view authorized documents.

Results are consolidated and persisted; an end of analysis event is published.

The advisor consults the summary, completes it if necessary and validates the business step.

8.2 Indicative Kafka events

Topic

Producer

Consumer / usage

credit.application.submitted

Credit API

Start agentic analysis.

credit.analysis.started

Orchestrator

Monitoring and observability.

credit.analysis.completed

Orchestrator

Update file and notify portal.

credit.analysis.failed

Orchestrator

Trigger error/intervention handling.

credit.application.review-required

Orchestrator / business rules

Place the file on hold for human validation.

8.3 Indicative data model

Table

Fields or content

credit_application

id, customer_id, requested_amount, duration_months, status, created_at, updated_at

credit_document

id, application_id, document_type, storage_uri, status, checksum

agent_execution

id, application_id, workflow_version, state, started_at, completed_at

agent_task

id, execution_id, agent_name, status, input_ref, output_ref, error_code

analysis_finding

id, application_id, finding_type, severity, description, source_ref

human_review

id, application_id, reviewer_id, decision_status, comment, reviewed_at

outbox_event

id, aggregate_id, event_type, payload, created_at, published_at

audit_event

id, actor, action, resource, timestamp, correlation_id

Sensitive data should be minimized, encrypted, and subject to retention policies. LLM results must be distinguished from reference data and business decisions.

8.4 Reliability and resilience

Transactional outbox: avoids validating a database request without being able to publish the corresponding event.

Idempotence: an event received several times must not create several processing operations or business effects.

Retry with backoff: Retry transient errors in a bounded manner.

Dead Letter Topic (DLT): Isolate messages that cannot be processed.

Timeouts and circuit breakers: prevent a slow service from blocking the entire chain.

Correlation ID: track a request across all services.

Versioning of events and workflows: enable evolution without breaking consumers.

9. Security, Governance and Observability

9.1 Security

Control

Expected Implementation

Authentication

OAuth2 / OpenID Connect via enterprise IAM.

Authorization

RBAC and, if necessary, ABAC; minimum rights per role and per tool.

Secrets

Centralized management of secrets; no secrets in the code or images.

TLS encryption in transit and encryption at rest.

Data Protection

Minimization, masking, retention and access control.

Audit

Logging of actions, tools called, validations and versions.

Protection against prompt injection

Treat external documents and content as untrusted data; filter tools and control settings.

Human validation

Mandatory checkpoint before any sensitive business decision.

9.2 AI Governance

Define authorized and prohibited use cases.

Define roles and responsibilities: business owner, application manager, security, compliance, data/AI and operations.

Versioning prompts, models, tools, graphs and test sets.

Evaluate quality, hallucinations, robustness, bias and drift.

Maintain an audit trail to understand what was proposed and validated.

Set escalation thresholds to a human and stopping conditions.

9.3 Observability

An observability chain can combine OpenTelemetry for traces and metrics, Prometheus for metrics collection, and Grafana for dashboards. Logs must be correlated by request ID and not expose unnecessary personal data.

Indicator

Question answered

Total workflow time

How long does it take to analyze a file?

Duration per agent / tool

Which component slows down processing?

Failure rate / retries

Are calls reliable?

Human escalation rate

What proportion of files require intervention?

LLM cost per file

What is the average cost of the analysis?

Quality of extractions

Is the extracted information correct?

Rate of incomplete files

Which documents are most often missing?

10. Deployment and Operation

A deployment target can rely on Kubernetes to run and scale containers. Development, test, staging and production environments must be separated.

Element

Operations role

Kubernetes

Container orchestration, deployments, scaling and restart.

Ingress / API Gateway

Network ingress, routing, TLS and access policies.

Secrets Manager

Management of identifiers and secrets.

Kafka

Event transport.

PostgreSQL

Transactional persistence and state.

Object storage / EDM

Document preservation.

Prometheus / Grafana

Metrics and dashboards.

OpenTelemetry

Distributed traces and instrumentation.

CI/CD

Build, tests, scans, release and deployment.

10.1 Environments

Local: Mock services or dependencies via Docker Compose.

Integration: tests between API, orchestrator, Kafka, database and tools.

Preproduction: configuration close to production, anonymized test data.

Production: high availability, backups, monitoring, incident management and change control.

11. Development workspace: prerequisites and configuration

The workspace is the reproducible environment allowing developers to build, test and launch the components of the solution.

11.1 Software prerequisites

Tool

Usage

Git

Source code and branch management.

Docker Desktop or Docker Engine + Compose

Local start of PostgreSQL, Kafka and other dependencies.

JDK 21 (or LTS version retained by the company)

Spring Boot development.

Maven or Gradle

Java build and dependencies.

Python 3.11+

Development of the LangGraph orchestrator.

uv or Poetry

Python environment and dependency management.

Node.js LTS + npm/pnpm

React portal development.

IDE (IntelliJ IDEA / VS Code)

Editing, debugging and testing.

Postman / Insomnia

REST API testing.

Kafka client

Inspection of topics and messages.

kubectl + Helm (optional locally)

Interaction with Kubernetes and deployments.

11.2 Indicative hardware configuration

Profile

Indicative configuration

Standard developer

CPU 4 to 8 cores, 16 GB RAM, 30 GB SSD free.

Developer with multiple containers

8-core CPU, 32 GB RAM, 50 GB SSD free.

Local execution of an LLM

GPU and video memory adapted to the model; not necessary if a remote LLM endpoint is used.

These values ​​are starting benchmarks and should be adjusted based on Docker images, data volumes, LLM model, and business requirements. API keys and secrets should never be versioned.

11.3 Organization of the deposit

credit-agent-platform/

├── frontend/

│ └── credit-portal/ # React / TypeScript

├── services/

│ └── credit-api/ # Spring Boot

├── agents/

│ └── orchestrator/ # Python / LangGraph

├── integrations/

│ └── mcp-servers/ # Tools exposed to agents

├── contracts/

│ ├── openapi/ # REST contracts

│ └── events/ # Kafka event schemas

├── infrastructure/

│ ├── docker/ # Dockerfiles

│ ├── compose/ # Local dependencies

│ └── k8s/ # Manifests/Helm

├── docs/

│ ├── c4/ # C4 diagrams

│ ├── decisions/ # ADR

│ └── runbooks/ # Operation

└── README.md

11.4 Environment variables

# Indicative example: .env.local (do not commit)

APP_ENV=local

POSTGRES_HOST=localhost

POSTGRES_PORT=5432

POSTGRES_DB=credit

POSTGRES_USER=credit_app

POSTGRES_PASSWORD=change_me_locally

KAFKA_BOOTSTRAP_SERVERS=localhost:9092

KAFKA_TOPIC_APPLICATION_SUBMITTED=credit.application.submitted

LLM_BASE_URL=https://llm-gateway.example

LLM_API_KEY=injecter_via_secret_manager

LLM_MODEL=company-approved-model

MCP_CRM_URL=http://localhost:8101

MCP_GED_URL=http://localhost:8102

11.5 Indicative Python Dependencies

# pyproject.toml — concept snippet

[project]

name = "credit-agent-orchestrator"

version = "0.1.0"

requires-python = ">=3.11"

dependencies = [

"langgraph",

"langchain",

"fastapi",

"uvicorn[standard]",

"pydantic",

"httpx",

"confluent-kafka",

"psycopg[binary]",

"opentelemetry-api",

"opentelemetry-sdk"

]

11.6 Indicative Java Dependencies

Spring Boot Starter Web: REST API.

Spring Boot Starter Validation: Input validation.

Spring Boot Starter Data JPA: relational persistence.

Spring Kafka: Kafka production and consumption.

Spring Security OAuth2 Resource Server: Token validation.

Micrometer / OpenTelemetry: metrics and traces.

Exact versions must be aligned with the organization's technical catalog and security standards.

12. End-to-end practical example

Concrete working example: an advisor opens a mortgage application. The system automatically prepares the file and presents the results with the sources and points to check.

12.1 User journey

The customer completes the form in the portal and submits their supporting documents.

Portal calls Credit API; the API creates the request and returns an identifier.

Kafka triggers the agentic workflow.

The identification agent checks the information available in the CRM.

The documentary agent analyzes the presence and consistency of the supporting documents in the GED.

The financial agent prepares the indicators based on authorized data and business rules.

The compliance officer carries out the planned checks.

The supervisor gathers the results, flags missing items, and prepares a summary.

If validation is required, the workflow pauses and assigns the case to an advisor.

The advisor consults the elements, corrects or completes the file and validates the rest of the process.

12.2 Example synthesis output

Section

Example result (fictitious)

Folder

CR-2026-000123

Analysis status

Analysis prepared — human review required

Identity

Information reconciled with CRM; control to be confirmed according to procedure.

Documents

Pay slips present; proof of address to be updated.

Financial analysis

Indicators calculated by the business service; values ​​to be verified by the advisor.

Compliance

No blocking controls identified in the checks performed; reviewed according to internal rules.

Points of attention

Part to be renewed and date inconsistency to examine.

Proposed action

Request updated supporting documentation then resume review.

This output is illustrative. It must be sourced, time-stamped, linked to rule and workflow versions and clearly distinguished from a credit decision.

12.3 LangGraph orchestration pseudo-code

from typing import TypedDict, Optional

from langgraph.graph import StateGraph, END

class CreditState(TypedDict):

application_id: str

identity_result: Optional[dict]

document_result: Optional[dict]

financial_result: Optional[dict]

compliance_result: Optional[dict]

summary: Optional[dict]

needs_human_review: bool

def identify_customer(state: CreditState):

# Call of an authorized business tool via MCP client/API

result = tools.crm_get_customer(state["application_id"])

return {"identity_result": result}

def check_documents(state: CreditState):

result = tools.ged_check_documents(state["application_id"])

return {"document_result": result}

def analyze_finances(state: CreditState):

# Baseline calculations remain in business service

result = tools.credit_calculate_indicators(state["application_id"])

return {"financial_result": result}

def check_compliance(state: CreditState):

result = tools.compliance_prechecks(state["application_id"])

return {"compliance_result": result}

def consolidate(state: CreditState):

# LLM can help with writing; status rules are deterministic.

summary = build_traceable_summary(state)

human = summary["missing_items"] or summary["review_flags"]

return {"summary": summary, "needs_human_review": human}

graph = StateGraph(CreditState)

graph.add_node("identity", identify_customer)

graph.add_node("documents", check_documents)

graph.add_node("finance", analyze_finances)

graph.add_node("compliance", check_compliance)

graph.add_node("consolidate", consolidate)

graph.set_entry_point("identity")

graph.add_edge("identity", "documents")

graph.add_edge("documents", "finance")

graph.add_edge("finance", "compliance")

graph.add_edge("compliance", "consolidate")

graph.add_edge("consolidate", END)

credit_workflow = graph.compile()

The code is deliberately simplified: in production, persistence must be added status, checkpoints, errors, timeouts, idempotence, access controls, human validations and tests.

12.4 Event Contract Example

{

"eventId": "evt-9f2c",

"eventType": "credit.application.submitted",

"eventVersion": 1,

"occurredAt": "2026-11-07T09:00:00Z",

"correlationId": "CR-2026-000123",

"data": {

"applicationId": "CR-2026-000123"

}

}

The message should not contain only the information necessary for triggering. The orchestrator can load detailed data via authorized APIs, rather than carrying sensitive personal data into Kafka.

13. Glossary and key points to remember

Term

Definition

AI agent

Component that pursues an objective by reasoning and using tools.

Agentic workflow

Controlled sequence of tasks and decisions.

LLM

Large language model.

RAG

Documentary research increasing the context transmitted to the LLM.

Embedding

Vector representation of content.

Vector store

Vector storage and retrieval system.

MCP

Model Context Protocol, protocol for accessing tools and resources.

Tool calling

Mechanism by which a model requests the execution of a tool.

Orchestrator

Component that coordinates steps and agents.

C4

Multi-level architecture documentation method.

Outbox

Technique for reliable publication of events from a transaction.

DLT

Dead Letter Topic/Queue for unprocessable messages.

RBAC / ABAC

Access control by roles / by attributes.

Human-in-the-loop

Human intervention integrated into the workflow.

Ideas to remember

Agentic AI combines an LLM, an orchestrator, tools, state/memory and guardrails.

The LLM is not the reference system: the data and business rules remain in the company's systems.

MCP standardizes agent access to tools; REST exposes services; Kafka transports events.

RAG provides the model with relevant documentary extracts; embeddings enable semantic search.

C4 allows you to progressively present the system: context, containers, components and possibly code.

An enterprise architecture should address security, compliance, auditing, observability, and resiliency by design.

In a sensitive case like credit, AI prepares and assists; the decision remains governed by the rules and authorized people.

14. Progressive implementation approach

Step

Works

Expected deliverables

1. Business framework

Define the use case, users, autonomy limits and success criteria.

Target process, scope, requirements and KPIs.

2. Architecture

Define C1/C2/C3, contracts, flows, data, security and technological choices.

Architectural file, C4 diagrams, ADR.

3. Technical base

Create repositories, CI, environments, IAM, logs, database and Kafka.

Repeatable and pipelined workspace.

4. Business API

Develop request creation/consultation, rules and outbox.

Credit API tested and documented.

5. Orchestrator

Implement graph, state, recovery, agents and human validation.

Versioned LangGraph workflow.

6. Tools / MCP

Connect CRM, EDM and business services with minimal permissions.

MCP servers and tool contracts.

7. Documentary RAG

Ingestion, cutting, embeddings, research and evaluation.

Evaluated documentary pipeline.

8. Testing and governance

Functional testing, security, robustness, AI quality and auditing.

Test report, evaluation games, operating rules.

9. Driver

Deploy on a limited area with human supervision.

Feedback and improvement plan.

10. Industrialization

Strengthen availability, supervision, costs, security and support.

Operable and governed solution.

Conclusion: an enterprise agentic solution is above all a distributed and governed system in which AI constitutes one capability among others. Value comes from reliable process orchestration, integration with existing systems, data quality and control of authorized actions.