← All work

Phone & Text Agent

An assistant that answers an office's phone and text messages after hours or when nobody picks up. Built first for optical shops and optometry practices.

Status
Pilot
For
Eyecare, medical offices
Channels
Phone, SMS
Demo
Request a demo call
AgentThank you for calling Clearview Eyecare. Our office is closed right now and I'm the virtual assistant. How can I help?
CallerHi, I need an eye exam for my daughter, she's eight.
check_availability(type: kids_exam)
AgentI can offer Tuesday at 3:30, Wednesday at 9:00 or Thursday at 4:15. Which works best?
CallerThursday at 4:15.
book_appointment(Thu 16:15, kids_exam)
AgentBooked. Please bring her current glasses if she has any, and your insurance card. Anything else?
Outcome: booked · Summary: kids' exam Thu 4:15 pm · Open items: none

Example call with the demo office "Clearview Eyecare". Not a real caller.

What it does

The phone gets answered, the calendar gets filled, staff get a list.

Two greetings

One for after hours, one for when the office is open but nobody picks up. Both are set per office.

Real bookings

Checks the actual schedule, offers two or three times, books, moves or cancels, and says what to bring.

Questions answered

Hours, prices, insurance, glasses turnaround, warranty and payment come from the office's own FAQ.

Open items

Glasses status, prescriptions, billing and anything else become a task with name, number and details.

Urgent calls

Sudden vision loss, flashes, chemical injury or severe pain: the agent reads the office's emergency instructions and flags the call as urgent.

Text messages

Texts get the same tools in a texting style, without health details. Or they simply land as items for staff.

How it's built

Under the hood

Calls
Twilio forwards unanswered or after-hours calls; audio streams both ways over a WebSocket
Voice
OpenAI Realtime for speech in, speech out and tool calls
Records
SQLite: appointments, open items and a call log with outcome and summary, shown in a staff dashboard
Per office
One YAML file: greetings, hours, services, FAQ, emergency instructions
Quality
Automated tests against simulated phone and AI servers, no live keys needed