Getting Started
This guide walks you through installing Agent CLI and setting up your first voice-powered workflow.
Prerequisites
Before you begin, ensure you have:
- uv (recommended) or Python 3.11+
- A microphone for voice features
- Speakers for text-to-speech features
- PortAudio (Linux only):
sudo apt install portaudio19-devor equivalent for your distro
Installation
Option 1: CLI Tool Only
If you already have AI services set up or plan to use cloud services (OpenAI/Gemini):
Note
The -p 3.13 flag is required because some dependencies don't support Python 3.14 yet.
See uv issue #8206 for details.
Option 2: Full Local Setup
For a complete local setup with all AI services:
Tip
Have a GPU? Skip the setup below and run your own Whisper server in one command:
Apple Silicon MLX-only setup: See Local Whisper Server for details.Verify Installation
Tip
Short aliases: You can also use agent or ag instead of agent-cli:
Test Your Setup
Test Autocorrect
See: autocorrect
Test Transcription
# List available microphones
agent-cli transcribe --list-devices
# Start transcribing (press Ctrl+C to stop)
agent-cli transcribe --input-device-index 1
See: transcribe
Test Text-to-Speech
See: speak
Platform-Specific Guides
For detailed installation instructions, see the platform-specific guides:
| Platform | Guide | Notes |
|---|---|---|
| macOS | macOS Setup | Full Metal GPU acceleration |
| Linux | Linux Setup | NVIDIA GPU support |
| NixOS | NixOS Setup | Declarative configuration |
| Windows | Windows Setup | WSL2 recommended |
| Docker | Docker Setup | Cross-platform |
First Workflow: Voice Transcription
Here's a typical workflow for using voice transcription:
- Copy some text you want to respond to (e.g., an email)
- Press your hotkey (Cmd+Shift+R on macOS) to start recording
- Speak your response naturally
- Press the hotkey again to stop recording
- Paste the transcribed text wherever you need it
What's Next?
- Configuration - Customize settings and defaults
- Commands Reference - Explore all available commands
- System Integration - Set up system-wide hotkeys