← Back to Leaderboard
Rneural-maze

neural-maze/realtime-phone-agents-course

A modular FastRTC and Twilio call center for real-time voice agents with property search

View on GitHub ↗
Engineering Health (Methodology)
B · 57/100
Maintenance Activity
● Updated 10mo ago
Latest Release
week4
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance6/35
Fork Adoption20/25
Release Cadence11/20
License Clarity20/20
DockerSelf-HostedGPUAPI1 README badge views (30d)
Total Stars
★ 1,126
24h Growth
+0
7d Growth
+0
Forks
255

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

neural-maze/realtime-phone-agents-course Star History (2025-11-11 - 2026-12-04) ALL-TIME STAR HISTORY (2025-11 – 2026-12) +1.1k in 388d · avg +3/day 1.2k 595 0 2025-11-11: ★ 12025-12-06: ★ 2722026-01-03: ★ 7892026-01-31: ★ 8422026-02-28: ★ 9352026-03-28: ★ 9542026-04-25: ★ 9632026-05-23: ★ 9692026-06-20: ★ 9752026-07-18: ★ 1,0012026-08-15: ★ 1,0762026-09-12: ★ 1,0922026-10-10: ★ 1,1082026-11-03: ★ 1,1132026-12-04: ★ 1,126 ★ 1.1k 2025-11 2026-05 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

This Python 3.11+ application separates the call interface, speech backends, and domain retrieval. FastAPI serves the call-center application, Twilio connects inbound and outbound phone calls, and FastRTC runs the voice conversation. Gradio provides a separate browser entry point for testing without Twilio. The agent pipeline transcribes caller audio, uses the resulting text for the LLM response and any tool calls, then synthesizes the reply.

The package lives under src/realtime_phone_agents. The stt/ and tts/ modules separate local, API, and RunPod implementations. agent/tools/property_search.py exposes domain search to the agent, while infrastructure/superlinked/ houses the retrieval integration. The agent stack declares LangChain and LangChain-Groq, and retrieval uses Superlinked with Qdrant. The avatar registry loads YAML personas, while Opik instrumentation in agent/fastrtc_agent.py traces the conversation stages.

Key Capabilities & Differentiators

Property search goes beyond embedding similarity: Superlinked combines text similarity, numeric, and categorical spaces in one index and lets queries adjust their relative weights. The supplied data/properties.csv supports an end-to-end test in which the caller asks for an apartment in Barrio de Salamanca for at most €900,000. The example demonstrates handling a location and price constraint together; it does not establish a live listing feed.

Speech recognition can use Moonshine locally, Whisper through Groq, or Faster Whisper large-v3 on RunPod. Speech synthesis offers local Kokoro and Orpheus through Together AI or a RunPod deployment of Orpheus 3B. Gradio lets users mix and match STT and TTS backends. The week4 release adds eight YAML-defined avatars with distinct styles and voices, prompt versioning, and Opik traces for transcription, LLM responses, tool calls, and synthesis, including complete conversation threads.

Trade-offs & Limitations

Compared with a managed voice-agent platform, this stack gives engineers more control over speech backend selection, retrieval ranking, prompts, and traces, but leaves them responsible for integrating and operating those components. Local speech options reduce dependence on hosted speech APIs and avoid their network round trips, at the cost of local model compute. Hosted APIs reduce model-serving work; RunPod lets teams operate their own endpoints, but adds GPU cost and capacity planning. There are no established latency or concurrency results to size a deployment from; measure end-to-end turn latency and behavior under overlapping calls with the chosen backends.

For semantic search with fixed filters, a conventional vector index may be simpler. Superlinked earns its place when numeric and categorical attributes also need to influence ranking. Treat this as an engineering reference rather than a verified production call center: the Compose health check is not an availability or load guarantee. Twilio remains an external dependency, and complete Opik conversation traces make transcript access and retention explicit deployment decisions. The MIT code license does not replace model licenses or provider terms.

Hardware & Deployment Guide

For browser testing, configure .env from .env.example, install the Python 3.11+ dependencies, and run make start-gradio-application. Install ffmpeg if ffprobe is missing. For telephony testing, make start-call-center launches the Docker Compose stack on port 8000 with local Qdrant. The app mounts ./data, caches Hugging Face assets in a named volume, and exposes a /health endpoint for the container health check. make start-ngrok-tunnel provides a public URL for Twilio during development.

