Skip to main content

Voice input for Claude Code via /audio slash command using Sarvam STT.

Project description

Claude Audio

Talk to Claude Code with your voice.

Install

uv pip install claude-audio-connector

Setup

1. Get API keys:

2. Set environment variables (add to your shell profile or project .env):

export SARVAM_API_KEY=your_sarvam_key
export CARTESIA_API_KEY=your_cartesia_key

3. Grant microphone permission to your terminal app in System Settings > Privacy & Security > Microphone.

4. Scaffold the slash command in any project you want voice in:

cd your-project
claude-audio-init

This creates .claude/commands/audio.md.

Usage

Open Claude Code and type:

/audio

Speak your request. Claude completes the task, speaks a summary back, then listens for your next command. The loop continues until you press Escape.

Say "Hey Claude" while Claude is working to interrupt and redirect.

API Keys

Service Purpose Sign up
Sarvam STT sarvam.ai
Cartesia TTS cartesia.ai

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

claude_audio_connector-0.1.0.tar.gz (19.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

claude_audio_connector-0.1.0-py3-none-any.whl (33.1 kB view details)

Uploaded Python 3

File details

Details for the file claude_audio_connector-0.1.0.tar.gz.

File metadata

File hashes

Hashes for claude_audio_connector-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1a59eed558d74be6f40f2765499e116dea4d278c628a9f7a15c443330cbeeb64
MD5 ec5c46f320432d2fa4dd5ea9dbe4615e
BLAKE2b-256 c14a67b955c22d2ed73f8d6a753ca39f4da5adf8d7c30a3b80add0af60fd3b76

See more details on using hashes here.

File details

Details for the file claude_audio_connector-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for claude_audio_connector-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4d91ec6cb1acf5c72facd21ccb4db7859b23e13fe10a89c45ceb50f4fdd53e9f
MD5 d647a11575b91c5ac6087e0ab87a8071
BLAKE2b-256 af70344e24469588e885c1892f914f8178f23f43752a9cb4d91a11c9e6c5fa0e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page