nealwillis

Pgai Patient Voice Bot — Data skill for Claude Code

Data community

Voice bot that phones an AI receptionist and role-plays patients to find bugs.

How to install Pgai Patient Voice Bot

This entry records only its repository, not the path inside it, so there is no exact command to give. Open nealwillis/pgai-patient-voice-bot and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Pgai Patient Voice Bot does

Voice bot that phones an AI receptionist and role-plays patients to find bugs. Python + LiveKit Agents in pipeline mode (Deepgram nova-3 / Claude Haiku 4.5 / Cartesia Sonic-3).

Alternatives in Data

README

Patient voice bot — Pretty Good AI test harness

A voice bot that **calls** Pretty Good AI's test line and role-plays patients to test their AI receptionist. Python + LiveKit Agents in pipeline mode: separate STT, LLM and TTS, no speech-to-speech model, no hosted voice platform.

**It only ever dials +1-805-439-8008.** The number is a hardcoded constant in [`src/config.py`](src/config.py), not read from the environment and not overridable by a flag. `assert_allowed_number()` guards the single code path that can dial, and `preflight.py` asserts there is exactly one `add_sip_participant` call site in the tree and that the literal appears nowhere else.

Setup

1. Install

Python 3.10–3.13 (developed and tested on 3.13).

**On Windows, clone somewhere short** such as `C:\dev\pgai`. Some dependency filenames are long enough that a deep clone path breaks `pip install` with `OSError: [Errno 2] No such file or directory` — that is Windows' 260-character limit, not a broken package. Enabling Long Path support also fixes it.

python -m venv .venv
.venv/Scripts/python.exe -m pi