Synopsis
voicegw onboard is the recommended first-run command. VoiceGateway is framework-agnostic: it meters the native provider instances you build in your agent (via attach()), so onboarding does not ask for a provider or an API key. It collects your project, storage location, port, and daemon preference, writes the config, optionally registers the daemon, prints the one line to add to your agent, and runs a check.
Usage
Options
The four questions
No provider or key: VoiceGateway never writes a secret to
voicegw.yaml. You install your provider plugins in your agent and pass the instances to attach() / guard().
Behaviour
-
Resolves the config path (
--config, else the default). - Reads the existing config if present so the wizard merges without clobbering hand-edited keys.
-
Prompts the questions (or three if a
--install-daemonflag was already passed). -
Writes the merged config:
projects.<name>, top-leveldefault_project,cost_tracking.enabled: true(plusdb_pathif you set one), andserve.port. Noproviders:block, no key. -
If
install_daemonis yes: registers the OS-specific service (launchd / systemd / Scheduled Task) to runvoicegw serve -c <config path>against the config just written, and starts the daemon. Re-running onboard replaces any prior registration cleanly. -
Prints a summary plus the integration snippet:
and, for fleet mode, the
VOICEGW_COLLECTOR_URL/VOICEGW_API_KEYenv vars. -
Offers to run
voicegw checkagainst the new config (drives one synthetic request and confirms it lands in storage).
voicegw.yaml (or deletes it if there was none) and exits with code 130.
Examples
Exit codes
Related
voicegw check | voicegw status | voicegw doctor | voicegw serve | voicegw dashboard