Technical Documentation

System Architecture

Built on enterprise-grade infrastructure with ElevenLabs, Google Cloud, and modern AI technologies

System Overview

System Architecture Overview

Complete system architecture showing integration between Twilio, ElevenLabs, and Google Cloud services

Call Flow Diagram

Call Flow Diagram

Detailed call routing logic for Accessibility and Gatekeeper modes with parallel agent execution

Agent Architecture

Agent Architecture

Multi-agent system with specialized agents for screening, detection, and decision-making

Sequence Diagram

Sequence Diagram

Real-time interaction flow showing sub-100ms response times and parallel processing

Database Schema

Database Schema

Supabase database schema with optimized tables for users, calls, contacts, and vector embeddings

☁️

Google Cloud

11 services including ADK, Gemini 2.0 Flash, and Cloud Run

🎙️

ElevenLabs

All 4 features: Voice Cloning, TTS, Conversational AI, Server Tools

📞

Twilio + Supabase

PSTN gateway and PostgreSQL database with vector search

Key Technical Features

🤖 Multi-Agent Orchestration

  • 4 parallel agents using Google ADK
  • Screener, Detector, Decision, and Executor agents
  • Gemini 2.0 Flash for sub-100ms responses

🎙️ ElevenLabs Integration

  • Professional Voice Cloning (30s audio)
  • Text-to-Speech Turbo v2 for natural responses
  • Conversational AI with Server Tools

⚡ Performance

  • 0.16ms keyword-based scam detection
  • 120ms end-to-end response time
  • Real-time transcription with WebSocket streaming

🔒 Security & Compliance

  • TCPA compliant AI disclosure
  • End-to-end encryption for call data
  • Vector embeddings for semantic search