Skip to content

C4 — Container View

The container view (C4 Level 2) decomposes the factory into its twelve platforms (each a cluster of deployable containers) and the shared infrastructure they run on. Each platform is detailed on its own pages under Platforms.

flowchart TB
    subgraph experience [Experience]
        studio["Factory Studio<br/>Blazor MFE + BFF"]
        market["Marketplace<br/>.NET services"]
    end
    subgraph control [Control]
        cp["Control Plane<br/>.NET microservices"]
    end
    subgraph work [Work]
        mesh["Agent Mesh<br/>Microsoft Agent Framework"]
        knowledge["Knowledge Platform<br/>.NET services"]
        templates["Template &amp; Library<br/>.NET services"]
    end
    subgraph delivery [Delivery & Runtime]
        devops["DevOps / GitOps<br/>.NET services"]
        runtime["Runtime Cloud<br/>.NET services"]
    end
    subgraph cross [Cross-Cutting]
        gov["Governance<br/>.NET services"]
        obs["Observability &amp; Feedback<br/>.NET services"]
        integration["Integration<br/>.NET services + adapters"]
    end
    subgraph infra [Shared Infrastructure]
        bus["Azure Service Bus<br/>(MassTransit)"]
        sql["Azure SQL / PostgreSQL<br/>(NHibernate)"]
        qdrant["Qdrant<br/>vector store"]
        blob["Azure Blob"]
        redis["Redis"]
        vault["Azure Key Vault"]
        otel["App Insights / OTEL"]
    end

    studio --> cp
    market --> templates
    cp --> mesh
    mesh --> knowledge
    mesh --> templates
    mesh --> devops
    devops --> runtime
    runtime --> obs
    obs --> knowledge
    gov -.-> cp
    integration -.-> mesh

    cp --> bus
    mesh --> bus
    knowledge --> sql
    knowledge --> qdrant
    knowledge --> blob
    cp --> sql
    studio --> redis
    gov --> vault
    obs --> otel
Hold "Alt" / "Option" to enable pan & zoom

Container groups

Every platform deploys as a set of .NET 10 containers (ASP.NET Core services + worker hosts) onto AKS or Azure Container Apps. They communicate synchronously over authenticated REST/gRPC and asynchronously over Azure Service Bus using MassTransit and the canonical event envelope.

Platform Primary containers Primary stores
Factory Studio Blazor shell, MFEs, BFF, realtime gateway Azure SQL, Redis
Control Plane 30+ microservices Azure SQL/PostgreSQL, Redis
Agent Mesh Runtime, registries, router, validation Azure SQL, Redis, Blob
Knowledge Platform Graph, vector, artifact, context services PostgreSQL, Qdrant, Blob, Git, Redis
Template & Library Registry, scaffold, compatibility Azure SQL, Blob, Artifacts
Marketplace Catalog, publishing, installation Azure SQL, Blob/ACR
DevOps / GitOps Repo, pipeline, release, IaC Azure SQL, Git, ACR
Runtime Cloud Environment, deployment, health, scaling Azure SQL, Key Vault
Observability & Feedback Trace, metric, incident, feedback App Insights, Azure SQL
Governance Policy, approval, audit, compliance Azure SQL, Key Vault
Integration Provider adapters, webhook gateway Azure SQL, Key Vault