jargo

package module
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 5, 2026 License: BSD-2-Clause Imports: 0 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

jargo

A WebRTC-native, audio-first conversational-AI framework for Go.

CI Coverage Go Reference OpenSSF Scorecard Go version Release


jargo is a framework for real-time voice agents in Go: audio in over WebRTC, a streaming transcription → reasoning → speech pipeline with turn-taking and barge-in, and audio back out.

Why?

Pipecat is great, and jargo is a port of it. The architecture and many design decisions are Pipecat's.

Python might not be the way

This port exists for one reason: I'd rather not run a voice agent on Python.

Python is the right tool when you need the AI/data-science ecosystem. A real-time voice server doesn't: the models run as services or as ONNX, and what's left is plumbing: audio framing, WebRTC, concurrency, and shipping a binary. For that, Go is a better fit: one static binary to deploy, low and predictable memory, fast startup, and real concurrency for many simultaneous sessions without a GIL. The heavy numerics stay where they belong (the ONNX Runtime, the remote services), so giving up Python costs little here. See the benchmarks for the honest performance picture.

Features

  • Transports: WebRTC (Pion), WebSockets, LiveKit and local audio.
  • Audio, pure Go: Opus encode and decode via pion/opus, resampling via go-resample. No cgo, and no build tag that adds any.
  • Streaming voice pipeline: STT → LLM → TTS, with prompt caching.
  • Speech-to-speech: single-model voice agents (OpenAI Realtime, Gemini Live, AWS Nova Sonic).
  • Turn-taking & barge-in: Silero VAD + Smart Turn v3, local ONNX. Both models are embedded in the binary.
  • Telephony (optional): inbound/outbound phone calls over Twilio Media Streams.
  • User-idle watchdog: re-engage or hang up when the caller goes silent.
  • RTVI data channel: works with existing RTVI clients.
  • Pluggable services: swap any STT/LLM/TTS behind a small interface.
  • Concurrent by design: independent processors; interruptions are frames.

Providers

Pick any per category; each is a small Config + constructor.

  • STT: Deepgram, AssemblyAI, Gladia, Speechmatics, Soniox, Whisper (OpenAI/Groq/local), Azure, xAI, ElevenLabs, Cartesia, NVIDIA.
  • LLM: Anthropic (direct + Bedrock), OpenAI (chat + Responses), Google Gemini (direct + Vertex), Groq, Together, Fireworks, DeepSeek, Cerebras, Perplexity, OpenRouter, xAI, Ollama, NVIDIA, Mistral, Nebius, SambaNova, Qwen, Azure OpenAI.
  • TTS: ElevenLabs, Cartesia, Rime, Kokoro, Piper, Pocket TTS, Deepgram, OpenAI, Azure, Hume, Fish, MiniMax, xAI, NVIDIA, Soniox, AssemblyAI.
  • Speech-to-speech: OpenAI Realtime (direct + Azure), Gemini Live (direct + Vertex), AWS Nova Sonic, xAI Realtime.
  • Memory: mem0.

Usage

go get github.com/gojargo/jargo

A bot is an STT → LLM → TTS pipeline over a WebRTC transport. The heart of it:

stt := chat.NewSTT(chat.STTConfig{APIKey: key, SampleRate: opus.SampleRate})
llm := chat.NewLLM(chat.LLMConfig{APIKey: key})
tts := chat.NewTTS(chat.TTSConfig{APIKey: key})

t := rtc.NewTransport(conn, transport.DefaultParams())
agg := aggregators.New(frames.NewLLMContext("You are a helpful voice assistant."))

task := pipeline.NewWorker(pipeline.New(
	t.Input(), stt, agg.User(), llm, tts, t.Output(), agg.Assistant(),
), pipeline.WorkerConfig{})
task.Run(ctx)

examples/getting-started/06-voice-agent is a complete voice agent on the dev runner (WebRTC signaling, a browser client, VAD and turn-taking, barge-in).

Run it in Docker: build on the gojargo/jargo-build base and ship on the distroless gojargo/jargo runtime (it bundles the ONNX Runtime), then:

docker run --rm -p 8080:8080 -e OPENAI_API_KEY=$OPENAI_API_KEY my-bot

See Deploy with Docker for the Dockerfile and the Quickstart for the full setup.

Examples

Runnable bots live in examples/. Start with the getting-started series, which builds up from one spoken sentence to a voice agent with tools, each step a short bot function on the development runner:

CARTESIA_API_KEY=... go run ./examples/getting-started/01-say-one-thing
# then open http://localhost:7860

The others:

  • echo: hear yourself back, no API keys.
  • voicebot: the full voice agent (STT → LLM → TTS over WebRTC) with turn-taking, long-term memory, and tracing.
  • voice/: the voice agent on each provider's STT, LLM and TTS, wired explicitly on the dev runner. Run with go run ./examples/voice/voice-<provider> (e.g. voice-deepgram-flux, voice-cartesia, voice-openai) and open http://localhost:7860.
  • twiliobot: a phone agent over Twilio Media Streams, with the idle watchdog.

The fastest way to try them (locally or with Docker) is the Quickstart.

go run ./examples/echo                 # then open http://localhost:8080

Documentation

gojargo.github.io/jargo is the full documentation. The same pages live in docs/ and read fine on GitHub.

Start with Architecture for the model, or Frames and Processors for the engine. Writing a processor covers extending it. The API reference is the Go reference.

What you need to install

Nothing, to build: the default build is cgo-free, so CGO_ENABLED=0 go build ./... works with no C toolchain and no system packages.

To run a voice bot you need one shared library, and only for turn-taking:

What When you need it How to get it
ONNX Runtime VAD and end-of-turn detection. Without it the bot still runs, on STT endpointing, and loses barge-in. make deps-onnx, or a release
RNNoise Optional input noise reduction. make deps-rnnoise

Both libraries are loaded at run time through purego, so they are never needed at build time. Point jargo at them with JARGO_ONNXRUNTIME_LIB and JARGO_RNNOISE_LIB, or leave them on the loader's default search path. The base images bundle all of them.

Benchmarks

1,000 concurrent sessions served on 3 CPUs: one jargo process, against one Pipecat 1.15 process per CPU (the GIL holds each to one core).

jargo Pipecat
Memory, idle 8.6 MiB 162 MiB
Memory, 1,000 sessions 124 MiB 357 MiB
Throughput 96k frames/s 10.8k frames/s
Startup per session 0.12 ms 1.08 ms

Medians of 6 runs on a GitHub-hosted runner (AMD EPYC 7763), every difference significant. This is framework overhead only: provider round trips dominate what a caller hears, and cost the same on both. Method.

License & attribution

jargo is a Go port of Pipecat, distributed under the same BSD 2-Clause License. The upstream copyright (Copyright (c) 2024–2026, Daily) is preserved verbatim in LICENSE; see NOTICE for details. jargo is an independent project, not affiliated with or endorsed by Daily.

Documentation

Overview

Package jargo is a framework for building real-time voice and multimodal AI pipelines.

Directories