For self-managed speech inference on RunPod, Dockerfile.faster_whisper uses the speaches-ai/speaches base and pre-downloads large-v3; Dockerfile.orpheus uses a CUDA-enabled llama.cpp server. Run make create-faster-whisper-pod or make create-orpheus-pod, then put the returned endpoint URLs in .env. Cloud configuration also covers Twilio, Qdrant Cloud, Opik, and the selected speech providers. The releases build in layers: week2 adds retrieval, week3 adds interchangeable speech backends and model containers, and week4 adds personas, tracing, and cloud deployment configuration.

Telephony: FastRTC handles voice conversations, Twilio supports inbound and outbound calls, and Gradio provides a browser test path.
Property search: Superlinked combines text, numeric, and categorical spaces with query-time weighting; Qdrant backs the retrieval stack.
Speech recognition: Choose local Moonshine, Groq's Whisper API, or Faster Whisper large-v3 on RunPod.
Speech synthesis: Choose local Kokoro or Orpheus via Together AI or RunPod; the Orpheus 3B container uses a CUDA-enabled llama.cpp server.
Persona and traces: Eight YAML-defined avatars configure prompts and voices; Opik captures pipeline stages and conversation threads.
Deployment: Docker Compose runs the FastAPI app with Qdrant, and separate Dockerfiles package the two RunPod speech backends.
Best For

Engineering teams prototyping a real-estate phone agent or learning how to connect telephony, interchangeable speech backends, structured search, and tracing in one application.

Skip If

You need an offline phone system, a turnkey managed contact center, or demonstrated latency, concurrency, and availability guarantees before adoption.

Reviewed on 2026-12-03 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

DockerSelf-HostedGPUAPI
make start-gradio-application

Comparison vs. Top Voice, Vision & Video Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
realtime-phone-agents-course ★1.1k—PythonMITA modular FastRTC and Twilio call center for real-time voice agents with propert
voicebox61.8k+437PythonMITLocal-first voice studio with multi-engine speech synthesis, dictation and MCP.
speech-to-speech13.9k+137PythonApache-2.0A modular speech cascade for self-hosted voice agents over OpenAI Realtime
Open-LLM-VTuber15.1k+107Python—Self-hosted Python AI companion with interruptible voice and a Live2D avatar

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/neural-maze/realtime-phone-agents-course.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

neural-maze/realtime-phone-agents-course Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about realtime-phone-agents-course

How do I go from a browser demo to a real phone call?

For local testing, start the Gradio interface with make start-gradio-application. For phone calls, start the FastAPI service with make start-call-center, expose port 8000 through an ngrok tunnel for development, and configure Twilio with the public URL. FastRTC handles the voice conversation, while property retrieval is exposed as a separate agent tool.

Do I need a GPU, and how much VRAM should I budget?

A RunPod GPU is not a prerequisite for the Gradio demo: Moonshine and Kokoro are local options, and hosted speech APIs are also available. The optional model containers run Faster Whisper large-v3 and Orpheus 3B; the Orpheus image uses CUDA. No fixed VRAM requirement or tested concurrency target is established. Size the deployment against the selected models and measured peak concurrent call load. The Compose app's 4-CPU, 4 GB resource settings are not GPU sizing guidance.

Can I use it commercially and keep call data on my own infrastructure?

The repository code is MIT-licensed and permits commercial use subject to its notice requirements. Check model licenses and provider terms separately. You can self-host the app, Qdrant, and selected speech components, but real phone calls still depend on Twilio. If you enable external tracing or hosted inference, check where audio and transcripts are processed or retained, and set consent, access, and retention policies accordingly.

When is this preferable to a managed voice-agent platform or a simpler vector-search stack?

Choose this stack over a managed voice-agent platform if you need direct control over speech backend selection, agent tools, and property ranking. A managed platform is a better fit if minimizing integration and operations work matters more. If your search workload only needs semantic matching plus fixed filters, a conventional vector-search integration is simpler than maintaining Superlinked spaces and query-time weights.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining neural-maze/realtime-phone-agents-course? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature neural-maze/realtime-phone-agents-course on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare