Add LiveKit patient intake voice agent example - #52
Open
tinalenguyen wants to merge 1 commit into
Open
Conversation
tinalenguyen
force-pushed
the
add-patient-intake-voice-agent
branch
from
August 18, 2026 19:11
c92cf16 to
3c06b8a
Compare
A family-medicine front-desk voice agent running the full xAI speech stack —
xai/stt-1, grok-4.20, and xai/tts-1 — with LiveKit Agents for transport and
turn detection.
voice-examples/patient-intake/
agent/ Python agent: one agent, one conversation, eight typed tools over an
in-memory clinic. No handoffs or workflow state machine; every tool
re-verifies identity from its arguments. Dependencies are declared in
requirements.txt with ranges, matching the other Python examples here.
web/ Next.js app that dispatches the worker and renders the conversation,
transcript, and tool calls, preserved as-is from the upstream
livekit/partner-spotlight-agents deployment.
The six web fonts are stored in Git LFS. The repository-root .gitattributes
covers examples/ and images/ only, so this example carries its own for the
paths under voice-examples/.
Per CONTRIBUTING.md: dependencies are declared and minimal, no credentials are
committed (the gitleaks hook passes), and both halves run end to end from the
documented steps. No registry.yaml entry is added — the registry covers the
notebooks under examples/, and no voice example is listed there.
tinalenguyen
force-pushed
the
add-patient-intake-voice-agent
branch
from
August 18, 2026 20:53
3c06b8a to
0cf3242
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A family-medicine front-desk voice agent running the full xAI speech stack — xai/stt-1, grok-4.20, and xai/tts-1 — with LiveKit Agents for transport and turn detection.
voice-examples/patient-intake/
agent/ Python agent: one agent, one conversation, eight typed tools over an
in-memory clinic. No handoffs or workflow state machine; every tool
re-verifies identity from its arguments. Dependencies are declared in
requirements.txt with ranges, matching the other Python examples here.
web/ Next.js app that dispatches the worker and renders the conversation,
transcript, and tool calls. The UI is assembled from the packaged
@livekit/components-react primitives (VoiceAssistantControlBar,
BarVisualizer) rather than hand-rolled, and ships no font binaries.
Per CONTRIBUTING.md: dependencies are declared and minimal, no credentials are committed (the gitleaks hook passes), and both halves run end to end from the documented steps. No registry.yaml entry is added — the registry covers the notebooks under examples/, and no voice example is listed there.
Description
Summary:
Why this change matters:
Type(s) of Change
Checklist
CONTRIBUTING.mdregistry.yaml(if PR adds a new notebook)