Raja Jahanzaib / work

case study · 2026

FrontDesk AI

A multi-tenant platform that answers clinic calls, books appointments, and answers staff questions from the clinic's own documents, built end to end.

Solo build, end-to-endAgentic AI · Voice · RAG · Automations
01

The problem

Clinics lose bookings to missed calls, and staff drown in repetitive questions and manual follow-ups. They needed one system that could take inbound calls, book against a real calendar, answer questions from their own documents without inventing anything, and run the operational busywork around appointments, all across many clinics from a single codebase.

02

What I built

  • 01

    A Vapi voice agent that handles inbound calls end to end: it checks a live calendar, books, looks up patient records, confirms by SMS, logs the transcript to the CRM, and escalates to a human when it isn't sure.

  • 02

    A LangGraph multi-agent layer behind a custom MCP server, so tools and sub-agents stay composable and every run is traceable in LangSmith.

  • 03

    Hybrid RAG (pgvector + full-text + Cohere rerank) that answers from clinic documents with inline citations and explicitly refuses when the documents don't cover a question, so it never invents guidance.

  • 04

    8 approval-gated n8n workflows for the operational load: intake follow-ups, no-show re-booking, review requests, and payment retries, each with error handling and a human-in-the-loop checkpoint.

  • 05

    A multi-tenant Supabase, FastAPI, and Next.js foundation, so each clinic is isolated but everything runs on one codebase.

fig.01

FrontDesk AI / system

how it fits together
Voice
Inbound callVapi agentCalendar checkPatient lookupBook + SMSEscalate to human
Knowledge
Clinic docsHybrid RAG: pgvector + full-text + Cohere rerankCited answeror refuse
Ops
Events8 n8n workflows, approval-gatedLangGraph multi-agentcustom MCP server
Platformmulti-tenant · Supabase · FastAPI · Next.js · citations + refusal enforced end-to-end
03

Outcome

  • Takes and books calls 24/7 without staff involvement.
  • Document answers are always cited or explicitly refused, so nothing is hallucinated.
  • Operational follow-ups run automatically, with approval gates where a human should sign off.
04

Stack

VapiLangGraphMCPpgvectorCohere rerankn8nFastAPINext.jsSupabaseLangSmith

Want something like this built?

Get in touch
Back to all work