Soura Vamseekar Marti

Work / Tidings

Tidings

An AI phone receptionist: a multi-tenant voice agent that answers a business's forwarded calls, takes messages and refill requests, sends emergencies to 911, and leaves staff a ticket they can act on.

Private buildSep 2026 – PresentBuilt and tested with demo tenants · not deployed

The problem

A small practice or trades business loses calls when the front desk is busy or closed. A voice agent that answers is easy to demo. One that never gives clinical advice, never takes a card number and never leaks a patient's details into a text message or a log is the hard part.

One call

Callerunanswered callsTwilio Media Streamshidden tenant numberCloud RunPipecat pipelineGemini Live voiceSafety rails911 · no card numbersTenant toolsmessages · refillson hangupAfter the callCloud Tasksdurable post-call jobTicket workerseverity-scoredFirestoretickets · 90-day TTLStaff SMSde-identified text
Unanswered calls are forwarded to a hidden number. The agent answers inside safety rails; after hangup a worker writes the ticket and texts staff a de-identified summary.

A caller reaches a business that does not answer, and the call is forwarded to a hidden per-tenant Twilio number. Twilio Media Streams carry the audio to a Pipecat pipeline running Gemini Live on Google Cloud Run. Between the model and its tools sits a set of safety rails: emergency symptoms get a 911 instruction and the call ends, a card number is interrupted and never stored, and no clinical advice is given. The tools take messages, refill requests and urgent messages. After hangup a Cloud Tasks worker writes a structured, severity-scored ticket to Firestore, where it expires after 90 days, and sends staff a de-identified text message. The system is built and tested with demo tenants and is not deployed.

How it works

  1. 01

    The business keeps its number

    Unanswered calls are forwarded to a hidden per-tenant number, so nothing is ported and the staff can still pick up first.

  2. 02

    The agent answers within rules

    It names the practice, says it is an AI assistant, and does a short list of things: hours, a scheduling message, a refill request, an urgent message. Anything outside that is declined.

  3. 03

    Safety rails fire before the model can improvise

    Emergency symptoms get a 911 instruction and the call ends. A caller who starts reading out a card number is interrupted and nothing is stored. No clinical advice is given.

  4. 04

    Staff get a ticket, not a transcript

    After the call a worker writes a structured ticket with a severity, and texts the on-call person a de-identified summary. Tickets expire after 90 days.

Engineering notes

  • Twilio Media Streams into a Pipecat pipeline running Gemini Live on Google Cloud Run (FastAPI), with HMAC-signed stream tokens and tool calls for messages, refill requests and emergencies.
  • Safety rails enforced in code and spec: emergency stop to 911, card-number refusal, no clinical advice, de-identified staff SMS, and no PHI in logs, which carry tenant, model, latency and tool name only.
  • Firestore holds tenants and tickets with a 90-day TTL. A Cloud Tasks worker runs after hangup, and tenant data is isolated to a US or EU region.
  • A country framework with demo tenants for the US, Canada, Australia, New Zealand and Ireland, each with its local emergency number and privacy profile.
  • Per-tenant usage metering with plan inclusions and overage accounting; pip-audit and a CycloneDX SBOM run in CI.
  • An Astro marketing site on Cloudflare Pages sits behind CI policy gates for banned copy, links, readability and accessibility.

Trade-offs

Forward unanswered calls to a hidden number

instead of porting the business's number

A practice will not hand over its main line to an unproven vendor. Forwarding lets it try the agent for two weeks and switch it off without telling a single patient.

A short list of things the agent may do

instead of an open-ended assistant

Every extra capability is a way to give advice or mishandle data. Four tools, an emergency stop and a card refusal can be reviewed against real tickets; a general assistant cannot.

De-identified SMS and logs without arguments

instead of forwarding the full call to staff

Text messages and logs travel through systems with no health-data agreement. The detail stays in the ticket until the compliance gates for it are met.

Evidence

5

countries with demo tenants

2

vertical packs, clinics and trades

90 days

ticket retention

US · EU

tenant data regions