# adnan-drina/rhoai3-coding-demo architecture

> Architecture diagram of the GitHub repository adnan-drina/rhoai3-coding-demo, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-24). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/adnan-drina/rhoai3-coding-demo
- Repository: https://github.com/adnan-drina/rhoai3-coding-demo

## Overview

This repository describes and configures a trusted enterprise AI development platform, spanning OpenShift infrastructure, private and governed AI services, and developer tooling. The principal journey is self-service through the developer portal, use of models through the governed MaaS layer, and delivery through trusted pipelines. Platform stages 010–070 establish the foundation; stages 110–130 demonstrate assisted, agentic, and autonomous development. The graph uses README-documented relationships and sampled source calls; unsampled stage internals are represented at their existing directory paths, so their internal wiring is not asserted.

Main entry points: [`gitops/stages/070-advanced-app-platform`](https://github.com/adnan-drina/rhoai3-coding-demo/tree/main/gitops/stages/070-advanced-app-platform) (Advanced app platform), [`gitops/stages/040-governed-models-as-a-service`](https://github.com/adnan-drina/rhoai3-coding-demo/tree/main/gitops/stages/040-governed-models-as-a-service) (Governed MaaS), [`stages/110-ai-assisted-development`](https://github.com/adnan-drina/rhoai3-coding-demo/tree/main/stages/110-ai-assisted-development) (Assisted development), [`stages/120-ai-agentic-development`](https://github.com/adnan-drina/rhoai3-coding-demo/tree/main/stages/120-ai-agentic-development) (Agentic development)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_foundation["Platform foundation"]
  node_foundation["AI platform foundation"]
  node_gpu["GPU infrastructure"]
end

subgraph group_ai["Private AI platform"]
  node_serving["Private model serving"]
  node_maas["Governed MaaS"]
  node_evaluation["Model evaluation<br/>[pipeline.py]"]
  node_agents["Agent runtime"]
end

subgraph group_developer["Developer platform"]
  node_app_platform["Advanced app platform"]
  node_scm_bootstrap["SCM bootstrap<br/>[bootstrap-scm.py]"]
  node_enrollment["Project enrollment<br/>[reconcile.py]"]
  node_promotion["Runtime promotion<br/>[promote.py]"]
end

subgraph group_journeys["Developer journeys"]
  node_assisted["Assisted development"]
  node_agentic["Agentic development"]
  node_autonomous["Autonomous migration"]
  node_mta["MTA migration"]
end

node_developer(("Developer"))
node_argocd["Argo CD"]

node_argocd -->|"reconciles"| node_foundation
node_argocd -->|"reconciles"| node_gpu
node_argocd -->|"reconciles"| node_serving
node_argocd -->|"reconciles"| node_maas
node_argocd -->|"reconciles"| node_evaluation
node_argocd -->|"reconciles"| node_agents
node_argocd -->|"reconciles"| node_app_platform
node_scm_bootstrap -.->|"enables"| node_enrollment
node_developer -->|"uses portal"| node_app_platform
node_app_platform -->|"consumes models"| node_maas
node_assisted -->|"enters through"| node_app_platform
node_agentic -->|"enters through"| node_app_platform
node_autonomous -->|"enters through"| node_app_platform
node_mta -.->|"enters through"| node_app_platform
node_assisted -->|"uses governed models"| node_maas
node_agentic -->|"uses governed models"| node_maas
node_autonomous -->|"uses governed models"| node_maas
node_app_platform -->|"delivers through"| node_promotion
node_evaluation -.->|"qualifies models"| node_maas

click node_foundation "https://github.com/adnan-drina/rhoai3-coding-demo/tree/main/gitops/stages/010-openshift-ai-platform-foundation"
click node_gpu "https://github.com/adnan-drina/rhoai3-coding-demo/tree/main/gitops/stages/020-gpu-infrastructure-private-ai"
click node_serving "https://github.com/adnan-drina/rhoai3-coding-demo/tree/main/gitops/stages/030-private-model-serving"
click node_maas "https://github.com/adnan-drina/rhoai3-coding-demo/tree/main/gitops/stages/040-governed-models-as-a-service"
click node_evaluation "https://github.com/adnan-drina/rhoai3-coding-demo/blob/main/stages/050-model-evaluation/qualification/pipeline.py"
click node_agents "https://github.com/adnan-drina/rhoai3-coding-demo/tree/main/gitops/stages/060-agent-runtime-and-agentops"
click node_app_platform "https://github.com/adnan-drina/rhoai3-coding-demo/tree/main/gitops/stages/070-advanced-app-platform"
click node_scm_bootstrap "https://github.com/adnan-drina/rhoai3-coding-demo/blob/main/gitops/stages/070-advanced-app-platform/070-gitlab/bootstrap-scm.py"
click node_enrollment "https://github.com/adnan-drina/rhoai3-coding-demo/blob/main/gitops/stages/070-advanced-app-platform/070-pipelines/gitlab/reconcile.py"
click node_promotion "https://github.com/adnan-drina/rhoai3-coding-demo/blob/main/gitops/stages/070-advanced-app-platform/070-pipelines/project-pipeline/promote.py"
click node_assisted "https://github.com/adnan-drina/rhoai3-coding-demo/tree/main/stages/110-ai-assisted-development"
click node_agentic "https://github.com/adnan-drina/rhoai3-coding-demo/tree/main/stages/120-ai-agentic-development"
click node_autonomous "https://github.com/adnan-drina/rhoai3-coding-demo/tree/main/stages/130-ai-autonomous-migration"
click node_mta "https://github.com/adnan-drina/rhoai3-coding-demo/tree/main/stages/140-mta-assisted-migration"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_foundation,node_gpu toneBlue
class node_serving,node_maas,node_evaluation,node_agents toneAmber
class node_app_platform,node_scm_bootstrap,node_enrollment,node_promotion toneMint
class node_assisted,node_agentic,node_autonomous,node_mta toneRose
class node_developer,node_argocd toneIndigo
```

## Components

### Platform foundation

- [AI platform foundation](https://github.com/adnan-drina/rhoai3-coding-demo/tree/main/gitops/stages/010-openshift-ai-platform-foundation): `gitops/stages/010-openshift-ai-platform-foundation`
- [GPU infrastructure](https://github.com/adnan-drina/rhoai3-coding-demo/tree/main/gitops/stages/020-gpu-infrastructure-private-ai): `gitops/stages/020-gpu-infrastructure-private-ai`

### Private AI platform

- [Private model serving](https://github.com/adnan-drina/rhoai3-coding-demo/tree/main/gitops/stages/030-private-model-serving): `gitops/stages/030-private-model-serving`
- [Governed MaaS](https://github.com/adnan-drina/rhoai3-coding-demo/tree/main/gitops/stages/040-governed-models-as-a-service): `gitops/stages/040-governed-models-as-a-service`
- [Model evaluation](https://github.com/adnan-drina/rhoai3-coding-demo/blob/main/stages/050-model-evaluation/qualification/pipeline.py): `stages/050-model-evaluation/qualification/pipeline.py`
- [Agent runtime](https://github.com/adnan-drina/rhoai3-coding-demo/tree/main/gitops/stages/060-agent-runtime-and-agentops): `gitops/stages/060-agent-runtime-and-agentops`

### Developer platform

- [Advanced app platform](https://github.com/adnan-drina/rhoai3-coding-demo/tree/main/gitops/stages/070-advanced-app-platform): `gitops/stages/070-advanced-app-platform`
- [SCM bootstrap](https://github.com/adnan-drina/rhoai3-coding-demo/blob/main/gitops/stages/070-advanced-app-platform/070-gitlab/bootstrap-scm.py): `gitops/stages/070-advanced-app-platform/070-gitlab/bootstrap-scm.py`
- [Project enrollment](https://github.com/adnan-drina/rhoai3-coding-demo/blob/main/gitops/stages/070-advanced-app-platform/070-pipelines/gitlab/reconcile.py): `gitops/stages/070-advanced-app-platform/070-pipelines/gitlab/reconcile.py`
- [Runtime promotion](https://github.com/adnan-drina/rhoai3-coding-demo/blob/main/gitops/stages/070-advanced-app-platform/070-pipelines/project-pipeline/promote.py): `gitops/stages/070-advanced-app-platform/070-pipelines/project-pipeline/promote.py`

### Developer journeys

- [Assisted development](https://github.com/adnan-drina/rhoai3-coding-demo/tree/main/stages/110-ai-assisted-development): `stages/110-ai-assisted-development`
- [Agentic development](https://github.com/adnan-drina/rhoai3-coding-demo/tree/main/stages/120-ai-agentic-development): `stages/120-ai-agentic-development`
- [Autonomous migration](https://github.com/adnan-drina/rhoai3-coding-demo/tree/main/stages/130-ai-autonomous-migration): `stages/130-ai-autonomous-migration`
- [MTA migration](https://github.com/adnan-drina/rhoai3-coding-demo/tree/main/stages/140-mta-assisted-migration): `stages/140-mta-assisted-migration`

### Other components

- **Developer**
- **Argo CD**

## Connections

- Argo CD → AI platform foundation: reconciles (evidence: `README.md`)
- Argo CD → GPU infrastructure: reconciles (evidence: `README.md`)
- Argo CD → Private model serving: reconciles (evidence: `README.md`)
- Argo CD → Governed MaaS: reconciles (evidence: `README.md`)
- Argo CD → Model evaluation: reconciles (evidence: `README.md`)
- Argo CD → Agent runtime: reconciles (evidence: `README.md`)
- Argo CD → Advanced app platform: reconciles (evidence: `README.md`)
- SCM bootstrap → Project enrollment: enables
- Developer → Advanced app platform: uses portal (evidence: `README.md`)
- Advanced app platform → Governed MaaS: consumes models (evidence: `README.md`)
- Assisted development → Advanced app platform: enters through (evidence: `README.md`)
- Agentic development → Advanced app platform: enters through (evidence: `README.md`)
- Autonomous migration → Advanced app platform: enters through (evidence: `README.md`)
- MTA migration → Advanced app platform: enters through
- Assisted development → Governed MaaS: uses governed models (evidence: `README.md`)
- Agentic development → Governed MaaS: uses governed models (evidence: `README.md`)
- Autonomous migration → Governed MaaS: uses governed models (evidence: `README.md`)
- Advanced app platform → Runtime promotion: delivers through (evidence: `README.md`)
- Model evaluation → Governed MaaS: qualifies models
