Documentation
¶
Overview ¶
Package voiceagent provides an embeddable Voice Agent service.
Voice Agent is the realtime audio-to-audio mode: a duplex WebSocket session with the underlying live model (Gemini Live, OpenAI Realtime, or a pipeline fallback) where the user and the agent take audio turns in sequence. Use this when the host needs brainstorming, support, or follow-up dialogue rather than a one-shot result.
For tool registration, lifecycle hooks, and session memory, build on top of this with github.com/kombifyio/SpeechKit/pkg/speechkit/agentkit.
Construct an instance with NewService, passing a provider and the strict- mode policy fields from the host config.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrMissingProvider = errors.New("speechkit voiceagent: provider is required")
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func (*Service) CurrentSession ¶
Directories
¶
| Path | Synopsis |
|---|---|
|
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. |
|
Package cascaded implements a turn-based STT -> LLM -> TTS voice agent provider.
|
Package cascaded implements a turn-based STT -> LLM -> TTS voice agent provider. |
|
Package live exposes the low-level Voice Agent realtime-protocol types.
|
Package live exposes the low-level Voice Agent realtime-protocol types. |
|
foundry
Package foundry adapts the OpenAI Realtime provider to Microsoft Foundry.
|
Package foundry adapts the OpenAI Realtime provider to Microsoft Foundry. |
|
livecontract
Package livecontract provides reusable conformance checks for LiveProvider implementations.
|
Package livecontract provides reusable conformance checks for LiveProvider implementations. |
|
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. |
Click to show internal directories.
Click to hide internal directories.