# luml-ai/luml architecture

> Architecture diagram of the GitHub repository luml-ai/luml, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-14). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/luml-ai/luml
- Repository: https://github.com/luml-ai/luml

## Overview

LUML is an agent-native MLOps platform organized around collaborative model development, autonomous research, experiment tracking, and production model operations. A user or agent works in a shared Flow workspace, runs and evaluates experiments, then can register and deploy models for monitoring. The repository also contains Prisma’s autonomous-run orchestrator and Satellite’s serving and monitoring runtime. The README supports the product-level workflow; source excerpts show selected internals, so unsampled subsystem connections are omitted or marked unverified.

Main entry points: [`prisma/src/luml_prisma/services/orchestrator/engine.py`](https://github.com/luml-ai/luml/blob/main/prisma/src/luml_prisma/services/orchestrator/engine.py) (Research orchestrator), [`frontend/src/components/deployments`](https://github.com/luml-ai/luml/tree/main/frontend/src/components/deployments) (Deployment management), [`satellite/kit/luml_satellite/convergence/manager.py`](https://github.com/luml-ai/luml/blob/main/satellite/kit/luml_satellite/convergence/manager.py) (Satellite agent), [`frontend/src/App.vue`](https://github.com/luml-ai/luml/blob/main/frontend/src/App.vue) (Shared workbench)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_work["Flow Workspace"]
  node_flow["Shared workbench<br/>[App.vue]"]
  node_workspace["Interactive workspace"]
end

subgraph group_research["Prisma Research"]
  node_prisma["Research orchestrator<br/>[engine.py]"]
  node_pty["Agent sessions<br/>[pty_manager.py]"]
end

subgraph group_tracking["Experiment Tracking"]
  node_experiments["Experiment views"]
  node_tracker["Run tracker<br/>[tracker.py]"]
end

subgraph group_core["Core Platform"]
  node_registry["Model registry"]
  node_deployments["Deployment management"]
  node_platform_api["Platform API"]
  node_storage["Artifact storage"]
end

subgraph group_satellite["Satellite Runtime"]
  node_satellite_agent["Satellite agent<br/>[manager.py]"]
  node_serving["Inference serving<br/>[application.py]"]
  node_monitoring["Monitoring queries<br/>[query.py]"]
  node_monitor_ui["Monitoring dashboard<br/>[App.vue]"]
end

node_user(("User or agent"))
node_model["Deployable model"]

node_user -->|"edits together"| node_flow
node_flow -.->|"shares workspace"| node_workspace
node_user -->|"sets research goal"| node_prisma
node_prisma -.->|"runs agent sessions"| node_pty
node_user -->|"reviews runs"| node_experiments
node_experiments -->|"views tracked results"| node_tracker
node_prisma -->|"records experiment runs"| node_tracker
node_user -->|"versions model"| node_registry
node_registry -->|"selects model"| node_deployments
node_deployments -.->|"manages deployments"| node_platform_api
node_platform_api -.->|"requests upload URLs"| node_storage
node_deployments -.->|"dispatches deployment"| node_satellite_agent
node_satellite_agent -.->|"reconciles workloads"| node_serving
node_serving -.->|"serves inference"| node_model
node_satellite_agent -.->|"feeds monitoring"| node_monitoring
node_user -->|"inspects health"| node_monitor_ui
node_monitor_ui -.->|"queries metrics"| node_monitoring

click node_flow "https://github.com/luml-ai/luml/blob/main/frontend/src/App.vue"
click node_workspace "https://github.com/luml-ai/luml/tree/main/lumlflow"
click node_prisma "https://github.com/luml-ai/luml/blob/main/prisma/src/luml_prisma/services/orchestrator/engine.py"
click node_pty "https://github.com/luml-ai/luml/blob/main/prisma/src/luml_prisma/services/pty_manager.py"
click node_experiments "https://github.com/luml-ai/luml/tree/main/extras/js/packages/experiments/src"
click node_tracker "https://github.com/luml-ai/luml/blob/main/sdk/python/sdk/luml/experiments/tracker.py"
click node_registry "https://github.com/luml-ai/luml/tree/main/frontend/src/components/orbits"
click node_deployments "https://github.com/luml-ai/luml/tree/main/frontend/src/components/deployments"
click node_platform_api "https://github.com/luml-ai/luml/tree/main/backend/luml/api"
click node_storage "https://github.com/luml-ai/luml/blob/main/backend/luml/clients/base_storage_client.py"
click node_satellite_agent "https://github.com/luml-ai/luml/blob/main/satellite/kit/luml_satellite/convergence/manager.py"
click node_serving "https://github.com/luml-ai/luml/blob/main/satellite/kit/luml_satellite/serving/application.py"
click node_monitoring "https://github.com/luml-ai/luml/blob/main/satellite/kit/luml_satellite/monitoring/dashboard/query.py"
click node_monitor_ui "https://github.com/luml-ai/luml/blob/main/satellite/monitoring-ui/src/App.vue"

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_flow,node_workspace,node_user toneBlue
class node_prisma,node_pty toneAmber
class node_experiments,node_tracker toneMint
class node_registry,node_deployments,node_platform_api,node_storage toneRose
class node_satellite_agent,node_serving,node_monitoring,node_monitor_ui,node_model toneIndigo
```

## Components

### Flow Workspace

- [Shared workbench](https://github.com/luml-ai/luml/blob/main/frontend/src/App.vue): `frontend/src/App.vue`
- [Interactive workspace](https://github.com/luml-ai/luml/tree/main/lumlflow): `lumlflow`

### Prisma Research

- [Research orchestrator](https://github.com/luml-ai/luml/blob/main/prisma/src/luml_prisma/services/orchestrator/engine.py): `prisma/src/luml_prisma/services/orchestrator/engine.py`
- [Agent sessions](https://github.com/luml-ai/luml/blob/main/prisma/src/luml_prisma/services/pty_manager.py): `prisma/src/luml_prisma/services/pty_manager.py`

### Experiment Tracking

- [Experiment views](https://github.com/luml-ai/luml/tree/main/extras/js/packages/experiments/src): `extras/js/packages/experiments/src`
- [Run tracker](https://github.com/luml-ai/luml/blob/main/sdk/python/sdk/luml/experiments/tracker.py): `sdk/python/sdk/luml/experiments/tracker.py`

### Core Platform

- [Model registry](https://github.com/luml-ai/luml/tree/main/frontend/src/components/orbits): `frontend/src/components/orbits`
- [Deployment management](https://github.com/luml-ai/luml/tree/main/frontend/src/components/deployments): `frontend/src/components/deployments`
- [Platform API](https://github.com/luml-ai/luml/tree/main/backend/luml/api): `backend/luml/api`
- [Artifact storage](https://github.com/luml-ai/luml/blob/main/backend/luml/clients/base_storage_client.py): `backend/luml/clients/base_storage_client.py`

### Satellite Runtime

- [Satellite agent](https://github.com/luml-ai/luml/blob/main/satellite/kit/luml_satellite/convergence/manager.py): `satellite/kit/luml_satellite/convergence/manager.py`
- [Inference serving](https://github.com/luml-ai/luml/blob/main/satellite/kit/luml_satellite/serving/application.py): `satellite/kit/luml_satellite/serving/application.py`
- [Monitoring queries](https://github.com/luml-ai/luml/blob/main/satellite/kit/luml_satellite/monitoring/dashboard/query.py): `satellite/kit/luml_satellite/monitoring/dashboard/query.py`
- [Monitoring dashboard](https://github.com/luml-ai/luml/blob/main/satellite/monitoring-ui/src/App.vue): `satellite/monitoring-ui/src/App.vue`

### Other components

- **User or agent**
- **Deployable model**

## Connections

- User or agent → Shared workbench: edits together (evidence: `README.md`)
- Shared workbench → Interactive workspace: shares workspace
- User or agent → Research orchestrator: sets research goal (evidence: `README.md`)
- Research orchestrator → Agent sessions: runs agent sessions (evidence: `prisma/src/luml_prisma/services/orchestrator/engine.py`)
- User or agent → Experiment views: reviews runs (evidence: `README.md`)
- Experiment views → Run tracker: views tracked results (evidence: `README.md`)
- Research orchestrator → Run tracker: records experiment runs (evidence: `README.md`)
- User or agent → Model registry: versions model (evidence: `README.md`)
- Model registry → Deployment management: selects model (evidence: `README.md`)
- Deployment management → Platform API: manages deployments
- Platform API → Artifact storage: requests upload URLs
- Deployment management → Satellite agent: dispatches deployment
- Satellite agent → Inference serving: reconciles workloads
- Inference serving → Deployable model: serves inference
- Satellite agent → Monitoring queries: feeds monitoring
- User or agent → Monitoring dashboard: inspects health (evidence: `README.md`)
- Monitoring dashboard → Monitoring queries: queries metrics
