gptme-voice

v0.1.0 Voice interface for gptme with OpenAI Realtime API packages/gptme-voice View on GitHub

gptme-voice

Voice interface for gptme agents using OpenAI Realtime API.

Features

Installation

# Install with poetry (from gptme-contrib)
cd packages/gptme-voice
poetry install

# For local mic/speaker testing
poetry install -E local

Usage

Start the server

# Auto-detects agent repo and loads personality
gptme-voice-server

# With debug logging
gptme-voice-server --debug

# Explicit workspace
gptme-voice-server --workspace /path/to/agent-repo

The server auto-detects the agent repo by walking up from gptme-contrib to find gptme.toml, and loads personality files (prioritizing ABOUT.md).

Connect with local client

# In a separate terminal
gptme-voice-client

Speak into your microphone. The agent responds with its configured personality and can use the subagent tool to interact with its workspace.

Tip: Use headphones to enable interrupting the agent mid-sentence (see Limitations below).

API key

The OpenAI API key is loaded from gptme config (~/.config/gptme/config.toml or config.local.toml). No need to set OPENAI_API_KEY as an env var if it's already configured in gptme.

Architecture

Limitations