Quick start
By the end of this guide you have a running daemon, an open dashboard, and a Python script that exercises the inference factories so you can confirm provider keys resolve and costs land in the dashboard.Prerequisites
- Python 3.11 or later
- An API key for at least one cloud provider (Deepgram, OpenAI, Anthropic, Groq, Cartesia, ElevenLabs, or AssemblyAI)
1. Install
cloud extra pulls every cloud provider SDK; the dashboard
extra ships the prebuilt React bundle and the dashboard endpoints.
For a minimal install of one provider only, see
Installation.
2. Onboard
- Project name (default:
default). - Provider (default:
openai). - API key (no default; paste yours).
- Port (default:
8080). - Install daemon? (default: yes).
~/.config/voicegateway/voicegw.yaml, registers
the daemon with your OS service manager (LaunchAgent on macOS,
systemd --user on Linux, Scheduled Task on Windows), and starts
it.
3. Open the dashboard
http://127.0.0.1:8080). The daemon serves the React UI at /,
the dashboard API at /api/*, and the public HTTP API at /v1/*
on the same port.
4. Verify the inference factories
Createdemo.py:
provider/model strings, loaded the correct SDKs, and
wrapped each instance with cost-tracking and latency middleware.
5. See costs in the dashboard
Trigger one call (any request that uses the inference factories above) and refresh the dashboard athttp://127.0.0.1:8080/costs.
The row shows the model, provider, modality, and the per-call cost
in USD with the pricing source attribution (voice-prices@<version>
for cloud models, voicegateway-local for self-hosted).
In the terminal:
Add a project
Multiple agents share one daemon? Give each its own project entry invoicegw.yaml so cost rows and provider keys stay separated:
set_project("my-agent") from
voicegateway.core.active_project when you need to.
Add fallbacks
Resolver-time fallback chain invoicegw.yaml:
STT/LLM/TTS(model_id) and using the first one whose provider
plugin imports cleanly. Once AgentSession starts, the resolved
model is used for the whole call.
Next steps
- Installation: all install variants (curl-bash, pipx, uv, Docker).
- First agent: wire VoiceGateway into a full LiveKit voice agent.
- Core concepts: understand the abstractions (modality, provider, project, stack).
- Configuration reference: every YAML key.