# Fonoster — Open-Source AI Telecom Platform > Open-source alternative to Twilio for building AI voice applications. Programmable voice with Answer, Say, Gather, Dial verbs. NodeJS SDK, OAuth2, Google Speech API. MIT, 7,800+ stars. ## Install Save the content below to `.claude/skills/` or append to your `CLAUDE.md`: ## Quick Use 1. Install the SDK: ```bash npm install @fonoster/sdk ``` 2. Create a voice application: ```javascript const { VoiceServer } = require("@fonoster/voice"); new VoiceServer().listen(async (req, res) => { await res.answer(); await res.say("Hello! How can I help you today?"); const input = await res.gather({ source: "speech" }); await res.say(`You said: ${input}`); await res.hangup(); }); ``` 3. Deploy with Docker: ```bash git clone https://github.com/fonoster/fonoster.git cd fonoster docker compose up -d ``` --- ## Intro Fonoster is the open-source alternative to Twilio with 7,800+ GitHub stars. It provides a programmable telecommunications platform for building AI voice applications, IVR systems, and phone bots. Features programmable voice verbs (Answer, Say, Gather, Dial), NodeJS SDK, OAuth2 authentication, Google Speech API integration, and multi-tenant support. Best for developers building AI-powered call centers, voice assistants, or automated phone systems without depending on proprietary platforms. See also: [AI agent tools on TokRepo](https://tokrepo.com/en/@Agent%20Toolkit). --- ## Fonoster — Build AI Voice Apps Like Twilio, But Open Source ### Why Fonoster Twilio charges per minute and per API call. Fonoster is self-hosted and open-source — you control your telephony infrastructure and costs. ### Programmable Voice Verbs | Verb | Description | |------|------------| | **Answer** | Pick up an incoming call | | **Say** | Text-to-speech output | | **Gather** | Collect user input (speech or DTMF) | | **Dial** | Connect to another number | | **Record** | Record the conversation | | **Play** | Play an audio file | ### Example: AI Customer Service Bot ```javascript const { VoiceServer } = require("@fonoster/voice"); new VoiceServer().listen(async (req, res) => { await res.answer(); await res.say("Welcome to AI Support. How can I help?"); const input = await res.gather({ source: "speech", timeout: 5000 }); // Process with AI (OpenAI, Claude, etc.) const aiResponse = await processWithAI(input); await res.say(aiResponse); await res.hangup(); }); ``` ### Key Features - **NodeJS SDK** — familiar JavaScript API for voice apps - **OAuth2 & JWT** — secure authentication - **RBAC** — role-based access control - **Multi-tenant** — serve multiple organizations - **Google Speech** — built-in speech recognition - **S3 Storage** — store recordings and assets - **SSL/TLS** — Let's Encrypt support - **Docker** — easy deployment ### FAQ **Q: What is Fonoster?** A: An open-source telecom platform (Twilio alternative) for building AI voice applications with programmable voice verbs, speech recognition, and a NodeJS SDK. **Q: Is Fonoster free?** A: Yes, fully open-source under MIT. Self-host on your own infrastructure. **Q: Can Fonoster integrate with AI models?** A: Yes, use the Gather verb to capture speech, process it with any AI model (OpenAI, Claude, etc.), and respond with Say. --- ## Source & Thanks > Created by [Pedro Sanders](https://github.com/fonoster). Licensed under MIT. > > [Fonoster](https://github.com/fonoster/fonoster) — ⭐ 7,800+ Thanks to Pedro Sanders for building an open-source telecom platform for AI developers. --- ## Quick Use 1. Install the SDK: ```bash npm install @fonoster/sdk ``` 2. Create a voice app (see example code above) 3. Docker deployment: ```bash git clone https://github.com/fonoster/fonoster.git cd fonoster docker compose up -d ``` --- ## Introduction Fonoster is the open-source alternative to Twilio, with 7,800+ GitHub stars. It provides a programmable telecom platform for building AI voice apps, IVR systems, and phone bots. Supports programmable voice verbs (Answer, Say, Gather, Dial), a Node.js SDK, OAuth2, and the Google Speech API. Ideal for developers building AI contact centers, voice assistants, or automated phone systems. --- ## Fonoster — Open-Source AI Telecom Platform ### Programmable Voice Verbs | Verb | Function | |------|----------| | Answer | Accept an incoming call | | Say | Text-to-speech output | | Gather | Collect user input (voice or keypad) | | Dial | Connect to another number | | Record | Record a conversation | ### FAQ **Q: What is Fonoster?** A: An open-source telecom platform (Twilio alternative) for building AI voice apps. **Q: Is it free?** A: Completely free and open source (MIT), self-hosted. --- ## Source & Thanks > Created by [Pedro Sanders](https://github.com/fonoster). Licensed under MIT. > > [Fonoster](https://github.com/fonoster/fonoster) — ⭐ 7,800+ --- Source: https://tokrepo.com/en/workflows/fonoster-open-source-ai-telecom-platform-0d66478c Author: AI Open Source