Directories
¶
| Path | Synopsis |
|---|---|
|
examples
module
|
|
|
agentbridge-codex
command
Command agentbridge-codex demonstrates the External Coding Agent Bridge in exec mode: one prompt in, normalized events out.
|
Command agentbridge-codex demonstrates the External Coding Agent Bridge in exec mode: one prompt in, normalized events out. |
|
assist/in-process
command
Example: fully in-process Assist — text in, one answer out, no SpeechKit server.
|
Example: fully in-process Assist — text in, one answer out, no SpeechKit server. |
|
embed-companion
command
|
|
|
embed-event-bus
command
|
|
|
embed-tts
command
|
|
|
library
command
Example: wiring SpeechKit with a fake provider, not real speech recognition.
|
Example: wiring SpeechKit with a fake provider, not real speech recognition. |
|
local-dictation
command
Local dictation through the public SDK, using a WAV file or explicit microphone capture.
|
Local dictation through the public SDK, using a WAV file or explicit microphone capture. |
|
meeting/synthetic-host
command
Example: embed the public Meeting runtime in a Go host with synthetic input.
|
Example: embed the public Meeting runtime in a Go host with synthetic input. |
|
provider-catalog
command
Example: reading SpeechKit's public mode and provider catalog.
|
Example: reading SpeechKit's public mode and provider catalog. |
|
voice-agent/game-instructor
command
Example: 15-minute Voice-Agent game instructor.
|
Example: 15-minute Voice-Agent game instructor. |
|
voice-agent/in-process
command
Example: fully in-process Voice Agent — no SpeechKit server in the path.
|
Example: fully in-process Voice Agent — no SpeechKit server in the path. |
|
voice-agent/provider-switching
command
Package main demonstrates provider/profile/model selection without live credentials.
|
Package main demonstrates provider/profile/model selection without live credentials. |
|
pkg
|
|
|
speechkit
Package speechkit provides the public SDK for embedding SpeechKit voice capture, transcription, and assist/voice-agent pipelines into host applications.
|
Package speechkit provides the public SDK for embedding SpeechKit voice capture, transcription, and assist/voice-agent pipelines into host applications. |
|
speechkit/agentbridge
Package agentbridge defines the framework-neutral seam through which a SpeechKit host fronts an external coding agent (adopted 2026-08-10, AI-VOICE-SPEECHKIT-TARGET.md "External Coding Agent Bridge").
|
Package agentbridge defines the framework-neutral seam through which a SpeechKit host fronts an external coding agent (adopted 2026-08-10, AI-VOICE-SPEECHKIT-TARGET.md "External Coding Agent Bridge"). |
|
speechkit/agentbridge/codex
Package codex drives the official OpenAI Codex binary as an agentbridge.Agent.
|
Package codex drives the official OpenAI Codex binary as an agentbridge.Agent. |
|
speechkit/agentbridge/voicetools
Package voicetools binds an agentbridge.Agent to the voice agent's tool surface with the "Call GPT" semantics (owner decision 2026-08-10, AI-VOICE-SPEECHKIT-TARGET.md External Coding Agent Bridge):
|
Package voicetools binds an agentbridge.Agent to the voice agent's tool surface with the "Call GPT" semantics (owner decision 2026-08-10, AI-VOICE-SPEECHKIT-TARGET.md External Coding Agent Bridge): |
|
speechkit/agentkit
Package agentkit provides a small Go harness for building SpeechKit Voice Agent hosts.
|
Package agentkit provides a small Go harness for building SpeechKit Voice Agent hosts. |
|
speechkit/assist
Package assist provides an embeddable Assist Mode service.
|
Package assist provides an embeddable Assist Mode service. |
|
speechkit/assist/genkitadapter
Package genkitadapter keeps host-specific Assist wiring out of the core public assist package.
|
Package genkitadapter keeps host-specific Assist wiring out of the core public assist package. |
|
speechkit/assist/shortcuts
Package shortcuts implements pattern-matched intent shortcuts used by Assist Mode.
|
Package shortcuts implements pattern-matched intent shortcuts used by Assist Mode. |
|
speechkit/assist/skills
Package skills exposes SpeechKit's Voice-Companion skill catalog — Time, Date, Math, Weather, Timer, Reminder, Wikipedia, Temperature, plus a fail-closed Home Assistant boundary — as a public assist.ToolMatcher + assist.ToolExecutor pair, ready to plug into an assist.Service.
|
Package skills exposes SpeechKit's Voice-Companion skill catalog — Time, Date, Math, Weather, Timer, Reminder, Wikipedia, Temperature, plus a fail-closed Home Assistant boundary — as a public assist.ToolMatcher + assist.ToolExecutor pair, ready to plug into an assist.Service. |
|
speechkit/assist/skills/companion
Package companion provides the Voice-Companion skill implementations behind pkg/speechkit/assist/skills.
|
Package companion provides the Voice-Companion skill implementations behind pkg/speechkit/assist/skills. |
|
speechkit/assist/toolbridge
Package toolbridge adapts Assist-mode tools (assist.ToolMatcher / assist.ToolExecutor — the deterministic skill layer, e.g.
|
Package toolbridge adapts Assist-mode tools (assist.ToolMatcher / assist.ToolExecutor — the deterministic skill layer, e.g. |
|
speechkit/audio
Package audio provides the shared PCM audio primitives for the SpeechKit capture format: 16kHz S16 mono constants, WAV framing, duration math, and RMS level estimation.
|
Package audio provides the shared PCM audio primitives for the SpeechKit capture format: 16kHz S16 mono constants, WAV framing, duration math, and RMS level estimation. |
|
speechkit/audio/capture
Package capture is the public microphone / system-audio capture layer of the SpeechKit framework: backend registry (RegisterBackend, Open), capture Session contract, device enumeration (ListCaptureDevices, ListOutputDevices), and the pooled PCM frame buffers (FramePool).
|
Package capture is the public microphone / system-audio capture layer of the SpeechKit framework: backend registry (RegisterBackend, Open), capture Session contract, device enumeration (ListCaptureDevices, ListOutputDevices), and the pooled PCM frame buffers (FramePool). |
|
speechkit/catalog
Package catalog ships the built-in SpeechKit provider and model catalog.
|
Package catalog ships the built-in SpeechKit provider and model catalog. |
|
speechkit/client
Package client provides a typed HTTP client for talking to a remote SpeechKit Server (the `app/cmd/speechkit-server` Linux container or any compatible deployment).
|
Package client provides a typed HTTP client for talking to a remote SpeechKit Server (the `app/cmd/speechkit-server` Linux container or any compatible deployment). |
|
speechkit/companion
Package companion provides small composers for hands-free SpeechKit hosts.
|
Package companion provides small composers for hands-free SpeechKit hosts. |
|
speechkit/customize
Package customize defines SpeechKit's public Words/Replacements contract.
|
Package customize defines SpeechKit's public Words/Replacements contract. |
|
speechkit/deviceagent
Package deviceagent implements the credential-minimal LAN-side SpeechKit device-agent client and its versioned wire contract.
|
Package deviceagent implements the credential-minimal LAN-side SpeechKit device-agent client and its versioned wire contract. |
|
speechkit/dictation
Package dictation provides an embeddable strict Dictation runtime.
|
Package dictation provides an embeddable strict Dictation runtime. |
|
speechkit/hostconfig
Package hostconfig turns a SpeechKit TOML configuration file into the public SDK types an embedding host drives the framework with: a speechkit.ModeSettings (which modes are on, their hotkeys and selected provider profiles) and a permissive speechkit.RuntimePolicy (which modes the host exposes and whether fallbacks are allowed).
|
Package hostconfig turns a SpeechKit TOML configuration file into the public SDK types an embedding host drives the framework with: a speechkit.ModeSettings (which modes are on, their hotkeys and selected provider profiles) and a permissive speechkit.RuntimePolicy (which modes the host exposes and whether fallbacks are allowed). |
|
speechkit/internal/logutil
Package logutil resolves optional per-instance loggers for SpeechKit library types.
|
Package logutil resolves optional per-instance loggers for SpeechKit library types. |
|
speechkit/internal/sdkparity
Package sdkparity holds test-only parity harnesses that run the same behavioral assertions against the public SDK and reference-app implementations.
|
Package sdkparity holds test-only parity harnesses that run the same behavioral assertions against the public SDK and reference-app implementations. |
|
speechkit/internal/speakercontract
Package speakercontract holds test-only conformance helpers that speaker provider tests use to assert the public speaker contracts: complete diarization results, well-formed realtime frames, unknown labels left unattributed, and provider errors that name the provider without leaking credentials.
|
Package speakercontract holds test-only conformance helpers that speaker provider tests use to assert the public speaker contracts: complete diarization results, well-formed realtime frames, unknown labels left unattributed, and provider errors that name the provider without leaking credentials. |
|
speechkit/internal/testutil
Package testutil holds test helpers shared across SpeechKit's kernel packages — temp-dir builders, fake clocks, identity injectors.
|
Package testutil holds test helpers shared across SpeechKit's kernel packages — temp-dir builders, fake clocks, identity injectors. |
|
speechkit/lifecycle
Package lifecycle owns mode start/stop orchestration and refcounted shared dependencies for SpeechKit hosts.
|
Package lifecycle owns mode start/stop orchestration and refcounted shared dependencies for SpeechKit hosts. |
|
speechkit/localization
Package localization resolves stable SpeechKit message IDs against the repository-owned locale catalogs.
|
Package localization resolves stable SpeechKit message IDs against the repository-owned locale catalogs. |
|
speechkit/meeting
Package meeting owns the runtime behind Meeting 2.0 capture.
|
Package meeting owns the runtime behind Meeting 2.0 capture. |
|
speechkit/netsec
Package netsec provides centralized network security primitives used by every HTTP-based provider in SpeechKit (STT, TTS, LLM, downloads).
|
Package netsec provides centralized network security primitives used by every HTTP-based provider in SpeechKit (STT, TTS, LLM, downloads). |
|
speechkit/pipeline
Package pipeline is the composable capture-to-transcript engine of SpeechKit.
|
Package pipeline is the composable capture-to-transcript engine of SpeechKit. |
|
speechkit/procguard
Package procguard ties long-lived child processes to the lifetime of the process that spawned them.
|
Package procguard ties long-lived child processes to the lifetime of the process that spawned them. |
|
speechkit/provideropts
Package provideropts defines SpeechKit's provider-neutral voice option vocabulary and the manifest/resolve types used by concrete provider adapters.
|
Package provideropts defines SpeechKit's provider-neutral voice option vocabulary and the manifest/resolve types used by concrete provider adapters. |
|
speechkit/speaker
Package speaker defines SpeechKit's public speaker diarization and attribution contracts.
|
Package speaker defines SpeechKit's public speaker diarization and attribution contracts. |
|
speechkit/storage
Package storage defines the public storage-backend contract: backend capabilities and metadata, install/device/user/tenant scopes with their enforcement policies, and the configuration shape hosts use to construct a backend.
|
Package storage defines the public storage-backend contract: backend capabilities and metadata, install/device/user/tenant scopes with their enforcement policies, and the configuration shape hosts use to construct a backend. |
|
speechkit/stt
Package stt defines the SpeechKit speech-to-text contracts: the STTProvider interface, transcribe options and results, the Router that picks a provider per request, the AsTranscriber bridge into the pipeline, and the helpers the adapters share.
|
Package stt defines the SpeechKit speech-to-text contracts: the STTProvider interface, transcribe options and results, the Router that picks a provider per request, the AsTranscriber bridge into the pipeline, and the helpers the adapters share. |
|
speechkit/stt/allproviders
Package allproviders is the batteries-included STT assembly layer: it knows every provider SpeechKit ships and turns a host's resolved credentials into a ready stt.Router.
|
Package allproviders is the batteries-included STT assembly layer: it knows every provider SpeechKit ships and turns a host's resolved credentials into a ready stt.Router. |
|
speechkit/stt/assemblyai
Package assemblyai adapts the AssemblyAI speech-to-text products to stt.STTProvider: the synchronous endpoint on sync.assemblyai.com for short dictation clips, the async upload-and-poll API on api.assemblyai.com for everything else (diarization, speaker identification, redaction), and the v3 realtime WebSocket for live dictation and speaker streams.
|
Package assemblyai adapts the AssemblyAI speech-to-text products to stt.STTProvider: the synchronous endpoint on sync.assemblyai.com for short dictation clips, the async upload-and-poll API on api.assemblyai.com for everything else (diarization, speaker identification, redaction), and the v3 realtime WebSocket for live dictation and speaker streams. |
|
speechkit/stt/azurespeech
Package azurespeech implements stt.STTProvider on the Azure Speech fast-transcription surface of a Microsoft Foundry resource.
|
Package azurespeech implements stt.STTProvider on the Azure Speech fast-transcription surface of a Microsoft Foundry resource. |
|
speechkit/stt/deepgram
Package deepgram adapts Deepgram's speech APIs to stt.STTProvider: the Listen REST endpoint (/v1/listen) for batch transcription, the Listen WebSocket for live dictation and speaker streams, and Flux (/v2/listen) for conversational turn detection.
|
Package deepgram adapts Deepgram's speech APIs to stt.STTProvider: the Listen REST endpoint (/v1/listen) for batch transcription, the Listen WebSocket for live dictation and speaker streams, and Flux (/v2/listen) for conversational turn detection. |
|
speechkit/stt/geminitranscribe
Package geminitranscribe adapts Google's Gemini Transcribe model (gemini-3.5-transcribe) on the Gemini API Interactions endpoint (POST https://generativelanguage.googleapis.com/v1beta/interactions) to stt.STTProvider.
|
Package geminitranscribe adapts Google's Gemini Transcribe model (gemini-3.5-transcribe) on the Gemini API Interactions endpoint (POST https://generativelanguage.googleapis.com/v1beta/interactions) to stt.STTProvider. |
|
speechkit/stt/google
Package google adapts Google Cloud Speech-to-Text to stt.STTProvider: v1 batch recognition with optional word-level speaker diarization, v2 regional batch recognition for Chirp 3 (ModelChirp3) and v2 StreamingRecognize for realtime transcription.
|
Package google adapts Google Cloud Speech-to-Text to stt.STTProvider: v1 batch recognition with optional word-level speaker diarization, v2 regional batch recognition for Chirp 3 (ModelChirp3) and v2 StreamingRecognize for realtime transcription. |
|
speechkit/stt/huggingface
Package huggingface adapts the Hugging Face Inference API (the hf-inference route on router.huggingface.co) to stt.STTProvider for hosted ASR models such as Whisper.
|
Package huggingface adapts the Hugging Face Inference API (the hf-inference route on router.huggingface.co) to stt.STTProvider for hosted ASR models such as Whisper. |
|
speechkit/stt/local
Package local is the built-in speech-to-text provider: it runs a whisper.cpp whisper-server child process on loopback and speaks its OpenAI-compatible transcription route, so audio never leaves the machine.
|
Package local is the built-in speech-to-text provider: it runs a whisper.cpp whisper-server child process on loopback and speaks its OpenAI-compatible transcription route, so audio never leaves the machine. |
|
speechkit/stt/openaicompat
Package openaicompat adapts any server that speaks the OpenAI /v1/audio/transcriptions API to stt.STTProvider: OpenAI itself, Groq, Microsoft Foundry's OpenAI-compatible route, Ollama, and self-hosted whisper-server deployments.
|
Package openaicompat adapts any server that speaks the OpenAI /v1/audio/transcriptions API to stt.STTProvider: OpenAI itself, Groq, Microsoft Foundry's OpenAI-compatible route, Ollama, and self-hosted whisper-server deployments. |
|
speechkit/stt/openrouter
Package openrouter adapts OpenRouter's JSON speech-to-text endpoint (https://openrouter.ai/api/v1/audio/transcriptions) to stt.STTProvider.
|
Package openrouter adapts OpenRouter's JSON speech-to-text endpoint (https://openrouter.ai/api/v1/audio/transcriptions) to stt.STTProvider. |
|
speechkit/stt/sttcontract
Package sttcontract provides a reusable conformance suite that every stt.STTProvider implementation is expected to satisfy.
|
Package sttcontract provides a reusable conformance suite that every stt.STTProvider implementation is expected to satisfy. |
|
speechkit/stt/vps
Package vps is the self-hosted whisper-server provider for SpeechKit: an OpenAI-compatible endpoint a user runs themselves, so audio never reaches a commercial provider.
|
Package vps is the self-hosted whisper-server provider for SpeechKit: an OpenAI-compatible endpoint a user runs themselves, so audio never reaches a commercial provider. |
|
speechkit/telemetry
Package telemetry records named SpeechKit framework outcomes on the active OpenTelemetry span.
|
Package telemetry records named SpeechKit framework outcomes on the active OpenTelemetry span. |
|
speechkit/tts
Package tts exposes the embeddable SpeechKit text-to-speech surface.
|
Package tts exposes the embeddable SpeechKit text-to-speech surface. |
|
speechkit/tts/ttscontract
Package ttscontract provides a reusable conformance suite that every tts.Provider implementation is expected to satisfy.
|
Package ttscontract provides a reusable conformance suite that every tts.Provider implementation is expected to satisfy. |
|
speechkit/ttsroute
Package ttsroute holds the single source of truth that maps a Voice-Output profile ID to the provider name the TTS routers use internally.
|
Package ttsroute holds the single source of truth that maps a Voice-Output profile ID to the provider name the TTS routers use internally. |
|
speechkit/voiceagent
Package voiceagent provides an embeddable Voice Agent service.
|
Package voiceagent provides an embeddable Voice Agent service. |
|
speechkit/voiceagent/a2a
Package a2a adapts a registered A2A agent to SpeechKit's cascaded voice pipeline.
|
Package a2a adapts a registered A2A agent to SpeechKit's cascaded voice pipeline. |
|
speechkit/voiceagent/cascaded
Package cascaded implements a turn-based STT -> LLM -> TTS voice agent provider.
|
Package cascaded implements a turn-based STT -> LLM -> TTS voice agent provider. |
|
speechkit/voiceagent/live
Package live exposes the low-level Voice Agent realtime-protocol types.
|
Package live exposes the low-level Voice Agent realtime-protocol types. |
|
speechkit/voiceagent/live/allproviders
Package allproviders is the batteries-included realtime Voice Agent assembly layer: it knows every provider SpeechKit ships and resolves a provider id, alias or profile id to a live provider.
|
Package allproviders is the batteries-included realtime Voice Agent assembly layer: it knows every provider SpeechKit ships and resolves a provider id, alias or profile id to a live provider. |
|
speechkit/voiceagent/live/assemblyai
Package assemblyai adapts the AssemblyAI Voice Agent WebSocket API (wss://agents.assemblyai.com/v1/ws) to live.LiveProvider.
|
Package assemblyai adapts the AssemblyAI Voice Agent WebSocket API (wss://agents.assemblyai.com/v1/ws) to live.LiveProvider. |
|
speechkit/voiceagent/live/deepgram
Package deepgram adapts the Deepgram Voice Agent API (wss://agent.deepgram.com/v1/agent/converse) to live.LiveProvider: one WebSocket carries listen (Flux or Nova STT), think (a Deepgram-managed or bring-your-own LLM) and speak (Aura-2 or Flux TTS).
|
Package deepgram adapts the Deepgram Voice Agent API (wss://agent.deepgram.com/v1/agent/converse) to live.LiveProvider: one WebSocket carries listen (Flux or Nova STT), think (a Deepgram-managed or bring-your-own LLM) and speak (Aura-2 or Flux TTS). |
|
speechkit/voiceagent/live/foundry
Package foundry adapts the OpenAI Realtime provider to Microsoft Foundry.
|
Package foundry adapts the OpenAI Realtime provider to Microsoft Foundry. |
|
speechkit/voiceagent/live/gemini
Package gemini adapts the Google Gemini Live API (via the google.golang.org/genai SDK) to live.LiveProvider.
|
Package gemini adapts the Google Gemini Live API (via the google.golang.org/genai SDK) to live.LiveProvider. |
|
speechkit/voiceagent/live/livecontract
Package livecontract provides reusable conformance checks for LiveProvider implementations.
|
Package livecontract provides reusable conformance checks for LiveProvider implementations. |
|
speechkit/voiceagent/live/openai
Package openai adapts the OpenAI Realtime WebSocket API (wss://api.openai.com/v1/realtime, GA session shape) to live.LiveProvider.
|
Package openai adapts the OpenAI Realtime WebSocket API (wss://api.openai.com/v1/realtime, GA session shape) to live.LiveProvider. |
|
speechkit/voiceagent/live/openailive
Package openailive adapts OpenAI's full-duplex Live API (model gpt-live-1, WebSocket wss://api.openai.com/v1/live/sessions) to live.LiveProvider.
|
Package openailive adapts OpenAI's full-duplex Live API (model gpt-live-1, WebSocket wss://api.openai.com/v1/live/sessions) to live.LiveProvider. |
|
speechkit/voiceagent/live/voicelive
Package voicelive adapts the OpenAI Realtime provider to Microsoft Foundry's Voice Live API.
|
Package voicelive adapts the OpenAI Realtime provider to Microsoft Foundry's Voice Live API. |
|
speechkit/voiceagent/local
Package local implements voiceagent.Provider on top of an in-process live session — realtime voice agents (Deepgram Voice Agent, Gemini Live, OpenAI Realtime, AssemblyAI, cascaded) without a speechkit-server.
|
Package local implements voiceagent.Provider on top of an in-process live session — realtime voice agents (Deepgram Voice Agent, Gemini Live, OpenAI Realtime, AssemblyAI, cascaded) without a speechkit-server. |
|
speechkit/voiceagent/responses
Package responses adapts one explicitly selected own endpoint to SpeechKit's existing cascaded/native conversation pipeline.
|
Package responses adapts one explicitly selected own endpoint to SpeechKit's existing cascaded/native conversation pipeline. |
|
speechkit/wakeword
Package wakeword exposes embeddable SpeechKit wake-word contracts: the phrase catalog, detection events, the hotkey Dispatcher, AutoEndPolicy and the engine-neutral Detector and Pipeline.
|
Package wakeword exposes embeddable SpeechKit wake-word contracts: the phrase catalog, detection events, the hotkey Dispatcher, AutoEndPolicy and the engine-neutral Detector and Pipeline. |
|
speechkit/wakeword/sherpa
Package sherpa is the sherpa-onnx keyword-spotting engine for pkg/speechkit/wakeword.
|
Package sherpa is the sherpa-onnx keyword-spotting engine for pkg/speechkit/wakeword. |
|
speechkit/wakeword/training
Package training captures wake-word activations for model training.
|
Package training captures wake-word activations for model training. |
|
speechkit/x
module
|
Click to show internal directories.
Click to hide internal directories.