# nvidia-riva/nemotron-speech-skills architecture

> Architecture diagram of the GitHub repository nvidia-riva/nemotron-speech-skills, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-27). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/nvidia-riva/nemotron-speech-skills
- Repository: https://github.com/nvidia-riva/nemotron-speech-skills

## Overview

This repository packages two agent skills: one routes Nemotron Speech requests to operational guidance, and the other orchestrates ASR customization from scoping through evaluation and deployment. The scripts classify prompts and select references; the documented workflows describe the domain work rather than executing model training or serving. Major speech capabilities are represented as guidance branches. Reference-level routing is documented, but unsampled reference contents and runtime agent behavior were not inspected.

Main entry points: [`skills/nemotron-speech/SKILL.md`](https://github.com/nvidia-riva/nemotron-speech-skills/blob/main/skills/nemotron-speech/SKILL.md) (Speech skill), [`skills/nemotron-asr-finetune/references/workflow.md`](https://github.com/nvidia-riva/nemotron-speech-skills/blob/main/skills/nemotron-asr-finetune/references/workflow.md) (Adaptation workflow), [`skills/nemotron-asr-finetune/SKILL.md`](https://github.com/nvidia-riva/nemotron-speech-skills/blob/main/skills/nemotron-asr-finetune/SKILL.md) (Customization skill), [`skills/nemotron-speech/scripts/main.py`](https://github.com/nvidia-riva/nemotron-speech-skills/blob/main/skills/nemotron-speech/scripts/main.py) (Speech router)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_speech["Speech Operations"]
  node_speech_skill["Speech skill<br/>[SKILL.md]"]
  node_setup_readiness["Setup readiness<br/>[setup.md]"]
  node_model_selection["Model selection<br/>[model-selection.md]"]
  node_asr_ops["ASR operation<br/>[asr.md]"]
  node_asr_custom["Custom ASR deployment<br/>[asr-custom.md]"]
  node_asr_pipelines["ASR pipelines<br/>[pipelines.md]"]
  node_tts_ops["TTS operation<br/>[tts.md]"]
  node_tts_custom["Custom TTS deployment<br/>[tts-custom.md]"]
  node_tts_pipelines["TTS pipelines<br/>[tts-pipelines.md]"]
  node_tts_pronunciation["TTS pronunciation"]
  node_nmt_ops["NMT operation<br/>[nmt.md]"]
end

subgraph group_customization["ASR Customization"]
  node_asr_skill["Customization skill<br/>[SKILL.md]"]
  node_workflow["Adaptation workflow<br/>[workflow.md]"]
  node_path_selection["Path selection<br/>[path-selection.md]"]
  node_planning["Cost and planning"]
  node_delegation["Skill handoffs<br/>[sub-skills.md]"]
end

subgraph group_routing["Prompt Routing"]
  node_speech_router["Speech router<br/>[main.py]"]
  node_asr_router["Customization router<br/>[main.py]"]
end

node_user(("User prompt"))

node_user -->|"submits prompt"| node_speech_router
node_speech_router -->|"classifies request"| node_speech_skill
node_speech_skill -->|"routes setup"| node_setup_readiness
node_speech_skill -->|"routes selection"| node_model_selection
node_speech_skill -->|"routes ASR"| node_asr_ops
node_speech_skill -->|"routes custom ASR"| node_asr_custom
node_speech_skill -->|"routes pipelines"| node_asr_pipelines
node_speech_skill -->|"routes TTS"| node_tts_ops
node_speech_skill -->|"routes custom TTS"| node_tts_custom
node_speech_skill -->|"routes pipelines"| node_tts_pipelines
node_speech_skill -->|"routes pronunciation"| node_tts_pronunciation
node_speech_skill -->|"routes NMT"| node_nmt_ops
node_user -->|"submits prompt"| node_asr_router
node_asr_router -->|"classifies request"| node_asr_skill
node_asr_skill -->|"guides workflow"| node_workflow
node_workflow -->|"selects approach"| node_path_selection
node_workflow -->|"estimates effort"| node_planning
node_workflow -->|"coordinates handoffs"| node_delegation
node_workflow -->|"defers deployment"| node_speech_skill

click node_speech_router "https://github.com/nvidia-riva/nemotron-speech-skills/blob/main/skills/nemotron-speech/scripts/main.py"
click node_speech_skill "https://github.com/nvidia-riva/nemotron-speech-skills/blob/main/skills/nemotron-speech/SKILL.md"
click node_setup_readiness "https://github.com/nvidia-riva/nemotron-speech-skills/blob/main/skills/nemotron-speech/references/setup.md"
click node_model_selection "https://github.com/nvidia-riva/nemotron-speech-skills/blob/main/skills/nemotron-speech/references/model-selection.md"
click node_asr_ops "https://github.com/nvidia-riva/nemotron-speech-skills/blob/main/skills/nemotron-speech/references/asr.md"
click node_asr_custom "https://github.com/nvidia-riva/nemotron-speech-skills/blob/main/skills/nemotron-speech/references/asr-custom.md"
click node_asr_pipelines "https://github.com/nvidia-riva/nemotron-speech-skills/blob/main/skills/nemotron-speech/references/pipelines.md"
click node_tts_ops "https://github.com/nvidia-riva/nemotron-speech-skills/blob/main/skills/nemotron-speech/references/tts.md"
click node_tts_custom "https://github.com/nvidia-riva/nemotron-speech-skills/blob/main/skills/nemotron-speech/references/tts-custom.md"
click node_tts_pipelines "https://github.com/nvidia-riva/nemotron-speech-skills/blob/main/skills/nemotron-speech/references/tts-pipelines.md"
click node_tts_pronunciation "https://github.com/nvidia-riva/nemotron-speech-skills/blob/main/skills/nemotron-speech/references/tts-pronunciation.md"
click node_nmt_ops "https://github.com/nvidia-riva/nemotron-speech-skills/blob/main/skills/nemotron-speech/references/nmt.md"
click node_asr_router "https://github.com/nvidia-riva/nemotron-speech-skills/blob/main/skills/nemotron-asr-finetune/scripts/main.py"
click node_asr_skill "https://github.com/nvidia-riva/nemotron-speech-skills/blob/main/skills/nemotron-asr-finetune/SKILL.md"
click node_workflow "https://github.com/nvidia-riva/nemotron-speech-skills/blob/main/skills/nemotron-asr-finetune/references/workflow.md"
click node_path_selection "https://github.com/nvidia-riva/nemotron-speech-skills/blob/main/skills/nemotron-asr-finetune/references/path-selection.md"
click node_planning "https://github.com/nvidia-riva/nemotron-speech-skills/blob/main/skills/nemotron-asr-finetune/references/planning-answers.md"
click node_delegation "https://github.com/nvidia-riva/nemotron-speech-skills/blob/main/skills/nemotron-asr-finetune/references/sub-skills.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_speech_skill,node_setup_readiness,node_model_selection,node_asr_ops,node_asr_custom,node_asr_pipelines,node_tts_ops,node_tts_custom,node_tts_pipelines,node_tts_pronunciation,node_nmt_ops,node_user toneBlue
class node_asr_skill,node_workflow,node_path_selection,node_planning,node_delegation toneAmber
class node_speech_router,node_asr_router toneMint
```

## Components

### Speech Operations

- [Speech skill](https://github.com/nvidia-riva/nemotron-speech-skills/blob/main/skills/nemotron-speech/SKILL.md): `skills/nemotron-speech/SKILL.md`
- [Setup readiness](https://github.com/nvidia-riva/nemotron-speech-skills/blob/main/skills/nemotron-speech/references/setup.md): `skills/nemotron-speech/references/setup.md`
- [Model selection](https://github.com/nvidia-riva/nemotron-speech-skills/blob/main/skills/nemotron-speech/references/model-selection.md): `skills/nemotron-speech/references/model-selection.md`
- [ASR operation](https://github.com/nvidia-riva/nemotron-speech-skills/blob/main/skills/nemotron-speech/references/asr.md): `skills/nemotron-speech/references/asr.md`
- [Custom ASR deployment](https://github.com/nvidia-riva/nemotron-speech-skills/blob/main/skills/nemotron-speech/references/asr-custom.md): `skills/nemotron-speech/references/asr-custom.md`
- [ASR pipelines](https://github.com/nvidia-riva/nemotron-speech-skills/blob/main/skills/nemotron-speech/references/pipelines.md): `skills/nemotron-speech/references/pipelines.md`
- [TTS operation](https://github.com/nvidia-riva/nemotron-speech-skills/blob/main/skills/nemotron-speech/references/tts.md): `skills/nemotron-speech/references/tts.md`
- [Custom TTS deployment](https://github.com/nvidia-riva/nemotron-speech-skills/blob/main/skills/nemotron-speech/references/tts-custom.md): `skills/nemotron-speech/references/tts-custom.md`
- [TTS pipelines](https://github.com/nvidia-riva/nemotron-speech-skills/blob/main/skills/nemotron-speech/references/tts-pipelines.md): `skills/nemotron-speech/references/tts-pipelines.md`
- [TTS pronunciation](https://github.com/nvidia-riva/nemotron-speech-skills/blob/main/skills/nemotron-speech/references/tts-pronunciation.md): `skills/nemotron-speech/references/tts-pronunciation.md`
- [NMT operation](https://github.com/nvidia-riva/nemotron-speech-skills/blob/main/skills/nemotron-speech/references/nmt.md): `skills/nemotron-speech/references/nmt.md`

### ASR Customization

- [Customization skill](https://github.com/nvidia-riva/nemotron-speech-skills/blob/main/skills/nemotron-asr-finetune/SKILL.md): `skills/nemotron-asr-finetune/SKILL.md`
- [Adaptation workflow](https://github.com/nvidia-riva/nemotron-speech-skills/blob/main/skills/nemotron-asr-finetune/references/workflow.md): `skills/nemotron-asr-finetune/references/workflow.md`
- [Path selection](https://github.com/nvidia-riva/nemotron-speech-skills/blob/main/skills/nemotron-asr-finetune/references/path-selection.md): `skills/nemotron-asr-finetune/references/path-selection.md`
- [Cost and planning](https://github.com/nvidia-riva/nemotron-speech-skills/blob/main/skills/nemotron-asr-finetune/references/planning-answers.md): `skills/nemotron-asr-finetune/references/planning-answers.md`
- [Skill handoffs](https://github.com/nvidia-riva/nemotron-speech-skills/blob/main/skills/nemotron-asr-finetune/references/sub-skills.md): `skills/nemotron-asr-finetune/references/sub-skills.md`

### Prompt Routing

- [Speech router](https://github.com/nvidia-riva/nemotron-speech-skills/blob/main/skills/nemotron-speech/scripts/main.py): `skills/nemotron-speech/scripts/main.py`
- [Customization router](https://github.com/nvidia-riva/nemotron-speech-skills/blob/main/skills/nemotron-asr-finetune/scripts/main.py): `skills/nemotron-asr-finetune/scripts/main.py`

### Other components

- **User prompt**

## Connections

- User prompt → Speech router: submits prompt (evidence: `README.md`)
- Speech router → Speech skill: classifies request (evidence: `skills/nemotron-speech/scripts/main.py`)
- Speech skill → Setup readiness: routes setup (evidence: `README.md`)
- Speech skill → Model selection: routes selection (evidence: `README.md`)
- Speech skill → ASR operation: routes ASR (evidence: `README.md`)
- Speech skill → Custom ASR deployment: routes custom ASR (evidence: `README.md`)
- Speech skill → ASR pipelines: routes pipelines (evidence: `README.md`)
- Speech skill → TTS operation: routes TTS (evidence: `README.md`)
- Speech skill → Custom TTS deployment: routes custom TTS (evidence: `README.md`)
- Speech skill → TTS pipelines: routes pipelines (evidence: `README.md`)
- Speech skill → TTS pronunciation: routes pronunciation (evidence: `README.md`)
- Speech skill → NMT operation: routes NMT (evidence: `README.md`)
- User prompt → Customization router: submits prompt (evidence: `README.md`)
- Customization router → Customization skill: classifies request (evidence: `skills/nemotron-asr-finetune/scripts/main.py`)
- Customization skill → Adaptation workflow: guides workflow (evidence: `README.md`)
- Adaptation workflow → Path selection: selects approach (evidence: `README.md`)
- Adaptation workflow → Cost and planning: estimates effort (evidence: `README.md`)
- Adaptation workflow → Skill handoffs: coordinates handoffs (evidence: `README.md`)
- Adaptation workflow → Speech skill: defers deployment (evidence: `README.md`)
