The Nerd Speak · Architecture, Quantization & MCP 2.x API

Hardware-aware local speech engineering. 15 clean MCP tools.

Zero-config isolated Python venv bootstrapper, bundled imageio-ffmpeg fallback, automatic NVIDIA NeMo-Speech.cpp installation, largest-installed model auto-selection, and strict provenance separation.

Hardware-Aware Model & Precision Selection

High-VRAM NVIDIA (≥16 GiB)

Full Precision Without Compromise

Defaults to largest installed ASR (whisper-large-v3 1.55B CUDA → parakeet-ctc 1.1B → parakeet-tdt 0.6B). Recommends bf16 ASR GGUFs, f32 diarization (NVIDIA's converter default), and fp16/fp32 Whisper.

Apple Silicon / Mid-VRAM GPU

Metal & 8–15 GiB CUDA

Recommends f16/bf16 ASR with seamless q8_0 fallback and f32/q8_0 diarization. Runs offline without touching cloud relays.

CPU-Only & Low-VRAM Systems

Portable Compact Q8_0

Recommends compact q8_0 GGUFs for NeMo-Speech.cpp (parakeet-tdt + nemotron-3-diarization) and alerts the AI agent with exact hardware-tailored suggestions and override flags.

Multi-Pass Audio & Alignment Architecture

Three Execution Profiles

  • fast: Standalone Nemotron-3-Diarization + single GPU ASR pass.
  • dual *(default)*: dynaudnorm loudness normalization + standalone diarization + largest installed primary ASR + secondary model cross-check with automatic disagreement flagging.
  • court: Full FTR-style multi-pass — normalized mix + stereo LEFT/RIGHT channel isolation across Whisper large-v3 (with roster initial_prompt), Parakeet TDT v3, and Nemotron-3.5.

Alignment & Provenance Guarantees

  • Standalone diarization IDs (D1, D2, ...) are strictly isolated from integrated ASR speaker fields.
  • Word-level temporal overlap alignment + single-word flicker smoothing + 4x decoder repetition-loop suppression (logged in audit metadata).
  • Every job persists cleanly outside source repos at ~/RoshiTranscripts/<job_id>/ with untouched raw/ JSONs, turns.json, speaker_map.json, clips/, and output/.

Complete Reference: All 15 MCP Tools

Tool Name Category What It Does
diarization_doctorRuntimeInspects GPU/VRAM, CPU, OS, nemo-speech, FFmpeg, cached models, hardware precision recommendations, and structured readiness alerts.
setup_dependenciesRuntimeAuto-installs NVIDIA NeMo-Speech.cpp (official no-admin installer), bundled imageio-ffmpeg / system FFmpeg, and pulls required models.
pull_modelRuntimeDownloads any pinned NeMoSpeech model (parakeet-ctc, parakeet-tdt, nemotron-3.5, nemotron-3-diarization, sortformer).
diarize_audioDiarizationRuns standalone Nemotron-3-Diarization or Sortformer v2 and returns timestamped D1/D2 speaker segments and speaking totals.
transcribe_and_diarizePipelineEnd-to-end diarization + multi-pass ASR + speaker name/title ID + auto-caption extraction + court rendering (supports precision, primary_asr, roster, show_status_badge, status_banner).
list_jobsJobsLists saved transcription jobs in ~/RoshiTranscripts/ ordered newest first with durations, counts, and output file links.
get_jobJobsReturns full job metadata, executed passes, system specs, speaker map with evidence & sample quotes, and sample turns.
identify_job_speakersSpeakersRe-runs multi-signal speaker name/title inference on a saved job after supplying a roster, appearances text, or minute-order file.
extract_audio_clipAudio ReviewCuts short playable MP3/WAV clips for every unsure/mixed speaker (unsure_only=True), a specific cluster, a turn ID, or custom timestamps.
listen_to_sectionAudio ReviewCuts and immediately opens any section in the OS audio player by timestamp (01:10–01:35), turn range, or spoken phrase alongside text & model alternatives.
update_speakersCorrectionsRenames speakers, updates titles/roles/court labels, merges split clusters (D4 → D1), or overrides specific turns/time ranges with auto re-render.
apply_correctionsCorrectionsApplies non-destructive wording or speaker edits to specific turn IDs while preserving raw_text and timestamped correction_history.
replace_transcript_termsCorrectionsGlobal find/replace for recurring misspellings or misheard names across an entire job with dry_run preview and auto re-render.
search_transcriptSearchSearches turns by keyword, regex, speaker name/cluster, time window, or model disagreement (uncertain_only=True) with surrounding context.
render_court_transcriptOutputInstantly renders/re-renders court PDF, DOCX, line-numbered MD/TXT, timestamped MD, SRT, and VTT with full CSR toggles (badge, provenance, system specs, model details, prepared_by).