router-stt
Skill8.2k starsChanged 58 days agoApache-2.0View on GitHub
What the STT router can be asked for, what each vendor calls it, and what it refuses to fake. Read before adding an STT option or an STT provider.
Adopted by
Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data
Who's talking about GetStream/Agents
- sudosubin/agents.nix“agent-skills.github.getstream.agents: 0.6.404 → 0.6.405”GitHub · Nov 30, 2026
- sudosubin/agents.nix“agent-skills.github.getstream.agents: 0.6.403 → 0.6.404”GitHub · Nov 30, 2026
- sudosubin/agents.nix“agent-skills.github.getstream.agents: 0.6.402 → 0.6.403”GitHub · Nov 29, 2026
- sudosubin/agents.nix“agent-skills.github.getstream.agents: 0.6.399 → 0.6.402”GitHub · Nov 27, 2026
- sudosubin/agents.nix“agent-skills.github.getstream.agents: 0.7.1 → 0.6.399”GitHub · Nov 27, 2026
The biggest 5 of 8 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 8
Talked about on GitHub (8 times).
On GitHub · 8
- Nov 30, 2026agent-skills.github.getstream.agents: 0.6.404 → 0.6.405 — sudosubin/agents.nix0 reactions
- Nov 30, 2026agent-skills.github.getstream.agents: 0.6.403 → 0.6.404 — sudosubin/agents.nix0 reactions
- Nov 29, 2026agent-skills.github.getstream.agents: 0.6.402 → 0.6.403 — sudosubin/agents.nix0 reactions
- Nov 27, 2026agent-skills.github.getstream.agents: 0.6.399 → 0.6.402 — sudosubin/agents.nix0 reactions
- Nov 27, 2026agent-skills.github.getstream.agents: 0.7.1 → 0.6.399 — sudosubin/agents.nix0 reactions
3 more on GitHub
- Nov 25, 2026fix: retain 7 reviewed references that left discovery (Nov 25) — tekvisions/voice-index0 reactions
- Nov 24, 2026agent-skills.github.getstream.agents: 0.7.0 → 0.7.1 — sudosubin/agents.nix0 reactions
- Nov 17, 2026agent-skills.github.getstream.agents: init at 0.7.0 — sudosubin/agents.nix0 reactions
In this repository55 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .cursor/rules/python.mdcCursor rule
- pr-reviewSkill
- typesafe-aiSkill
- vgpuSkill
- accelerate-sales-engineerSkill
- add-connectorSkill
- check_pricesSkill
- cliSkill
- commitSkill
- connectorsSkill
- dashboardSkill
- decision_modelSkill
- deploySkill
- docsSkill
- generative-uiSkill
- good_morningSkill
- goSkill
- go-testingSkill
- integrate_new_modelsSkill
- llm-interfaceSkill
- loop_performance_benchSkill
- migrate-to-accelerateSkill
- new_modelsSkill
- paginationSkill
- parallel-agentsSkill
- performance_benchmarkSkill
- phonecheckSkill
- pricingSkill
- prospect-competitor-researchSkill
- provider_auditSkill
- prSkill
- querySkill
- refresh_model_statsSkill
- router-detectionSkill
- router-interfaceSkill
- router-llmSkill
- router-searchSkill
- router-stsSkill
- router-ttsSkill
- scheduled-tasksSkill
- sdk-dartSkill
- sdk-dotnetSkill
- sdk-goSkill
- sdk-jsSkill
- sdk-kotlinSkill
- sdk-phpSkill
- sdk-rubySkill
- sdk-rustSkill
- sdkSkill
- sdk-swiftSkill
- securitySkill
- sttSkill
- telnyxSkill
- ttsSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 86
Read it in each provider that can express it, and declare it in supports:.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Routing speech to text
The per-modality half of router-interface. The vocabulary is
options.STT; who can express what is
declared per model in router.yaml.
Two paths, two sets of models. Live transcription is a socket at /v1/stt/stream and routes
to the models marked realtime: true. A recording is a job at /v1/stt/recordings and routes
to the ones marked realtime: false — the batch endpoints, which are both cheaper per hour and
more accurate than the same vendor's streaming model, because they have the whole file in front
of them. en-recorded and multilingual-recorded are the aliases for that half, and they
require_recorded, so a recording is never streamed at a live model by accident. A recording
sent to a live-only shortcut goes to the recorded one for the same languages (en-low-latency
to en-recorded). One that names no language (stt-fast, stt-accurate) goes by the
recording's language hints: none or all English, en-recorded; any other, multilingual-recorded.
A recording pinned to a realtime: true model (deepgram/flux-general-en) is refused before any
vendor is asked, naming the recorded shortcuts (ModalityConfig.Recorded).
The other way round, a live session pinned to a realtime: false model (deepgram/nova-3), to a
shortcut with only such candidates (en-recorded), or to a priority list holding only those, is
refused before any vendor is dialled, naming the vendor's live models and the live shortcuts
(ModalityConfig.Live). An agent checks its STT target once as it joins, so the session start
is refused rather than every frame of the call. A voice agent config is checked as it is saved
(liveSTTComplaint), unless it has an STS model, is a text agent, or keeps the stt it had
stored. The socket closes with 1008, the code for a request that routing refuses.
The top five, and what each calls the same thing
| Option | Deepgram | AssemblyAI | ElevenLabs Scribe | Speechmatics | Cartesia Ink |
languages | language | language_code | language_code | transcription_config.language | language |
detect_language | detect_language | language_detection | detected by default | language_identification | — |
interim | interim_results | partials by default | live only | enable_partials | partials by default |
endpointing, silence_ms | endpointing, utterance_end_ms | end_of_turn_confidence_threshold | — | max_delay | max_silence_duration_secs |
diarize | diarize | speaker_labels | diarize | diarization: speaker | — |
max_speakers | — | speakers_expected (caps at 10) | num_speakers (up to 32) | speaker_diarization_config.max_speakers | — |
keyterms | keyterm (batch), keyterms (Flux) | keyterms_prompt, word_boost | — | additional_vocab | — |
format | smart_format, punctuate | format_text, punctuate | on by default | punctuation_overrides | — |
redact | redact | redact_pii + policies | — | transcript_filtering_config | — |
words | words in the response | words in the response | timestamps_granularity | words in the response | — |
summary, entities | summarize, detect_entities | summarization, entity_detection | — | summarization | — |
channels | multichannel | multichannel | — | diarization: channel | — |
Three things this table is really saying:
- Everyone diarizes differently and only some can be told to stop.
max_speakersis its own term, separate fromdiarize, because a provider that finds however many speakers it thought it heard is not serving a request that said "two people". - Endpointing is either a pause or a judgement. Deepgram and Speechmatics take milliseconds
of silence; AssemblyAI's streaming model decides a turn is over from the words.
endpointingnames which, andsilence_msonly means anything for the first kind. - Vocabulary is not universally supported. Deepgram, AssemblyAI and Speechmatics take term lists; Scribe and Ink do not. A call full of drug names has to be routed, not hoped for.
What the router refuses to fake
A request's options become Terms(), and routing only considers models whose supports: lists
every term asked for. A term nothing can serve is a 400 naming it, not a transcript that quietly
lacks it. That is the whole design: being told is better than being answered wrongly.
So supports: is a promise about the client code, not about the vendor's docs. Today
deepgram/flux-general-* declares [keyterms, endpointing], the Gemini, Grok and Muse live
models declare [keyterms], and deepgram/nova-3 — the recorded path — declares the batch
list: language detection, diarization, words, formatting, redaction, summary, entities, keyterms
and channels. Everything else declares nothing, which means it serves the requests that ask for
nothing extra.
Adding a term to a model means sending it in that provider's package under
internal/stt first, then declaring it. Declaring it to
make routing succeed is the one thing this design exists to prevent.
max_speakers is where refusing earns its keep: AssemblyAI caps at 10 and Scribe at 32, so a
request for 16 speakers is a different set of candidates than a request for 8.
Adding an option
- A field on
options.STT, withMergeand, if it is optional behaviour, aTermand a line inTerms(). Pointers, so "say nothing" and "turn this off" stay different. - The same field on
SttOptions, on its Go struct ininternal/api. Then rungo run ./cmd/openapiand regenerate all three clients. - Read it in each provider that can express it, and declare it in
supports:. - A test that a provider which cannot express it refuses rather than drops it.
Subtitles are the exception worth knowing: output: srt is not a term, because rendering
lines out of words and timings is something the router does itself once it has the timings.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

