Skip to main content

System Architecture

TalkifAI is composed of four independently deployed services:

Services

TalkifAI Studio

Main Next.js app — dashboard, agent builder, auth, API endpoints.

Voice Agent Runtime

Python service running the actual voice agents on LiveKit.

Billing Service

FastAPI service managing credits, usage, and payments.

Security

Authentication, encryption, and multi-tenant isolation.

Database Architecture

All services share a PostgreSQL database (Neon serverless) via Prisma ORM. Key tables:

Infrastructure


Scale Characteristics