Path Synopsis
Package adapter converts jargo's universal conversation context into the request each LLM provider takes.
Package adapter converts jargo's universal conversation context into the request each LLM provider takes.
anthropic
Package anthropic converts a universal conversation into the request Anthropic takes, and with it Bedrock, which serves the same models.
Package anthropic converts a universal conversation into the request Anthropic takes, and with it Bedrock, which serves the same models.
deepseek
Package deepseek converts a universal conversation into the request DeepSeek takes.
Package deepseek converts a universal conversation into the request DeepSeek takes.
gemini
Package gemini converts a universal conversation into the request Gemini takes, and with it Vertex AI, which serves the same models.
Package gemini converts a universal conversation into the request Gemini takes, and with it Vertex AI, which serves the same models.
geminilive
Package geminilive converts a universal conversation into what Gemini Live takes on a session.
Package geminilive converts a universal conversation into what Gemini Live takes on a session.
mistral
Package mistral converts a universal conversation into the request Mistral takes.
Package mistral converts a universal conversation into the request Mistral takes.
novasonic
Package novasonic converts a universal conversation into what Amazon Nova Sonic takes on a session: the system instruction, the conversation history to seed it with, and the tools it carries.
Package novasonic converts a universal conversation into what Amazon Nova Sonic takes on a session: the system instruction, the conversation history to seed it with, and the tools it carries.
openai
Package openai converts a universal conversation into the chat-completions request OpenAI takes, and with it every endpoint that speaks OpenAI's API.
Package openai converts a universal conversation into the chat-completions request OpenAI takes, and with it every endpoint that speaks OpenAI's API.
perplexity
Package perplexity converts a universal conversation into the request Perplexity takes.
Package perplexity converts a universal conversation into the request Perplexity takes.
realtime
Package realtime converts a universal conversation into what OpenAI's Realtime API takes on a session: the system instruction, the conversation items to seed it with, and the tools it carries.
Package realtime converts a universal conversation into what OpenAI's Realtime API takes on a session: the system instruction, the conversation items to seed it with, and the tools it carries.
responses
Package responses converts a universal conversation into the request OpenAI's Responses API takes, over HTTP and over the WebSocket alike: the two transports carry the same request.
Package responses converts a universal conversation into the request OpenAI's Responses API takes, over HTTP and over the WebSocket alike: the two transports carry the same request.
tts
Package tts holds how a TTS service performs expression tags, for an expressive conversation.
Package tts holds how a TTS service performs expression tags, for an expressive conversation.
tts/azure
Package azure is Azure's expression adapter, which formats expression tags as Azure HD voice style markers for an expressive conversation (alpha).
Package azure is Azure's expression adapter, which formats expression tags as Azure HD voice style markers for an expressive conversation (alpha).
tts/cartesia
Package cartesia is Cartesia's expression adapter, which formats expression tags as Cartesia's inline markup for an expressive conversation (alpha).
Package cartesia is Cartesia's expression adapter, which formats expression tags as Cartesia's inline markup for an expressive conversation (alpha).
tts/elevenlabs
Package elevenlabs is ElevenLabs' expression adapter, which formats expression tags as Eleven v3 and v4 audio tags for an expressive conversation (alpha).
Package elevenlabs is ElevenLabs' expression adapter, which formats expression tags as Eleven v3 and v4 audio tags for an expressive conversation (alpha).
tts/fish
Package fish is Fish Audio's expression adapter, which formats expression tags as Fish Audio S2 bracket tags for an expressive conversation (alpha).
Package fish is Fish Audio's expression adapter, which formats expression tags as Fish Audio S2 bracket tags for an expressive conversation (alpha).
tts/gemini
Package gemini is Gemini's expression adapter, which performs expression tags with Gemini 3.8 TTS models for an expressive conversation (alpha).
Package gemini is Gemini's expression adapter, which performs expression tags with Gemini 3.8 TTS models for an expressive conversation (alpha).
tts/inworld
Package inworld is Inworld's expression adapter, which formats expression tags as Inworld TTS-2 audio markup for an expressive conversation (alpha).
Package inworld is Inworld's expression adapter, which formats expression tags as Inworld TTS-2 audio markup for an expressive conversation (alpha).
tts/minimax
Package minimax is MiniMax's expression adapter, which performs expression tags with MiniMax speech-2.8 models for an expressive conversation (alpha).
Package minimax is MiniMax's expression adapter, which performs expression tags with MiniMax speech-2.8 models for an expressive conversation (alpha).
tts/mistral
Package mistral is Mistral's expression adapter, which formats expression tags as Voxtral 3 TTS tags for an expressive conversation (alpha).
Package mistral is Mistral's expression adapter, which formats expression tags as Voxtral 3 TTS tags for an expressive conversation (alpha).
tts/soniox
Package soniox is Soniox's expression adapter, which formats expression tags as Soniox TTS audio tags for an expressive conversation (alpha).
Package soniox is Soniox's expression adapter, which formats expression tags as Soniox TTS audio tags for an expressive conversation (alpha).
Package audio defines the interfaces for pluggable audio processing a transport applies to the media it sends and receives.
Package audio defines the interfaces for pluggable audio processing a transport applies to the media it sends and receives.
dtmf
Package dtmf generates the dual-tone multi-frequency signals a telephone keypad produces, as 16-bit mono PCM.
Package dtmf generates the dual-tone multi-frequency signals a telephone keypad produces, as 16-bit mono PCM.
g711
Package g711 implements the ITU-T G.711 companding codecs used by telephony media streams (Twilio, Telnyx, Plivo and the wider PSTN): μ-law (PCMU), the North American variant, and A-law (PCMA), used elsewhere.
Package g711 implements the ITU-T G.711 companding codecs used by telephony media streams (Twilio, Telnyx, Plivo and the wider PSTN): μ-law (PCMU), the North American variant, and A-law (PCMA), used elsewhere.
loudness
Package loudness measures how loud audio is, to ITU-R BS.1770 (the EBU R128 standard), and normalizes the result to a 0..1 scale.
Package loudness measures how loud audio is, to ITU-R BS.1770 (the EBU R128 standard), and normalizes the result to a 0..1 scale.
mixer
Package mixer mixes background audio into a transport's outgoing audio.
Package mixer mixes background audio into a transport's outgoing audio.
noise/gate
Package gate provides a noise gate: an audio.Filter that silences a chunk of audio whose RMS energy falls below a threshold, suppressing low-level background hum and hiss between speech.
Package gate provides a noise gate: an audio.Filter that silences a chunk of audio whose RMS energy falls below a threshold, suppressing low-level background hum and hiss between speech.
noise/rnnoise
Package rnnoise is an input audio filter that suppresses background noise with RNNoise, Xiph's recurrent-network denoiser.
Package rnnoise is an input audio filter that suppresses background noise with RNNoise, Xiph's recurrent-network denoiser.
onset
Package onset detects the first audible sample in a stream of PCM audio.
Package onset detects the first audible sample in a stream of PCM audio.
opus
Package opus wraps the Opus codec for jargo's audio path: it decodes Opus packets to PCM on the way in and encodes PCM to Opus packets on the way out.
Package opus wraps the Opus codec for jargo's audio path: it decodes Opus packets to PCM on the way in and encodes PCM to Opus packets on the way out.
resample
Package resample converts interleaved S16LE PCM audio between sample rates, preserving the channel count.
Package resample converts interleaved S16LE PCM audio between sample rates, preserving the channel count.
turn
Package turn provides end-of-turn detection: it decides when a user has actually finished speaking, as opposed to merely pausing.
Package turn provides end-of-turn detection: it decides when a user has actually finished speaking, as opposed to merely pausing.
vad
Package vad provides voice activity detection: it tells the pipeline when a user is speaking.
Package vad provides voice activity detection: it tells the pipeline when a user is speaking.
vad/controller
Package controller drives a voice-activity detector and reports what it hears.
Package controller drives a voice-activity detector and reports what it hears.
bus
Package bus is the pub/sub messaging that connects workers to each other and to the runner that manages them.
Package bus is the pub/sub messaging that connects workers to each other and to the runner that manages them.
network/redis module
Package classifier answers typed questions about some state.
Package classifier answers typed questions about some state.
jev
Package jev is a classifier backed by Jev, TypeSafe's hosted classification model.
Package jev is a classifier backed by Jev, TypeSafe's hosted classification model.
llm
Package llm is a classifier backed by any LLM service that runs a one-shot inference.
Package llm is a classifier backed by any LLM service that runs a one-shot inference.
Package clock provides the timing source a pipeline uses for presentation timestamps and elapsed-time measurements.
Package clock provides the timing source a pipeline uses for presentation timestamps and elapsed-time measurements.
cmd
jargo command
Command jargo is the command-line entry point for jargo tooling.
Command jargo is the command-line entry point for jargo tooling.
Package eval is a behavioral eval harness for jargo bots.
Package eval is a behavioral eval harness for jargo bots.
examples
echo command
Command echo is a WebRTC echo bot built on jargo: it receives microphone audio from a browser, runs it through a pipeline, and sends it back so you hear yourself.
Command echo is a WebRTC echo bot built on jargo: it receives microphone audio from a browser, runs it through a pipeline, and sends it back so you hear yourself.
eval command
Command eval is a tiny demo bot for the jargo eval harness.
Command eval is a tiny demo bot for the jargo eval harness.
flows command
Command flows is a headless jargo voice backend driven by a conversation flow.
Command flows is a headless jargo voice backend driven by a conversation flow.
function-calling/function-calling-anthropic command
Command function-calling-anthropic is a voice agent whose LLM calls tools: Anthropic's Claude.
Command function-calling-anthropic is a voice agent whose LLM calls tools: Anthropic's Claude.
function-calling/function-calling-anthropic-async command
Command function-calling-anthropic-async is a voice agent whose LLM calls tools: Anthropic's Claude, with asynchronous tools.
Command function-calling-anthropic-async is a voice agent whose LLM calls tools: Anthropic's Claude, with asynchronous tools.
function-calling/function-calling-anthropic-async-stream command
Command function-calling-anthropic-async-stream is a voice agent whose LLM calls tools: Anthropic's Claude, with a tool that reports intermediate results.
Command function-calling-anthropic-async-stream is a voice agent whose LLM calls tools: Anthropic's Claude, with a tool that reports intermediate results.
function-calling/function-calling-aws command
Command function-calling-aws is a voice agent whose LLM calls tools: Claude on AWS Bedrock.
Command function-calling-aws is a voice agent whose LLM calls tools: Claude on AWS Bedrock.
function-calling/function-calling-azure command
Command function-calling-azure is a voice agent whose LLM calls tools: Azure OpenAI.
Command function-calling-azure is a voice agent whose LLM calls tools: Azure OpenAI.
function-calling/function-calling-cerebras command
Command function-calling-cerebras is a voice agent whose LLM calls tools: Cerebras.
Command function-calling-cerebras is a voice agent whose LLM calls tools: Cerebras.
function-calling/function-calling-deepseek command
Command function-calling-deepseek is a voice agent whose LLM calls tools: DeepSeek.
Command function-calling-deepseek is a voice agent whose LLM calls tools: DeepSeek.
function-calling/function-calling-fireworks command
Command function-calling-fireworks is a voice agent whose LLM calls tools: Fireworks AI.
Command function-calling-fireworks is a voice agent whose LLM calls tools: Fireworks AI.
function-calling/function-calling-google-async-stream command
Command function-calling-google-async-stream is a voice agent whose LLM calls tools: Google Gemini, with a tool that reports intermediate results.
Command function-calling-google-async-stream is a voice agent whose LLM calls tools: Google Gemini, with a tool that reports intermediate results.
function-calling/function-calling-google-vertex command
Command function-calling-google-vertex is a voice agent whose LLM calls tools: Gemini on Google Vertex AI.
Command function-calling-google-vertex is a voice agent whose LLM calls tools: Gemini on Google Vertex AI.
function-calling/function-calling-grok command
Command function-calling-grok is a voice agent whose LLM calls tools: xAI's Grok.
Command function-calling-grok is a voice agent whose LLM calls tools: xAI's Grok.
function-calling/function-calling-groq command
Command function-calling-groq is a voice agent whose LLM calls tools: Groq, which also transcribes the user.
Command function-calling-groq is a voice agent whose LLM calls tools: Groq, which also transcribes the user.
function-calling/function-calling-inception command
Command function-calling-inception is a voice agent whose LLM calls tools: Inception.
Command function-calling-inception is a voice agent whose LLM calls tools: Inception.
function-calling/function-calling-missing-handler command
Command function-calling-missing-handler demonstrates, on purpose, a tool the LLM is told about but that has no handler.
Command function-calling-missing-handler demonstrates, on purpose, a tool the LLM is told about but that has no handler.
function-calling/function-calling-mistral command
Command function-calling-mistral is a voice agent whose LLM calls tools: Mistral.
Command function-calling-mistral is a voice agent whose LLM calls tools: Mistral.
function-calling/function-calling-nebius command
Command function-calling-nebius is a voice agent whose LLM calls tools: Nebius.
Command function-calling-nebius is a voice agent whose LLM calls tools: Nebius.
function-calling/function-calling-novita command
Command function-calling-novita is a voice agent whose LLM calls tools: Novita AI.
Command function-calling-novita is a voice agent whose LLM calls tools: Novita AI.
function-calling/function-calling-nvidia command
Command function-calling-nvidia is a voice agent whose LLM calls tools: NVIDIA.
Command function-calling-nvidia is a voice agent whose LLM calls tools: NVIDIA.
function-calling/function-calling-ollama command
Command function-calling-ollama is a voice agent whose LLM calls tools: a local Ollama model.
Command function-calling-ollama is a voice agent whose LLM calls tools: a local Ollama model.
function-calling/function-calling-openai command
Command function-calling-openai is a voice agent whose LLM calls tools: OpenAI.
Command function-calling-openai is a voice agent whose LLM calls tools: OpenAI.
function-calling/function-calling-openai-async command
Command function-calling-openai-async is a voice agent whose LLM calls tools: OpenAI, with asynchronous tools.
Command function-calling-openai-async is a voice agent whose LLM calls tools: OpenAI, with asynchronous tools.
function-calling/function-calling-openai-async-stream command
Command function-calling-openai-async-stream is a voice agent whose LLM calls tools: OpenAI, with a tool that reports intermediate results.
Command function-calling-openai-async-stream is a voice agent whose LLM calls tools: OpenAI, with a tool that reports intermediate results.
function-calling/function-calling-openai-responses command
Command function-calling-openai-responses is a voice agent whose LLM calls tools: OpenAI's Responses API.
Command function-calling-openai-responses is a voice agent whose LLM calls tools: OpenAI's Responses API.
function-calling/function-calling-openai-responses-async command
Command function-calling-openai-responses-async is a voice agent whose LLM calls tools: OpenAI's Responses API, with asynchronous tools.
Command function-calling-openai-responses-async is a voice agent whose LLM calls tools: OpenAI's Responses API, with asynchronous tools.
function-calling/function-calling-openai-responses-async-stream command
Command function-calling-openai-responses-async-stream is a voice agent whose LLM calls tools: OpenAI's Responses API, with a tool that reports intermediate results.
Command function-calling-openai-responses-async-stream is a voice agent whose LLM calls tools: OpenAI's Responses API, with a tool that reports intermediate results.
function-calling/function-calling-openai-responses-http command
Command function-calling-openai-responses-http is a voice agent whose LLM calls tools: OpenAI's Responses API over HTTP.
Command function-calling-openai-responses-http is a voice agent whose LLM calls tools: OpenAI's Responses API over HTTP.
function-calling/function-calling-openrouter command
Command function-calling-openrouter is a voice agent whose LLM calls tools: OpenRouter.
Command function-calling-openrouter is a voice agent whose LLM calls tools: OpenRouter.
function-calling/function-calling-perplexity command
Command function-calling-perplexity is a voice agent whose LLM calls tools: Perplexity's Agent API.
Command function-calling-perplexity is a voice agent whose LLM calls tools: Perplexity's Agent API.
function-calling/function-calling-qwen command
Command function-calling-qwen is a voice agent whose LLM calls tools: Qwen.
Command function-calling-qwen is a voice agent whose LLM calls tools: Qwen.
function-calling/function-calling-sambanova command
Command function-calling-sambanova is a voice agent whose LLM calls tools: SambaNova.
Command function-calling-sambanova is a voice agent whose LLM calls tools: SambaNova.
function-calling/function-calling-sarvam command
Command function-calling-sarvam is a voice agent whose LLM calls tools: Sarvam AI, which also transcribes and speaks.
Command function-calling-sarvam is a voice agent whose LLM calls tools: Sarvam AI, which also transcribes and speaks.
function-calling/function-calling-together command
Command function-calling-together is a voice agent whose LLM calls tools: Together AI.
Command function-calling-together is a voice agent whose LLM calls tools: Together AI.
getting-started/01-say-one-thing command
Command 01-say-one-thing says one thing to whoever connects, then hangs up.
Command 01-say-one-thing says one thing to whoever connects, then hangs up.
getting-started/01a-local-audio command
Command 01a-local-audio says one thing through the local speaker, then exits.
Command 01a-local-audio says one thing through the local speaker, then exits.
getting-started/02-llm-say-one-thing command
Command 02-llm-say-one-thing has an LLM say one thing to whoever connects, then hangs up.
Command 02-llm-say-one-thing has an LLM say one thing to whoever connects, then hangs up.
getting-started/06-voice-agent command
Command 06-voice-agent is a voice agent: it listens, thinks and answers.
Command 06-voice-agent is a voice agent: it listens, thinks and answers.
getting-started/06a-voice-agent-local command
Command 06a-voice-agent-local is 06-voice-agent on the local microphone and speaker: no server, no browser.
Command 06a-voice-agent-local is 06-voice-agent on the local microphone and speaker: no server, no browser.
getting-started/07-function-calling command
Command 07-function-calling is 06-voice-agent with tools: the LLM can look up the weather and recommend a restaurant.
Command 07-function-calling is 06-voice-agent with tools: the LLM can look up the weather and recommend a restaurant.
localaudio command
Command localaudio echoes the local microphone straight back to the local speaker using jargo's pure-Go local-audio transport.
Command localaudio echoes the local microphone straight back to the local speaker using jargo's pure-Go local-audio transport.
realtime/realtime-aws-nova-sonic command
Command realtime-aws-nova-sonic is a voice agent on Amazon Nova Sonic, a speech-to-speech model: it hears the caller, speaks its answers, and calls a tool, with turn detection done server-side.
Command realtime-aws-nova-sonic is a voice agent on Amazon Nova Sonic, a speech-to-speech model: it hears the caller, speaks its answers, and calls a tool, with turn detection done server-side.
realtime/realtime-azure command
Command realtime-azure is a voice agent on the Azure OpenAI Realtime API, a speech-to-speech model: it hears the caller, speaks its answers, and calls tools, with turn detection done server-side.
Command realtime-azure is a voice agent on the Azure OpenAI Realtime API, a speech-to-speech model: it hears the caller, speaks its answers, and calls tools, with turn detection done server-side.
realtime/realtime-gemini-live command
Command realtime-gemini-live is a voice agent on Gemini Live, a speech-to-speech model: it hears the caller, speaks its answers, calls tools, and searches the web, with turn detection done server-side.
Command realtime-gemini-live is a voice agent on Gemini Live, a speech-to-speech model: it hears the caller, speaks its answers, calls tools, and searches the web, with turn detection done server-side.
realtime/realtime-gemini-live-vertex command
Command realtime-gemini-live-vertex is a voice agent on Gemini Live through Vertex AI, a speech-to-speech model: it hears the caller, speaks its answers, and calls tools, with turn detection done server-side.
Command realtime-gemini-live-vertex is a voice agent on Gemini Live through Vertex AI, a speech-to-speech model: it hears the caller, speaks its answers, and calls tools, with turn detection done server-side.
realtime/realtime-grok command
Command realtime-grok is a voice agent on xAI's Grok Voice Agent API, a speech-to-speech model: it hears the caller, speaks its answers, and calls tools, with turn detection done server-side.
Command realtime-grok is a voice agent on xAI's Grok Voice Agent API, a speech-to-speech model: it hears the caller, speaks its answers, and calls tools, with turn detection done server-side.
realtime/realtime-openai command
Command realtime-openai is a voice agent on the OpenAI Realtime API, a speech-to-speech model: it hears the caller, speaks its answers, and calls tools, with turn detection done server-side.
Command realtime-openai is a voice agent on the OpenAI Realtime API, a speech-to-speech model: it hears the caller, speaks its answers, and calls tools, with turn detection done server-side.
transports/transports-livekit command
Command transports-livekit is a voice agent that joins a LiveKit room, without the development runner.
Command transports-livekit is a voice agent that joins a LiveKit room, without the development runner.
transports/transports-small-webrtc command
Command transports-small-webrtc is a voice agent that builds its WebRTC transport itself, from the peer connection the development runner answered, rather than through runner.CreateTransport.
Command transports-small-webrtc is a voice agent that builds its WebRTC transport itself, from the peer connection the development runner answered, rather than through runner.CreateTransport.
twilio/outbound command
Command outbound is an outbound telephony voice agent: it places a phone call over Twilio, talks to whoever answers, collects a few details and hangs up.
Command outbound is an outbound telephony voice agent: it places a phone call over Twilio, talks to whoever answers, collects a few details and hangs up.
twiliobot command
Command twiliobot is a telephony voice agent built on jargo: a Twilio phone call streams audio over a WebSocket (μ-law 8 kHz), an STT service transcribes it, an LLM reasons over it, a TTS service speaks the reply, and the audio goes back to the caller.
Command twiliobot is a telephony voice agent built on jargo: a Twilio phone call streams audio over a WebSocket (μ-law 8 kHz), an STT service transcribes it, an LLM reasons over it, a TTS service speaks the reply, and the audio goes back to the caller.
voice/voice-assemblyai command
Command voice-assemblyai is a voice agent: AssemblyAI speech-to-text and text-to-speech, with an OpenAI LLM.
Command voice-assemblyai is a voice agent: AssemblyAI speech-to-text and text-to-speech, with an OpenAI LLM.
voice/voice-asyncai command
Command voice-asyncai is a voice agent: Deepgram speech-to-text, an OpenAI LLM and Async text-to-speech.
Command voice-asyncai is a voice agent: Deepgram speech-to-text, an OpenAI LLM and Async text-to-speech.
voice/voice-aws command
Command voice-aws is a voice agent: AWS Transcribe speech-to-text, Claude on AWS Bedrock and AWS Polly text-to-speech.
Command voice-aws is a voice agent: AWS Transcribe speech-to-text, Claude on AWS Bedrock and AWS Polly text-to-speech.
voice/voice-azure-http command
Command voice-azure-http is a voice agent: Azure speech-to-text, Azure OpenAI and Azure text-to-speech over HTTP.
Command voice-azure-http is a voice agent: Azure speech-to-text, Azure OpenAI and Azure text-to-speech over HTTP.
voice/voice-camb command
Command voice-camb is a voice agent: Deepgram speech-to-text, an OpenAI LLM and Camb AI text-to-speech.
Command voice-camb is a voice agent: Deepgram speech-to-text, an OpenAI LLM and Camb AI text-to-speech.
voice/voice-cartesia command
Command voice-cartesia is a voice agent: Cartesia speech-to-text and text- to-speech, with an OpenAI LLM.
Command voice-cartesia is a voice agent: Cartesia speech-to-text and text- to-speech, with an OpenAI LLM.
voice/voice-cartesia-http command
Command voice-cartesia-http is a voice agent: Cartesia speech-to-text, an OpenAI LLM and Cartesia text-to-speech over HTTP.
Command voice-cartesia-http is a voice agent: Cartesia speech-to-text, an OpenAI LLM and Cartesia text-to-speech over HTTP.
voice/voice-cartesia-turns command
Command voice-cartesia-turns is a voice agent: Cartesia speech-to-text that detects the turns itself, an OpenAI LLM and Cartesia text-to-speech.
Command voice-cartesia-turns is a voice agent: Cartesia speech-to-text that detects the turns itself, an OpenAI LLM and Cartesia text-to-speech.
voice/voice-deepgram-flux command
Command voice-deepgram-flux is a voice agent: Deepgram Flux speech-to-text and text-to-speech, with an OpenAI LLM.
Command voice-deepgram-flux is a voice agent: Deepgram Flux speech-to-text and text-to-speech, with an OpenAI LLM.
voice/voice-deepgram-http command
Command voice-deepgram-http is a voice agent: Deepgram speech-to-text and text-to-speech (over HTTP), with an OpenAI LLM.
Command voice-deepgram-http is a voice agent: Deepgram speech-to-text and text-to-speech (over HTTP), with an OpenAI LLM.
voice/voice-elevenlabs command
Command voice-elevenlabs is a voice agent: ElevenLabs realtime speech-to- text and streaming text-to-speech, with an OpenAI LLM.
Command voice-elevenlabs is a voice agent: ElevenLabs realtime speech-to- text and streaming text-to-speech, with an OpenAI LLM.
voice/voice-elevenlabs-http command
Command voice-elevenlabs-http is a voice agent: ElevenLabs speech-to-text and text-to-speech over HTTP, with an OpenAI LLM.
Command voice-elevenlabs-http is a voice agent: ElevenLabs speech-to-text and text-to-speech over HTTP, with an OpenAI LLM.
voice/voice-fal command
Command voice-fal is a voice agent: Fal speech-to-text, an OpenAI LLM and Cartesia text-to-speech.
Command voice-fal is a voice agent: Fal speech-to-text, an OpenAI LLM and Cartesia text-to-speech.
voice/voice-fish command
Command voice-fish is a voice agent: Deepgram speech-to-text, an OpenAI LLM and Fish Audio text-to-speech.
Command voice-fish is a voice agent: Deepgram speech-to-text, an OpenAI LLM and Fish Audio text-to-speech.
voice/voice-gladia command
Command voice-gladia is a voice agent: Gladia speech-to-text, an OpenAI LLM and Cartesia text-to-speech.
Command voice-gladia is a voice agent: Gladia speech-to-text, an OpenAI LLM and Cartesia text-to-speech.
voice/voice-gladia-vad command
Command voice-gladia-vad is a voice agent: Gladia (with its own voice activity detection) speech-to-text, an OpenAI LLM and Cartesia text-to- speech.
Command voice-gladia-vad is a voice agent: Gladia (with its own voice activity detection) speech-to-text, an OpenAI LLM and Cartesia text-to- speech.
voice/voice-gradium command
Command voice-gradium is a voice agent: Gradium speech-to-text and text-to- speech, with an OpenAI LLM.
Command voice-gradium is a voice agent: Gradium speech-to-text and text-to- speech, with an OpenAI LLM.
voice/voice-groq command
Command voice-groq is a voice agent: Groq speech-to-text, LLM and text-to- speech.
Command voice-groq is a voice agent: Groq speech-to-text, LLM and text-to- speech.
voice/voice-hume command
Command voice-hume is a voice agent: Deepgram speech-to-text, an OpenAI LLM and Hume text-to-speech.
Command voice-hume is a voice agent: Deepgram speech-to-text, an OpenAI LLM and Hume text-to-speech.
voice/voice-inworld-http command
Command voice-inworld-http is a voice agent: Deepgram speech-to-text, an OpenAI LLM and Inworld (over HTTP) text-to-speech.
Command voice-inworld-http is a voice agent: Deepgram speech-to-text, an OpenAI LLM and Inworld (over HTTP) text-to-speech.
voice/voice-kokoro command
Command voice-kokoro is a voice agent: Deepgram speech-to-text, an OpenAI LLM and Kokoro text-to-speech.
Command voice-kokoro is a voice agent: Deepgram speech-to-text, an OpenAI LLM and Kokoro text-to-speech.
voice/voice-minimax command
Command voice-minimax is a voice agent: Deepgram speech-to-text, an OpenAI LLM and MiniMax text-to-speech.
Command voice-minimax is a voice agent: Deepgram speech-to-text, an OpenAI LLM and MiniMax text-to-speech.
voice/voice-mistral command
Command voice-mistral is a voice agent: Mistral speech-to-text and text-to- speech, with an OpenAI LLM.
Command voice-mistral is a voice agent: Mistral speech-to-text and text-to- speech, with an OpenAI LLM.
voice/voice-neuphonic command
Command voice-neuphonic is a voice agent: Deepgram speech-to-text, an OpenAI LLM and Neuphonic text-to-speech.
Command voice-neuphonic is a voice agent: Deepgram speech-to-text, an OpenAI LLM and Neuphonic text-to-speech.
voice/voice-nvidia command
Command voice-nvidia is a voice agent: NVIDIA speech-to-text, LLM and text- to-speech.
Command voice-nvidia is a voice agent: NVIDIA speech-to-text, LLM and text- to-speech.
voice/voice-nvidia-segmented command
Command voice-nvidia-segmented is a voice agent: NVIDIA speech-to-text (transcribing each utterance once it ends), LLM and text-to-speech.
Command voice-nvidia-segmented is a voice agent: NVIDIA speech-to-text (transcribing each utterance once it ends), LLM and text-to-speech.
voice/voice-openai command
Command voice-openai is a voice agent: OpenAI's realtime transcription, LLM and text-to-speech.
Command voice-openai is a voice agent: OpenAI's realtime transcription, LLM and text-to-speech.
voice/voice-openai-http command
Command voice-openai-http is a voice agent: OpenAI transcription, LLM and text-to-speech, transcribing over HTTP.
Command voice-openai-http is a voice agent: OpenAI transcription, LLM and text-to-speech, transcribing over HTTP.
voice/voice-openai-responses command
Command voice-openai-responses is a voice agent: Deepgram speech-to-text, OpenAI's Responses API and Cartesia text-to-speech.
Command voice-openai-responses is a voice agent: Deepgram speech-to-text, OpenAI's Responses API and Cartesia text-to-speech.
voice/voice-openai-responses-http command
Command voice-openai-responses-http is a voice agent: Deepgram speech-to- text, OpenAI's Responses API over HTTP and Cartesia text-to-speech.
Command voice-openai-responses-http is a voice agent: Deepgram speech-to- text, OpenAI's Responses API over HTTP and Cartesia text-to-speech.
voice/voice-openai-turn-detection command
Command voice-openai-turn-detection is a voice agent: OpenAI's realtime transcription with the server's VAD driving turns, an OpenAI LLM and OpenAI text-to-speech.
Command voice-openai-turn-detection is a voice agent: OpenAI's realtime transcription with the server's VAD driving turns, an OpenAI LLM and OpenAI text-to-speech.
voice/voice-piper command
Command voice-piper is a voice agent: Deepgram speech-to-text, an OpenAI LLM and Piper text-to-speech.
Command voice-piper is a voice agent: Deepgram speech-to-text, an OpenAI LLM and Piper text-to-speech.
voice/voice-pockettts command
Command voice-pockettts is a voice agent: Deepgram speech-to-text, an OpenAI LLM and Pocket TTS text-to-speech.
Command voice-pockettts is a voice agent: Deepgram speech-to-text, an OpenAI LLM and Pocket TTS text-to-speech.
voice/voice-resemble command
Command voice-resemble is a voice agent: Deepgram speech-to-text, an OpenAI LLM and Resemble AI text-to-speech.
Command voice-resemble is a voice agent: Deepgram speech-to-text, an OpenAI LLM and Resemble AI text-to-speech.
voice/voice-rime-http command
Command voice-rime-http is a voice agent: Deepgram speech-to-text, an OpenAI LLM and Rime (over HTTP) text-to-speech.
Command voice-rime-http is a voice agent: Deepgram speech-to-text, an OpenAI LLM and Rime (over HTTP) text-to-speech.
voice/voice-sarvam command
Command voice-sarvam is a voice agent: Sarvam speech-to-text, LLM and text- to-speech.
Command voice-sarvam is a voice agent: Sarvam speech-to-text, LLM and text- to-speech.
voice/voice-soniox command
Command voice-soniox is a voice agent: Soniox speech-to-text and text-to- speech, with an OpenAI LLM.
Command voice-soniox is a voice agent: Soniox speech-to-text and text-to- speech, with an OpenAI LLM.
voice/voice-together command
Command voice-together is a voice agent: Together AI speech-to-text, LLM and text-to-speech.
Command voice-together is a voice agent: Together AI speech-to-text, LLM and text-to-speech.
voice/voice-xai command
Command voice-xai is a voice agent: xAI speech-to-text, Grok and xAI text- to-speech.
Command voice-xai is a voice agent: xAI speech-to-text, Grok and xAI text- to-speech.
voice/voice-xai-http command
Command voice-xai-http is a voice agent: Deepgram speech-to-text, Grok and xAI text-to-speech over HTTP.
Command voice-xai-http is a voice agent: Deepgram speech-to-text, Grok and xAI text-to-speech over HTTP.
voice/voice-xtts command
Command voice-xtts is a voice agent: Deepgram speech-to-text, an OpenAI LLM and XTTS text-to-speech.
Command voice-xtts is a voice agent: Deepgram speech-to-text, an OpenAI LLM and XTTS text-to-speech.
voicebot command
Command voicebot is the full-featured voice agent built on jargo: microphone audio comes in over WebRTC, Deepgram transcribes it, an Anthropic LLM reasons over it, ElevenLabs speaks the reply, and the audio goes back out over WebRTC.
Command voicebot is the full-featured voice agent built on jargo: microphone audio comes in over WebRTC, Deepgram transcribes it, an Anthropic LLM reasons over it, ElevenLabs speaks the reply, and the audio goes back out over WebRTC.
Package expressive holds what a TTS service can perform in an expressive conversation, which lets an agent hear how something was said and answer in kind.
Package expressive holds what a TTS service can perform in an expressive conversation, which lets an agent hear how something was said and answer in kind.
formatter
Package formatter reads the expression tags an LLM writes, and formats them for a TTS service.
Package formatter reads the expression tags an LLM writes, and formats them for a TTS service.
spoken
Package spoken tells the expression of the words a TTS service reports speaking.
Package spoken tells the expression of the words a TTS service reports speaking.
Package flows builds structured, multi-step conversations on top of jargo's LLM service.
Package flows builds structured, multi-step conversations on top of jargo's LLM service.
Package frames defines the Frame type and the core frame categories — system, data and control — that flow through a jargo pipeline.
Package frames defines the Frame type and the core frame categories — system, data and control — that flow through a jargo pipeline.
internal
goid
Package goid recognizes the calling goroutine, for the few places that must tell whether they are being called from a goroutine they started: something that waits for that goroutine to end would otherwise wait for itself.
Package goid recognizes the calling goroutine, for the few places that must tell whether they are being called from a goroutine they started: something that waits for that goroutine to end would otherwise wait for itself.
hfhub
Package hfhub downloads a model's files from the Hugging Face Hub into a local cache, laid out as the Hub's own client lays it out, so files fetched by either one are found by the other: a model downloaded ahead with `huggingface-cli download`, such as while building an image, is used in place without going to the network.
Package hfhub downloads a model's files from the Hugging Face Hub into a local cache, laid out as the Hub's own client lays it out, so files fetched by either one are found by the other: a model downloaded ahead with `huggingface-cli download`, such as while building an image, is used in place without going to the network.
onnxrt
Package onnxrt centralizes jargo's use of the ONNX runtime.
Package onnxrt centralizes jargo's use of the ONNX runtime.
ordered
Package ordered writes JSON objects whose keys keep the order they were given in.
Package ordered writes JSON objects whose keys keep the order they were given in.
providertest
Package providertest holds shared assertions for provider packages whose behavior is fully determined by the base service they delegate to.
Package providertest holds shared assertions for provider packages whose behavior is fully determined by the base service they delegate to.
query
Package query provides jargo's shared URL-query helpers.
Package query provides jargo's shared URL-query helpers.
sentencex
Package sentencex splits text into sentences, with rules for many languages.
Package sentencex splits text into sentences, with rules for many languages.
tagscan
Package tagscan extracts control tags like <dtmf>1</dtmf> from a streamed text response, so a processor can act on the tags and speak the rest.
Package tagscan extracts control tags like <dtmf>1</dtmf> from a streamed text response, so a processor can act on the tags and speak the rest.
tokenizers
Package tokenizers encodes text into model input ids exactly as the Hugging Face tokenizers library (version 0.23.3, through its Python binding) does for the tokenizer.json files it supports: the same ids, type ids, masks, sequence ids and offsets, the offsets counted in Unicode code points of the sequence each token belongs to.
Package tokenizers encodes text into model input ids exactly as the Hugging Face tokenizers library (version 0.23.3, through its Python binding) does for the tokenizer.json files it supports: the same ids, type ids, masks, sequence ids and offsets, the offsets counted in Unicode code points of the sequence each token belongs to.
validate
Package validate provides jargo's shared struct validator.
Package validate provides jargo's shared struct validator.
Package language defines a canonical Language type and helpers so an application can name a language once and let each STT/TTS service map it to that provider's own code.
Package language defines a canonical Language type and helpers so an application can name a language once and let each STT/TTS service map it to that provider's own code.
Package observers provides pipeline observers: components that watch the frames flowing through a pipeline without modifying it.
Package observers provides pipeline observers: components that watch the frames flowing through a pipeline without modifying it.
Package pipeline connects frame processors into a chain and drives them.
Package pipeline connects frame processors into a chain and drives them.
capabilities
Package capabilities describes what a bot does in a session, reported so clients can configure themselves.
Package capabilities describes what a bot does in a session, reported so clients can configure themselves.
jobcontext
Package jobcontext describes the long-running work one worker asks another for: how such a job ends, and the error a job carries when it is cut short.
Package jobcontext describes the long-running work one worker asks another for: how such a job ends, and the error a job carries when it is cut short.
llmwithbackend
Package llmwithbackend pairs a conversational frontend LLM with a backend that does the work it hands off.
Package llmwithbackend pairs a conversational frontend LLM with a backend that does the work it hands off.
Package processor defines the frame processor: the building block of a jargo pipeline.
Package processor defines the frame processor: the building block of a jargo pipeline.
aggregators
Package aggregators assembles the conversation around an LLM.
Package aggregators assembles the conversation around an LLM.
audiobuffer
Package audiobuffer records a conversation's audio.
Package audiobuffer records a conversation's audio.
dtmf
Package dtmf aggregates the DTMF keypresses a caller makes into a string a language model can read.
Package dtmf aggregates the DTMF keypresses a caller makes into a string a language model can read.
ivr
Package ivr navigates automated phone menus (IVR systems).
Package ivr navigates automated phone menus (IVR systems).
langchain
Package langchain bridges an external "chain" — any streaming text generator, such as a LangChain-style runnable or a custom agent — into a jargo pipeline.
Package langchain bridges an external "chain" — any streaming text generator, such as a LangChain-style runnable or a custom agent — into a jargo pipeline.
rtvi
Package rtvi implements the RTVI protocol over a transport's messaging channel: a JSON message format and a processor that completes the client handshake and reports pipeline events to the client.
Package rtvi implements the RTVI protocol over a transport's messaging channel: a JSON message format and a processor that completes the client handshake and reports pipeline events to the client.
tone/internal/shared
Package shared keeps the tone models loaded once a process, so every processor using the same model and settings shares one.
Package shared keeps the tone models loaded once a process, so every processor using the same model and settings shares one.
tone/internal/tonetest
Package tonetest runs a tone processor in a pipeline for its tests.
Package tonetest runs a tone processor in a pipeline for its tests.
tone/reader
Package reader reads how each user turn was meant, from its words, with the tone reader model (alpha).
Package reader reads how each user turn was meant, from its words, with the tone reader model (alpha).
tone/tagger
Package tagger writes expression tags into an LLM's plain replies, one sentence at a time, with the tone tagger model (alpha).
Package tagger writes expression tags into an LLM's plain replies, one sentence at a time, with the tone tagger model (alpha).
turns
Package turns manages the user-turn lifecycle, ported from Pipecat's turns subsystem.
Package turns manages the user-turn lifecycle, ported from Pipecat's turns subsystem.
vadproc
Package vadproc is the voice-activity-detection pipeline processor.
Package vadproc is the voice-activity-detection pipeline processor.
voicemail
Package voicemail detects whether an outbound call reached a person or went to voicemail.
Package voicemail detects whether an outbound call reached a person or went to voicemail.
provider
anthropic
Package anthropic is a streaming LLM service backed by the Anthropic API.
Package anthropic is a streaming LLM service backed by the Anthropic API.
assemblyai
Package assemblyai holds the AssemblyAI streaming services.
Package assemblyai holds the AssemblyAI streaming services.
asyncai
Package asyncai is a streaming text-to-speech service backed by Async's TTS WebSocket.
Package asyncai is a streaming text-to-speech service backed by Async's TTS WebSocket.
aws/bedrock
Package bedrock provides a streaming LLM service for Anthropic Claude models served through Amazon Bedrock.
Package bedrock provides a streaming LLM service for Anthropic Claude models served through Amazon Bedrock.
aws/novasonic
Package novasonic is a speech-to-speech service built on Amazon Nova Sonic, served over Bedrock's bidirectional streaming API.
Package novasonic is a speech-to-speech service built on Amazon Nova Sonic, served over Bedrock's bidirectional streaming API.
aws/polly
Package polly is a text-to-speech service backed by Amazon Polly's SynthesizeSpeech API.
Package polly is a text-to-speech service backed by Amazon Polly's SynthesizeSpeech API.
aws/transcribe
Package transcribe is a streaming speech-to-text service backed by Amazon Transcribe's StartStreamTranscription API.
Package transcribe is a streaming speech-to-text service backed by Amazon Transcribe's StartStreamTranscription API.
azure/openai
Package openai provides an LLM and a transcription service for Azure OpenAI.
Package openai provides an LLM and a transcription service for Azure OpenAI.
azure/realtime
Package realtime is a speech-to-speech service built on Azure OpenAI's Realtime API.
Package realtime is a speech-to-speech service built on Azure OpenAI's Realtime API.
azure/speech
Package speech provides Azure AI Speech services.
Package speech provides Azure AI Speech services.
camb
Package camb is a streaming text-to-speech service backed by Camb.ai's MARS models.
Package camb is a streaming text-to-speech service backed by Camb.ai's MARS models.
cartesia
Package cartesia is a streaming text-to-speech service backed by Cartesia's TTS WebSocket.
Package cartesia is a streaming text-to-speech service backed by Cartesia's TTS WebSocket.
cerebras
Package cerebras provides Cerebras's OpenAI-compatible LLM service.
Package cerebras provides Cerebras's OpenAI-compatible LLM service.
deepgram
Package deepgram provides Deepgram's streaming speech-to-text service (over the live transcription WebSocket, see stt.go), its Aura text-to-speech service (see tts.go), and its Flux streaming STT and TTS services (see flux.go and flux_tts.go).
Package deepgram provides Deepgram's streaming speech-to-text service (over the live transcription WebSocket, see stt.go), its Aura text-to-speech service (see tts.go), and its Flux streaming STT and TTS services (see flux.go and flux_tts.go).
deepseek
Package deepseek provides DeepSeek's OpenAI-compatible LLM service.
Package deepseek provides DeepSeek's OpenAI-compatible LLM service.
elevenlabs
Package elevenlabs is a streaming text-to-speech service backed by ElevenLabs.
Package elevenlabs is a streaming text-to-speech service backed by ElevenLabs.
fal
Package fal is a batch speech-to-text service backed by Fal's Wizper API.
Package fal is a batch speech-to-text service backed by Fal's Wizper API.
fireworks
Package fireworks provides Fireworks AI's OpenAI-compatible LLM service.
Package fireworks provides Fireworks AI's OpenAI-compatible LLM service.
fish
Package fish is a streaming text-to-speech service backed by Fish Audio.
Package fish is a streaming text-to-speech service backed by Fish Audio.
gladia
Package gladia is a streaming speech-to-text service backed by Gladia's Live STT v2 API.
Package gladia is a streaming speech-to-text service backed by Gladia's Live STT v2 API.
google/frames
Package frames holds the frames the Google services add to the pipeline's own: the search results and grounding a Gemini model reports when it answers from a web search.
Package frames holds the frames the Google services add to the pipeline's own: the search results and grounding a Gemini model reports when it answers from a web search.
google/gemini
Package gemini is a streaming LLM service backed by Google's Gemini API (generateContent with SSE).
Package gemini is a streaming LLM service backed by Google's Gemini API (generateContent with SSE).
google/live
Package live is a speech-to-speech service built on Google's Gemini Live API (BidiGenerateContent).
Package live is a speech-to-speech service built on Google's Gemini Live API (BidiGenerateContent).
google/vertex
Package vertex provides Google's Gemini models as served by Vertex AI: a streaming LLM (NewLLM) and the Live speech-to-speech service (NewS2S).
Package vertex provides Google's Gemini models as served by Vertex AI: a streaming LLM (NewLLM) and the Live speech-to-speech service (NewS2S).
gradium
Package gradium provides Gradium's speech services: streaming text-to-speech and real-time streaming speech-to-text, both over Gradium's WebSocket API.
Package gradium provides Gradium's speech services: streaming text-to-speech and real-time streaming speech-to-text, both over Gradium's WebSocket API.
groq
Package groq provides Groq's OpenAI-compatible LLM service and its Whisper speech-to-text and text-to-speech services.
Package groq provides Groq's OpenAI-compatible LLM service and its Whisper speech-to-text and text-to-speech services.
hume
Package hume is a streaming text-to-speech service backed by Hume AI's Octave TTS.
Package hume is a streaming text-to-speech service backed by Hume AI's Octave TTS.
inception
Package inception provides Inception's OpenAI-compatible LLM service.
Package inception provides Inception's OpenAI-compatible LLM service.
inworld
Package inworld is a streaming text-to-speech service backed by Inworld AI's HTTP streaming endpoint.
Package inworld is a streaming text-to-speech service backed by Inworld AI's HTTP streaming endpoint.
kokoro
Package kokoro is a text-to-speech provider for a local Kokoro-FastAPI server.
Package kokoro is a text-to-speech provider for a local Kokoro-FastAPI server.
kyutai
Package kyutai provides Kyutai's self-hosted speech services.
Package kyutai provides Kyutai's self-hosted speech services.
mem0
Package mem0 adds long-term memory to a jargo voice agent, backed by a mem0 server (https://github.com/mem0ai/mem0).
Package mem0 adds long-term memory to a jargo voice agent, backed by a mem0 server (https://github.com/mem0ai/mem0).
minimax
Package minimax is a streaming text-to-speech service backed by MiniMax's T2A API.
Package minimax is a streaming text-to-speech service backed by MiniMax's T2A API.
mistral
Package mistral provides Mistral AI's OpenAI-compatible LLM service.
Package mistral provides Mistral AI's OpenAI-compatible LLM service.
nebius
Package nebius provides Nebius AI Studio's OpenAI-compatible LLM service.
Package nebius provides Nebius AI Studio's OpenAI-compatible LLM service.
neuphonic
Package neuphonic is a streaming text-to-speech service backed by Neuphonic's TTS WebSocket.
Package neuphonic is a streaming text-to-speech service backed by Neuphonic's TTS WebSocket.
novita
Package novita provides Novita AI's OpenAI-compatible LLM service.
Package novita provides Novita AI's OpenAI-compatible LLM service.
nvidia
Package nvidia provides NVIDIA services: an NVIDIA NIM OpenAI-compatible LLM (NewLLM), a Riva streaming speech-to-text service (NewSTT), and a Riva streaming text-to-speech service (NewTTS).
Package nvidia provides NVIDIA services: an NVIDIA NIM OpenAI-compatible LLM (NewLLM), a Riva streaming speech-to-text service (NewSTT), and a Riva streaming text-to-speech service (NewTTS).
nvidia/internal/rivapb
Package rivapb holds the generated gRPC clients for the subset of the NVIDIA Riva speech API the streaming ASR and TTS services use.
Package rivapb holds the generated gRPC clients for the subset of the NVIDIA Riva speech API the streaming ASR and TTS services use.
ollama
Package ollama provides a client for a local Ollama server through its OpenAI-compatible LLM endpoint.
Package ollama provides a client for a local Ollama server through its OpenAI-compatible LLM endpoint.
openai/chat
Package chat provides OpenAI's LLM, STT and TTS services, plus the OpenAI-compatible LLM base that other providers (Groq, Together, Fireworks and the rest) wrap with their own base URL, key and default model.
Package chat provides OpenAI's LLM, STT and TTS services, plus the OpenAI-compatible LLM base that other providers (Groq, Together, Fireworks and the rest) wrap with their own base URL, key and default model.
openai/realtime
Package realtime is a speech-to-speech service built on OpenAI's Realtime API.
Package realtime is a speech-to-speech service built on OpenAI's Realtime API.
openai/realtime/events
Package events holds the messages of OpenAI's Realtime API: the session's properties, the conversation items, and the events the client sends and the server sends back.
Package events holds the messages of OpenAI's Realtime API: the session's properties, the conversation items, and the events the client sends and the server sends back.
openai/responses
Package responses provides OpenAI's Responses API as an LLM service, in two forms.
Package responses provides OpenAI's Responses API as an LLM service, in two forms.
openrouter
Package openrouter provides OpenRouter's OpenAI-compatible LLM service, a gateway to many models behind one API.
Package openrouter provides OpenRouter's OpenAI-compatible LLM service, a gateway to many models behind one API.
perplexity
Package perplexity provides Perplexity's LLM services: the Agent API, which answers with web search over the OpenAI Responses protocol, and the Sonar chat completions API, which Perplexity no longer supports.
Package perplexity provides Perplexity's LLM services: the Agent API, which answers with web search over the OpenAI Responses protocol, and the Sonar chat completions API, which Perplexity no longer supports.
piper
Package piper is a text-to-speech provider for a local Piper HTTP server (python -m piper.http_server).
Package piper is a text-to-speech provider for a local Piper HTTP server (python -m piper.http_server).
qwen
Package qwen provides Alibaba's Qwen LLM over the DashScope OpenAI-compatible endpoint.
Package qwen provides Alibaba's Qwen LLM over the DashScope OpenAI-compatible endpoint.
resembleai
Package resembleai is a streaming text-to-speech service backed by Resemble AI's WebSocket.
Package resembleai is a streaming text-to-speech service backed by Resemble AI's WebSocket.
rime
Package rime is a streaming text-to-speech service backed by Rime's HTTP API.
Package rime is a streaming text-to-speech service backed by Rime's HTTP API.
sambanova
Package sambanova provides SambaNova Cloud's OpenAI-compatible LLM service.
Package sambanova provides SambaNova Cloud's OpenAI-compatible LLM service.
sarvam
Package sarvam provides Sarvam's OpenAI-compatible LLM plus its WebSocket streaming text-to-speech and speech-to-text services for Indian languages.
Package sarvam provides Sarvam's OpenAI-compatible LLM plus its WebSocket streaming text-to-speech and speech-to-text services for Indian languages.
smallest
Package smallest is a streaming text-to-speech service backed by Smallest AI's Waves WebSocket.
Package smallest is a streaming text-to-speech service backed by Smallest AI's Waves WebSocket.
soniox
Package soniox provides Soniox's real-time speech services over its WebSocket APIs.
Package soniox provides Soniox's real-time speech services over its WebSocket APIs.
speechmatics
Package speechmatics provides Speechmatics' real-time streaming speech-to-text over its WebSocket API.
Package speechmatics provides Speechmatics' real-time streaming speech-to-text over its WebSocket API.
together
Package together provides Together AI's OpenAI-compatible LLM service and its streaming speech-to-text and text-to-speech services.
Package together provides Together AI's OpenAI-compatible LLM service and its streaming speech-to-text and text-to-speech services.
whispercpp
Package whispercpp is a speech-to-text provider for a local whisper.cpp server.
Package whispercpp is a speech-to-text provider for a local whisper.cpp server.
xai/grok
Package grok provides xAI's (Grok) services: an OpenAI-compatible LLM, real-time streaming speech-to-text, and text-to-speech in both a streaming WebSocket and a batch HTTP form.
Package grok provides xAI's (Grok) services: an OpenAI-compatible LLM, real-time streaming speech-to-text, and text-to-speech in both a streaming WebSocket and a batch HTTP form.
xai/realtime
Package realtime is a speech-to-speech service built on xAI's Realtime API.
Package realtime is a speech-to-speech service built on xAI's Realtime API.
xtts
Package xtts provides text-to-speech via a self-hosted Coqui XTTS streaming server (https://github.com/coqui-ai/xtts-streaming-server).
Package xtts provides text-to-speech via a self-hosted Coqui XTTS streaming server (https://github.com/coqui-ai/xtts-streaming-server).
Package registry tracks the workers a runner knows about, its own and those belonging to other runners, so a worker can find another by name and be told when one it is waiting for becomes ready.
Package registry tracks the workers a runner knows about, its own and those belonging to other runners, so a worker can find another by name and be told when one it is waiting for becomes ready.
Package runner is the jargo development runner.
Package runner is the jargo development runner.
Package service holds what every AI service in a pipeline has in common, whatever it does: transcription, generation or synthesis.
Package service holds what every AI service in a pipeline has in common, whatever it does: transcription, generation or synthesis.
llm
Package llm is the shared base for streaming LLM services.
Package llm is the shared base for streaming LLM services.
mcp
Package mcp connects a jargo LLM to Model Context Protocol tool servers.
Package mcp connects a jargo LLM to Model Context Protocol tool servers.
settings
Package settings holds the part of a service's configuration that can change while the pipeline is running: the model, the voice, the language, the sampling knobs an LLM exposes.
Package settings holds the part of a service's configuration that can change while the pipeline is running: the model, the voice, the language, the sampling knobs an LLM exposes.
stt
Package stt is the shared base for speech-to-text services.
Package stt is the shared base for speech-to-text services.
tts
Package tts is the shared base for text-to-speech services.
Package tts is the shared base for text-to-speech services.
wsservice
Package wsservice is the shared base for services that talk to a provider over a WebSocket held open for the length of a call.
Package wsservice is the shared base for services that talk to a provider over a WebSocket held open for the length of a call.
wsutil
Package wsutil holds small shared helpers for the provider WebSocket clients.
Package wsutil holds small shared helpers for the provider WebSocket clients.
telemetry
metrics
Package metrics exports jargo's service measurements — time-to-first-byte, processing time, LLM token usage and TTS characters — as OpenTelemetry metrics over OTLP.
Package metrics exports jargo's service measurements — time-to-first-byte, processing time, LLM token usage and TTS characters — as OpenTelemetry metrics over OTLP.
tracing
Package tracing wires OpenTelemetry tracing into a jargo voice agent.
Package tracing wires OpenTelemetry tracing into a jargo voice agent.
Package transport defines the boundary between a pipeline and the outside world.
Package transport defines the boundary between a pipeline and the outside world.
livekit
Package livekit implements a jargo transport that joins a LiveKit room as a participant.
Package livekit implements a jargo transport that joins a LiveKit room as a participant.
localaudio
Package localaudio is a transport that captures from the local microphone and plays back through the local speaker, for running a bot on the same machine with no browser or telephony leg.
Package localaudio is a transport that captures from the local microphone and plays back through the local speaker, for running a bot on the same machine with no browser or telephony leg.
rtc
Package rtc implements a WebRTC transport for jargo.
Package rtc implements a WebRTC transport for jargo.
whatsapp
Package whatsapp answers inbound WhatsApp Business calls and bridges their audio into a jargo pipeline.
Package whatsapp answers inbound WhatsApp Business calls and bridges their audio into a jargo pipeline.
wsserver
Package wsserver is a WebSocket media transport for telephony.
Package wsserver is a WebSocket media transport for telephony.
wsserver/exotel
Package exotel is the wsserver.Serializer for Exotel Media Streaming (the Voicebot applet).
Package exotel is the wsserver.Serializer for Exotel Media Streaming (the Voicebot applet).
wsserver/plivo
Package plivo is the wsserver.Serializer for Plivo Audio Streaming.
Package plivo is the wsserver.Serializer for Plivo Audio Streaming.
wsserver/protobuf
Package protobuf is the wsserver.Serializer a WebSocket client speaks: frames encoded as protobuf and sent in binary WebSocket messages.
Package protobuf is the wsserver.Serializer a WebSocket client speaks: frames encoded as protobuf and sent in binary WebSocket messages.
wsserver/protobuf/internal/framepb
Package framepb holds the generated types for the protobuf frame format a WebSocket client speaks.
Package framepb holds the generated types for the protobuf frame format a WebSocket client speaks.
wsserver/rtviws
Package rtviws is the wsserver.Serializer that carries the RTVI protocol over a plain WebSocket, so an RTVI client can drive a jargo bot without WebRTC.
Package rtviws is the wsserver.Serializer that carries the RTVI protocol over a plain WebSocket, so an RTVI client can drive a jargo bot without WebRTC.
wsserver/telnyx
Package telnyx is the wsserver.Serializer for Telnyx Media Streaming.
Package telnyx is the wsserver.Serializer for Telnyx Media Streaming.
wsserver/twilio
Package twilio is the wsserver.Serializer for Twilio Media Streams.
Package twilio is the wsserver.Serializer for Twilio Media Streams.
utils
context
Package context provides the text-alignment utilities that let a TTS service map the words it actually spoke back to the original written text, so the conversation context can be truncated to exactly what was spoken when the bot is interrupted.
Package context provides the text-alignment utilities that let a TTS service map the words it actually spoke back to the original written text, so the conversation context can be truncated to exactly what was spoken when the bot is interrupted.
errors
Package errors classifies failures the way every service shares: it gives a provider-agnostic vocabulary for why an operation failed, so a caller can tell a transient failure (worth retrying) from a permanent one (retrying will never help).
Package errors classifies failures the way every service shares: it gives a provider-agnostic vocabulary for why an operation failed, so a caller can tell a transient failure (worth retrying) from a permanent one (retrying will never help).
events
Package events is the event-handler registry an object exposes to report what it did, for the things a caller wants to observe but the frame path does not carry: a summary being applied, a socket failing to open, a worker becoming ready.
Package events is the event-handler registry an object exposes to report what it did, for the things a caller wants to observe but the frame path does not carry: a summary being applied, a socket failing to open, a worker becoming ready.
network
Package network holds the retry helpers shared by services that keep a connection open to a provider for the length of a call.
Package network holds the retry helpers shared by services that keep a connection open to a provider for the length of a call.
notify
Package notify carries the signaling primitives processors use to coordinate with one another without being wired together in the pipeline.
Package notify carries the signaling primitives processors use to coordinate with one another without being wired together in the pipeline.
security
Package security holds the checks that decide whether a connection from outside is allowed in, and the masking of credentials in text bound for logs and error reports.
Package security holds the checks that decide whether a connection from outside is allowed in, and the masking of credentials in text bound for logs and error reports.
text
Package text normalizes written text into a form better suited to text-to-speech: it strips Markdown, expands numbers, currency, percentages, dates, units and acronyms into spoken words, spaces out phone-number digits, and spells email addresses.
Package text normalizes written text into a form better suited to text-to-speech: it strips Markdown, expands numbers, currency, percentages, dates, units and acronyms into spoken words, spaces out phone-number digits, and spells email addresses.
Package workers is the base every worker is built on: the thing that connects to a bus, registers itself so others can find it, is activated and deactivated, and exchanges long-running jobs with the other workers.
Package workers is the base every worker is built on: the thing that connects to a bus, registers itself so others can find it, is activated and deactivated, and exchanges long-running jobs with the other workers.
llmworker
Package llmworker is a pipeline worker built around a language model, with the tool handling that makes one usable from the bus.
Package llmworker is a pipeline worker built around a language model, with the tool handling that makes one usable from the bus.
proxy
Package proxy carries bus messages between two processes over a WebSocket.
Package proxy carries bus messages between two processes over a WebSocket.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL