Skip to content

Troubleshooting

Install or refresh the global package:

Terminal window
npm install --global voice-agent-cli
vac --version

To run the current checkout instead:

Terminal window
npm ci
npm run build
npm link
vac --help

If another installed program already owns vac, use the equivalent voice-agent alias.

Verify the key in the same process that runs the command:

Terminal window
RETELL_API_KEY=your_api_key vac retell agents list --limit 1

The CLI does not automatically load the repository .env. Export it in your shell, use Node’s environment-file support in your own wrapper, or run vac retell login.

The current schema nests Retell below providers. Fix or remove the path reported in the structured error, then run vac retell login to write a valid file. See Configuration.

Pull the prompts before diffing or updating:

Terminal window
vac retell prompts pull agent_123

The default agent directory is .voice-agent/retell/prompts/agent_123/. Custom --output and --source values are base directories, not JSON files.

Help is available at every level:

Terminal window
vac retell --help
vac retell calls update-live --help

CLI usage errors are JSON on stderr. The next_steps entry names the closest help command.