Speech AI, in your terminal.
Transcribe, synthesize, and stream audio. The official CLI for Deepgram's speech platform.
Everything speech AI. One command.
Built for developers who live in the terminal and need their tools to keep up.
Speech-to-text
Transcribe files and URLs with nova-3. Speaker diarization, smart formatting, topic detection, and summaries — all from one command.
Live streaming
WebSocket stream from mic or stdin. Real-time transcripts with interim results and word-level timing.
Text-to-speech
Generate speech with Aura voices. Pipe to ffplay or save to file.
Agent-ready by default
Auto-detects Claude Code, Aider, and Codex. Disables prompts, routes status to stderr, switches to JSON — no flags needed.
UNIX philosophy
Pipe-friendly.
Script-ready.
Every command writes structured data to stdout and diagnostics to stderr.
Switch formats with -o json or let it
auto-switch when piped. Plays nicely with every UNIX tool you already know.
Get started in seconds
One command. Every platform. Authenticate once, then go.
Works with your AI coding tools
dg
auto-detects Claude Code, Aider, Codex and more. Detected agents get
non-interactive defaults, clean JSON output, and stderr-only status — automatically.
dg transcribe audio.mp3 --agent-friendly