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
- Memex — Open-source, local-first AI journal app for iOS and Android 697 ★
- Agent Pilot — Agent-Pilot · 飞书 AI 校园挑战赛 · 从 IM 对话到演示稿的一键智能闭环 6 Agent Multi-Agent Pipeline · MiniMax M2.7 Tool Calling · 飞书 B 12 ★
- Defense In Depth Validation — Validate at every layer data passes through to make bugs impossible 8 ★
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
Pgai Voice Bot
Voice bot that calls an AI healthcare phone agent as a simulated patient: LiveKit Agents pipeline (Deepgram ST
Clinic AI Receptionist
WhatsApp AI receptionist for clinics — FastAPI + Postgres/pgvector + Claude. Answers FAQs via RAG, books appoi
Uncommon Sales Skills
Uncommon Sales Skills: 10 Claude skills that run enterprise sales plays in the buyer's own language, sourced f
Add Table
Adiciona suporte completo a uma nova tabela Oracle no pipeline de sincronização TUCC. Chame com o nome da tabe
Harvest Pipeline Bugs
Harvest the errors.jsonl pipeline-error sink into deduped patch-tickets — read the single problem log, route/w
Vision API App
Receipt recognition API using Claude Vision API (Haiku 4.5). Go + Clean Architecture + MySQL + Redis.
Related Agents
Customer
Jarvis specialist — customer voice. Role-plays the target buyer/user: would they pay, objections, switching co
Icu Clinical Reasoner
Use when an ICU clinical consult needs bedside clinical reasoning — a patient scenario (Mode A), a mechanism/p
AI Team Dev.Agent
AI development team agent (Nova, Sage, Milo). Use when: building features, writing application code, fixing bu