Pgai Patient Voice Bot — Data skill for Claude Code
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
- Context Mode — Benchmark Results — Benchmarked against real outputs from popular Claude Code MCP servers, Skills, and dev tools 5.6k ★
- Azure Cosmos DB Python — Cosmos DB development for Python 1.8k ★
- Memex — Open-source, local-first AI journal app for iOS and Android 697 ★
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.
- 14 patient personas in `scenarios/` as editable YAML
- Stereo recordings in `recordings/` — far end on channel 0, our
patient on channel 1, so overlaps are audible and measurable. One call per
scenario; the other 22 calls from tuning and accent passes are in
`recordings/extra/`, including
call-01, the pre-tuning baseline kept as the "before" case (see CHANGELOG.md) - Timestamped transcripts in `transcripts/`
- Findings in `BUG_REPORT.md`, generated then hand-reviewed
- Design rationale in `ARCHITECTURE.md`, iteration log in `CHANGELOG.md`
- Diagrams: `docs/overview-simple.svg` for a general audience, `docs/architecture.svg` for the technical flow
**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
Related Skills
Dota2 Meta Grid
Data-driven Dota 2 tier list installed as an in-game hero grid. Agent skill for Claude Code & Codex (or plain
Add Table
Adiciona suporte completo a uma nova tabela Oracle no pipeline de sincronização TUCC. Chame com o nome da tabe
Greenscape Reactivation Agent
For the About field (350 char limit). My pick: AI-drafted, human-approved re-engagement pipeline for a landsca
Ambient Patient Companion
A daily AI pipeline that generates synthetic patient health data via FastMCP skills and serves it through an a
Harvest Pipeline Bugs
Harvest the errors.jsonl pipeline-error sink into deduped patch-tickets — read the single problem log, route/w
Agent Pilot
Agent-Pilot · 飞书 AI 校园挑战赛 · 从 IM 对话到演示稿的一键智能闭环 6 Agent Multi-Agent Pipeline · MiniMax M2.7 Tool Calling · 飞书 B
Related Agents
Icu Clinical Reasoner
Use when an ICU clinical consult needs bedside clinical reasoning — a patient scenario (Mode A), a mechanism/p
Competitor
Role-plays a fictional rival's reaction to the proposal, framed as leaked competitive intelligence — outside-i
Entrepreneur
Presents and defends Lean Canvas sections for the product being evaluated. Plays the role of a passionate but