Deploy an AI Phone Agent
In Under 30 Minutes
Your AI agent answers and makes phone calls, handles conversations naturally, and logs every transcript to your database. Modular TypeScript you own and customize. No monthly platform fees.
How It Works
Three proven services connected by clean, modular code you control.
Telnyx
Handles the phone line. Local or toll-free number, SIP trunking, answering machine detection. Pennies per minute.
ElevenLabs
Powers the AI conversation. Natural voice, real-time responses, mid-call tool use. Dozens of voices or clone your own.
Supabase
Logs everything. Full transcripts, call duration, costs, caller info. Query and analyze from the dashboard or API.
Everything You Need to Ship
Not a tutorial. Not a boilerplate. A complete, production-grade deployment kit.
Modular TypeScript Server
Express app split into clean modules: config, routes, middleware, libraries. Fail-fast env validation. No spaghetti.
5 Industry Templates
Pre-built system prompts and webhook configs for dental front desk, HVAC, plumbing, and electrical dispatch, and law firm intake. Customize or build your own.
Webhook Authentication
Bearer token auth for your endpoints. Telnyx signature verification. Timing-safe comparisons. Production-grade security from day one.
Call Logging + Transcripts
Every call logged to Supabase with direction, duration, cost, status, and full conversation transcript. Migration included.
Mid-Call Context Webhooks
Your AI agent can call your server during a conversation to look up customers, check availability, or fetch any data it needs.
Docker + Deployment Docs
Multi-stage Dockerfile, docker-compose.yml, and guides for Railway, Render, Fly.io, and VPS deployment. Ship to production in one command.
5 Industry Templates Included
Each template includes a battle-tested system prompt, webhook configuration, and setup guide.
Dental Front Desk
Answers calls, schedules appointments, collects new patient info, handles insurance questions, and triages emergencies. Built for dental practices of any size.
HVAC Dispatcher
Triages service calls by urgency, collects job details, provides pricing ranges, handles safety protocols (gas leaks, CO alarms), and dispatches technicians.
Plumbing Dispatcher
Triages plumbing calls by urgency, collects job details, provides pricing ranges, handles emergencies (burst pipes, no water, sewage backups), and dispatches technicians.
Electrician Dispatcher
Triages electrical service calls by urgency, collects job details, provides pricing ranges, flags safety hazards (sparking, burning smells, power loss), and dispatches electricians.
Law Firm Intake
Screens callers for practice area fit, collects intake information, identifies time-sensitive matters, schedules consultations, and tracks referral sources.
Complete Documentation
Six guides covering every step from account creation to production deployment.
SETUP.md
End-to-end walkthrough from clone to first call
TELNYX.md
Phone numbers, SIP connections, webhook configuration
ELEVENLABS.md
Agent creation, voice selection, tool setup, post-call webhooks
SUPABASE.md
Database setup, migration, call log queries, optional RLS
DEPLOYMENT.md
Docker, Railway, Render, Fly.io, VPS with nginx
CUSTOMIZATION.md
Adding integrations, CRM lookups, calendar checks, custom webhooks
No Platform Lock-In
You own the code. Pay only for the underlying services you actually use.
| Service | Monthly Cost | Notes |
|---|---|---|
| Telnyx | ~$5–20 | Phone number + per-minute calling |
| ElevenLabs | ~$5–99 | Per-minute conversational AI |
| Supabase | Free–$25 | Free tier covers most use cases |
| Hosting | $5–20 | VPS, Railway, Render, etc. |
| Total | ~$15–164/mo | vs. $300–2,000+/mo for hosted voice AI platforms |
Full source code. Lifetime updates. No recurring fees.
- Modular TypeScript server (8 source files)
- 5 industry templates with system prompts
- Webhook authentication middleware
- Supabase migration + call logging
- Docker + docker-compose deployment
- 6 comprehensive documentation guides
- Single-user commercial license
Instant download. .zip file with complete source code and docs.
Questions
Do I need to be a developer?
Basic comfort with the command line and environment variables is enough. The setup guide walks you through every step. If you can follow instructions and edit a .env file, you can deploy this.
Can I use this for inbound AND outbound calls?
Yes. Inbound calls route directly to ElevenLabs via Telnyx SIP. Outbound calls are triggered via the API endpoint, with answering machine detection and automatic transfer to your AI agent.
What if my industry isn't one of the three templates?
The templates are starting points. The system prompt is just a Markdown file - write your own for any industry. The webhook architecture works regardless of the AI agent's personality or purpose.
Is this HIPAA-compliant?
The kit itself is infrastructure code. HIPAA compliance depends on your configuration: Supabase offers HIPAA BAAs, ElevenLabs has enterprise plans with BAAs, and you control where data is stored. The kit supports compliant deployment when configured correctly.
What language/framework is it built with?
TypeScript + Express + Node.js. Standard stack, easy to extend, runs anywhere Node runs.
Do you offer support?
The documentation covers every step from setup to production. If you need hands-on implementation help, book a consulting call and we'll get it running together.
Protect Your AI Deployment
Deploying AI voice agents? Make sure you're compliant. Use code SOLAS20 for 20% off.
AI Compliance Toolkit - $247
HIPAA, FTC, TCPA, EU AI Act, and state bar ethics compliance for businesses deploying AI tools. Templates, checklists, and remediation playbook.
Incident Disclosure Readiness Kit - $197
Pre-built disclosure templates for SEC, NIS2, DORA, HIPAA, and state breach laws. Be crisis-ready before the crisis hits.
David A. Moline, CISSP | CISM
Your AI automation, built by someone who secures DoD systems.
Stop Paying Monthly for Voice AI
Own the code. Control the stack. Deploy in 30 minutes. One payment, no recurring fees.