VoiceGateway // DOCS

CLI reference

Every voicegw command, what it does, and where to read more.

CLI reference

VoiceGateway ships a command-line interface called voicegw. It is the primary way to onboard, run the daemon, inspect gateway state, and reconcile costs.

Installation

The CLI is installed automatically with the package:

Shell
pipx install 'voicegateway[cloud,dashboard]'

After installation, the voicegw command is available globally. See Installation for every install variant (curl-bash, pipx, uv, Docker, source).

Subcommands

Onboarding and lifecycle

CommandDescription
onboardFive-question wizard. Writes config, installs and starts the daemon.
initScaffold a voicegw.yaml from the bundled template.
serveRun the daemon in the foreground.
startStart the OS-managed daemon.
stopStop the OS-managed daemon.
restartRestart the OS-managed daemon.
daemon-logsTail the OS-native daemon log stream.
uninstall-daemonRemove the daemon registration (config + db preserved).

Inspect and verify

CommandDescription
statusProvider configuration status.
doctorNumbered punch list with fix steps.
smoke-testVerify the inference pipeline end-to-end without LiveKit.
logsRecent request logs.
costsCost summaries per provider, project, and period.
projectsList configured projects.
dashboardOpen the dashboard in your browser.
tuiLaunch the terminal UI (status, costs, sessions).
replayPrint the dashboard replay URL for a session.

Reconciliation and export

CommandDescription
reconcileDiff logged costs against a provider invoice.
export-costsExport per-request cost rows to CSV / JSONL.

MCP server

CommandDescription
mcpRun the MCP server (stdio or HTTP/SSE) so coding agents can manage the gateway.

Global behaviour

  • Running voicegw with no arguments displays the help menu.
  • Most commands accept --config (-c) to specify a custom path to voicegw.yaml. If omitted, the gateway searches in this order: ./voicegw.yaml, ~/.config/voicegateway/voicegw.yaml, /etc/voicegateway/voicegw.yaml. The VOICEGW_CONFIG environment variable overrides the search.
  • Commands that need cost or log data require cost_tracking.enabled: true in the config (which activates the SQLite backend), or the VOICEGW_DB_PATH env var pointing at a database path.
  • The CLI uses Rich for formatted terminal output (tables, panels, coloured text).

Quick start

Shell
# 1. Run the wizard
voicegw onboard

# 2. Verify state
voicegw status
voicegw doctor

# 3. Open the dashboard
voicegw dashboard

For the full first-run walkthrough see Get started.

On this page