# rasswanth-lyzr/ship-ai-projects architecture

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

- Interactive diagram: https://gitdiagram.com/rasswanth-lyzr/ship-ai-projects
- Repository: https://github.com/rasswanth-lyzr/ship-ai-projects

## Overview

This repository is a set of three project briefs, not an implemented runtime. Its main user workflow is to choose a brief, build the proposed system, and measure it against baselines. The graph captures the README’s explicitly documented combined-system design; it does not imply these components already exist. Detailed brief contents were not available, so the map is limited to capabilities and relationships stated in the README.

Main entry points: [`projects/03-auto-routing/BRIEF.md`](https://github.com/rasswanth-lyzr/ship-ai-projects/blob/main/projects/03-auto-routing/BRIEF.md) (Gateway + router), [`projects/01-llm-ops/BRIEF.md`](https://github.com/rasswanth-lyzr/ship-ai-projects/blob/main/projects/01-llm-ops/BRIEF.md) (Traces + metrics), [`projects/02-agent-evals/BRIEF.md`](https://github.com/rasswanth-lyzr/ship-ai-projects/blob/main/projects/02-agent-evals/BRIEF.md) (Versioned eval dataset)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_ops["LLM Ops"]
  node_traces[("Traces + metrics<br/>[BRIEF.md]")]
  node_opsview["Dashboards, SLOs, alerts<br/>[BRIEF.md]"]
  node_cigate["CI eval gate<br/>[BRIEF.md]"]
end

subgraph group_evals["Agent Evals"]
  node_agent["Agent service<br/>[BRIEF.md]"]
  node_evals_run["Online + offline evals<br/>[BRIEF.md]"]
  node_dataset[("Versioned eval dataset<br/>[BRIEF.md]")]
end

subgraph group_routing["Auto Routing"]
  node_gateway["Gateway + router<br/>[BRIEF.md]"]
  node_small["Small model<br/>[BRIEF.md]"]
  node_mid["Mid-tier model<br/>[BRIEF.md]"]
  node_frontier["Frontier model<br/>[BRIEF.md]"]
  node_training[("Router training data<br/>[BRIEF.md]")]
end

node_users(("Users"))

node_users -->|"send requests"| node_gateway
node_gateway -->|"routes cheap"| node_small
node_gateway -->|"routes mid-tier"| node_mid
node_gateway -->|"routes hard"| node_frontier
node_gateway -->|"dispatches"| node_agent
node_agent -->|"emits"| node_traces
node_traces -->|"feeds"| node_opsview
node_traces -->|"feeds"| node_evals_run
node_evals_run -->|"updates"| node_dataset
node_dataset -->|"supplies evals"| node_cigate
node_dataset -->|"supplies labels"| node_training
node_cigate -->|"gates deploys"| node_gateway
node_training -->|"trains router"| node_gateway

click node_gateway "https://github.com/rasswanth-lyzr/ship-ai-projects/blob/main/projects/03-auto-routing/BRIEF.md"
click node_small "https://github.com/rasswanth-lyzr/ship-ai-projects/blob/main/projects/03-auto-routing/BRIEF.md"
click node_mid "https://github.com/rasswanth-lyzr/ship-ai-projects/blob/main/projects/03-auto-routing/BRIEF.md"
click node_frontier "https://github.com/rasswanth-lyzr/ship-ai-projects/blob/main/projects/03-auto-routing/BRIEF.md"
click node_agent "https://github.com/rasswanth-lyzr/ship-ai-projects/blob/main/projects/02-agent-evals/BRIEF.md"
click node_traces "https://github.com/rasswanth-lyzr/ship-ai-projects/blob/main/projects/01-llm-ops/BRIEF.md"
click node_opsview "https://github.com/rasswanth-lyzr/ship-ai-projects/blob/main/projects/01-llm-ops/BRIEF.md"
click node_evals_run "https://github.com/rasswanth-lyzr/ship-ai-projects/blob/main/projects/02-agent-evals/BRIEF.md"
click node_dataset "https://github.com/rasswanth-lyzr/ship-ai-projects/blob/main/projects/02-agent-evals/BRIEF.md"
click node_cigate "https://github.com/rasswanth-lyzr/ship-ai-projects/blob/main/projects/01-llm-ops/BRIEF.md"
click node_training "https://github.com/rasswanth-lyzr/ship-ai-projects/blob/main/projects/03-auto-routing/BRIEF.md"

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_traces,node_opsview,node_cigate,node_users toneBlue
class node_agent,node_evals_run,node_dataset toneAmber
class node_gateway,node_small,node_mid,node_frontier,node_training toneMint
```

## Components

### LLM Ops

- [Traces + metrics](https://github.com/rasswanth-lyzr/ship-ai-projects/blob/main/projects/01-llm-ops/BRIEF.md): `projects/01-llm-ops/BRIEF.md`
- [Dashboards, SLOs, alerts](https://github.com/rasswanth-lyzr/ship-ai-projects/blob/main/projects/01-llm-ops/BRIEF.md): `projects/01-llm-ops/BRIEF.md`
- [CI eval gate](https://github.com/rasswanth-lyzr/ship-ai-projects/blob/main/projects/01-llm-ops/BRIEF.md): `projects/01-llm-ops/BRIEF.md`

### Agent Evals

- [Agent service](https://github.com/rasswanth-lyzr/ship-ai-projects/blob/main/projects/02-agent-evals/BRIEF.md): `projects/02-agent-evals/BRIEF.md`
- [Online + offline evals](https://github.com/rasswanth-lyzr/ship-ai-projects/blob/main/projects/02-agent-evals/BRIEF.md): `projects/02-agent-evals/BRIEF.md`
- [Versioned eval dataset](https://github.com/rasswanth-lyzr/ship-ai-projects/blob/main/projects/02-agent-evals/BRIEF.md): `projects/02-agent-evals/BRIEF.md`

### Auto Routing

- [Gateway + router](https://github.com/rasswanth-lyzr/ship-ai-projects/blob/main/projects/03-auto-routing/BRIEF.md): `projects/03-auto-routing/BRIEF.md`
- [Small model](https://github.com/rasswanth-lyzr/ship-ai-projects/blob/main/projects/03-auto-routing/BRIEF.md): `projects/03-auto-routing/BRIEF.md`
- [Mid-tier model](https://github.com/rasswanth-lyzr/ship-ai-projects/blob/main/projects/03-auto-routing/BRIEF.md): `projects/03-auto-routing/BRIEF.md`
- [Frontier model](https://github.com/rasswanth-lyzr/ship-ai-projects/blob/main/projects/03-auto-routing/BRIEF.md): `projects/03-auto-routing/BRIEF.md`
- [Router training data](https://github.com/rasswanth-lyzr/ship-ai-projects/blob/main/projects/03-auto-routing/BRIEF.md): `projects/03-auto-routing/BRIEF.md`

### Other components

- **Users**

## Connections

- Users → Gateway + router: send requests (evidence: `README.md`)
- Gateway + router → Small model: routes cheap (evidence: `README.md`)
- Gateway + router → Mid-tier model: routes mid-tier (evidence: `README.md`)
- Gateway + router → Frontier model: routes hard (evidence: `README.md`)
- Gateway + router → Agent service: dispatches (evidence: `README.md`)
- Agent service → Traces + metrics: emits (evidence: `README.md`)
- Traces + metrics → Dashboards, SLOs, alerts: feeds (evidence: `README.md`)
- Traces + metrics → Online + offline evals: feeds (evidence: `README.md`)
- Online + offline evals → Versioned eval dataset: updates (evidence: `README.md`)
- Versioned eval dataset → CI eval gate: supplies evals (evidence: `README.md`)
- Versioned eval dataset → Router training data: supplies labels (evidence: `README.md`)
- CI eval gate → Gateway + router: gates deploys (evidence: `README.md`)
- Router training data → Gateway + router: trains router (evidence: `README.md`)
