Get started
VoiceGateway runs as a long-lived background daemon that serves both the HTTP API and the dashboard on a single port. From a fresh machine to your first inference call: one curl, one wizard. The 60-second clock starts when you paste the install command and stops when your first call shows up in the dashboard, excluding the time spent fetching your provider API key.1. Install
- Detects macOS, Linux, or WSL on Windows. Refuses cleanly on anything else.
- Verifies Python 3.11 or newer is installed. Refuses with package manager pointers if not (does not auto-install Python).
- Picks
uv tool installwhen uv is on PATH, otherwise installs pipx if missing and runspipx install voicegateway[cloud,dashboard]. - Asks before any privileged step.
- Prints the next-step command.
2. Run the wizard
- Project name (default:
default). - Provider (default:
openai). - API key (no default; paste yours).
- Port (default:
8080). - Install daemon? (default: yes).
- Validates your API key against the provider with a 5-second timeout. On timeout, the wizard continues with a warning instead of failing.
- Registers a user-scoped daemon (LaunchAgent on macOS,
systemd --userunit on Linux, Scheduled Task on Windows) and starts it. - Optionally runs
voicegw smoke-testand confirms the pipeline. - Prints the dashboard URL (default
http://127.0.0.1:8080) and the next-step commands.
3. Open the dashboard
/, the dashboard API at /api/*, and the public
HTTP API at /v1/*, all on the port the wizard collected. Use
voicegw dashboard --no-open to print the URL without launching a
browser (useful over SSH).
Other lifecycle commands:
4. Wire it into your LiveKit agent
Swap one import line:AgentSession exactly as you would the upstream
livekit.agents.inference equivalents. Cost tracking, latency
monitoring, and per-session correlation happen behind the scenes.
See Quick start for the full integration
walkthrough.
Troubleshooting
voicegw doctor is the first place to look for first-call issues.
It prints a numbered punch list with concrete fix steps for each
failed check. No stack traces. No bare “see docs” pointers.
The three most common things that block first-call:
Python 3.11+ is missing
install.sh refuses on Python below 3.11 because the cloud provider SDKs have already moved past 3.10. Install Python first, then re-run install.sh. VoiceGateway will not auto-install Python. That choice is left to your OS package manager so we never silently shadow a system Python or break a virtualenv you cared about.pipx is missing or not on PATH
install.sh installs pipx automatically when it can (or uses uv if available). Two failure modes are common:-
pipx installed but
pipxis not on your PATH yet. Open a fresh shell and try again, or add~/.local/binto your PATH: -
The installer printed
pipx ensurepathand exited cleanly. Your installed-as-user directory is registered but the current shell did not pick it up yet. Open a new terminal tab and re-runvoicegw onboard.
Provider key is invalid
The wizard validates your key against the provider with a 5-second timeout. If validation returns401 unauthorized or similar:
- Double-check the key in your provider dashboard. The most common cause is a missing character, a stray newline, or the wrong project selected when you generated the key.
- Re-run the wizard. It is idempotent: any partial state from a previous attempt is overwritten cleanly.
- Run
voicegw doctor. The provider-key validation check prints exactly which key was rejected and what to verify.