~/dpkkmishra
LinkedIn

$ cd ../blog

feat(healthcare)

The phone agent that can actually move your appointment

What it took to build multilingual phone agents for healthcare front desks, from tenant-scoped tools to answers that cite the manual.

voice agentsLiveKitMCPRAG

A clinic’s phone rings for three reasons: book, move, ask. A voice agent that only handles “ask” is a talking FAQ. The useful one handles all three, in the caller’s language, and leaves a record a human can check.

The shape of it

Three pieces, each boring on purpose:

  • Agents in Python on LiveKit. They listen, think and speak, and they hand off anything risky.
  • An integration back end in Go. It owns the connections to the CRM, the booking system and the calendars.
  • A dashboard in Next.js, where staff configure assistants and replay calls with their transcripts.

Tools belong to a tenant

The agent never gets a general-purpose API key. Each clinic’s tools are exposed through MCP and scoped to that tenant: look up this clinic’s patient record, change this clinic’s appointment. If a prompt goes sideways, the blast radius is one tool call on one tenant, and it shows up in the log.

“It says so in the manual”

Callers ask about preparation, opening hours, what a procedure involves. Those answers live in manuals and tables, so ingestion had to survive real documents. I used Docling for parsing and made ingestion resumable, because a long manual failing near the end should not start over.

Search is hybrid, keyword and vector together, followed by reranking. Answers are streamed and cite their sources. In healthcare, “where did you get that?” is not a rude question.

What I’d tell you before you build one

  • Design the hand-off first. The agent’s best feature is knowing when to stop.
  • Latency is a feature. People forgive a wrong word sooner than a long silence.
  • Review beats trust. Call summaries and transcripts made staff comfortable long before the agent was perfect.