Command-line tool for Dialgem, a thin layer over
@dialgem/sdk, so they reach exactly the routes the SDK does.
npm i -g @dialgem/cli # installs `dialgem`
dialgem login # saves your API key to ~/.dialgem/config.json (0600)
dialgem whoami
dialgem agents list
dialgem agents create --name "Front desk" --prompt "You answer for a dental clinic." --voice <id>
dialgem agents update <id> --first-message "Hello!" --data '{"temperature":0.3}'
dialgem agents publish <id>
dialgem chat <agent_id> "Do you have anything on Friday?" # text test, no phone call
dialgem numbers search --area-code 415
dialgem numbers buy +14155550100
dialgem numbers assign <number_id> --agent <agent_id>
dialgem calls start --from +14155550100 --to +14155550123 --agent <id>
dialgem calls list --status completed --limit 10
dialgem calls get <id> --text # transcript only
dialgem calls stop <id>
Output is a table on a terminal and JSON when piped (or with --json). Errors go to stderr with exit code 1.
DIALGEM_API_KEY overrides the saved key. --data takes inline JSON or @file.json for any field the flags don't cover.
Looking for the MCP server for AI assistants? That is a separate package: @dialgem/mcp.
pnpm install && pnpm build && pnpm test
Apache-2.0. Copyright 2026 Achroweb Solutions. See LICENSE and NOTICE.