All projects

Automotive & Personal Services

Pam

AI workforce platform for automotive dealerships

Built the real-time voice gateway, the LLM agent with its tool layer and RAG, and the evaluation suite behind Pam, an AI workforce that answers dealership calls and texts, books service and runs outbound campaigns.

Pam: an AI workforce that answers calls and texts for car dealerships

1 / 5
Pam: an AI workforce that answers calls and texts for car dealerships

Pam: an AI workforce that answers calls and texts for car dealerships

500–800 ms

Voice latency to first audio (p50)

70–85%

Booking success, service-intent calls

100%

Compliance tests passing

$0.10–0.25

Cost per 3-minute call

Stack

Python / FastAPIGoTwilioDeepgramOpenAI GPT-5.4 miniPostgreSQL + pgvectorRedisNext.jsReact NativeAWS ECS FargateTerraformNew Relic

Overview

Pam is an AI workforce for car dealerships: AI agents that answer calls and texts in English and Spanish, book service appointments, qualify sales calls, run outbound campaigns and hand complex conversations to staff with full context.

The central idea: the AI decides what happens next, but deterministic backend services perform critical dealership actions. The LLM never directly modifies dealership systems.

The problem

Dealerships receive a large volume of repetitive calls every day: scheduling service, asking whether a vehicle is ready, or checking hours and inventory.

  • Missed calls and long holds: calls arrive while staff are serving customers in person.
  • Repetitive work: service advisors answer the same routine questions again and again.
  • IVR limits: traditional IVR can route calls, but cannot understand complex requests or complete business actions.

My role

I worked at Pam as an AI engineer. I built the real-time voice gateway, the LLM agent and its evaluation suite, and the agent's call workflows, post-call AI and monitoring. I wrote the scripted test scenarios with service and BDC managers; service advisors review the expected outcomes I label and provide the call labels I calibrate the LLM judge against.

What I built

Real-time voice gateway

  • A Go gateway that connects Twilio Media Streams to Deepgram speech-to-text and Aura-2 text-to-speech, streaming at every stage.
  • Turn-taking and barge-in: Deepgram Flux end-of-turn events for English, Nova-3 endpointing for Spanish, and queued audio dropped when the caller interrupts.

LLM agent and evaluation

  • A GPT-5.4 mini agent that classifies intent, chooses the workflow and calls typed tools, each validated by backend code before it runs.
  • Dealership-scoped RAG on pgvector; general model knowledge is never used for availability, inventory, repair status or pricing.
  • An evaluation suite: simulated-call regression tests, zero-tolerance TCPA compliance tests and a GPT-5.4 judge calibrated against service-advisor labels.

Call workflows, post-call AI and monitoring

  • Service booking, sales lead and SMS workflows, plus human handoff with a written summary for the employee and failed-transfer recovery.
  • Post-call workers that write the GPT-5.4 summary, disposition and tasks outside the live voice path.
  • Monitoring of voice latency and call outcomes per dealership and prompt version.

Results

  • Voice latency: p50 of 500–800 ms and p95 of 1.0–1.5 s from the end of the caller's turn to the first audio.
  • Speech-to-text: 8–15% word error rate on English phone audio.
  • Booking success: 70–85% of service-intent calls.
  • Containment: 40–70% of calls handled without a human.
  • Warm transfers: 90–95% reach a person.
  • LLM judge: Cohen's kappa of 0.6 or higher against service-advisor labels.
  • Compliance tests: 100% passing.
  • Cost: $0.10–0.25 per 3-minute call.
  • Appointment show rate: 75–85%.

Tech stack

LayerTechnologies
Voice AITwilio Programmable Voice and Media Streams, Deepgram Flux, Nova-3 and Aura-2, Go voice gateway
AIOpenAI GPT-5.4 mini, GPT-5.4, Responses API, Structured Outputs, text-embedding-3-small
BackendPython, FastAPI, Go, WebSockets, Amazon SQS, SNS, EventBridge Scheduler
DataPostgreSQL 16 + pgvector, Redis, Amazon S3
Frontend and mobileNext.js 15, React, TypeScript, Tailwind CSS, shadcn/ui, React Native, Expo
IntegrationsCDK Global (Fortellis), Tekion, Xtime, Dealer-FX, wiADVISOR, myKaarma, ADF/XML
InfrastructureAWS ECS Fargate, RDS, ElastiCache, Terraform, GitHub Actions, New Relic, Sentry

Related case studies