Call Center AI — Microsoft AI Phone Agent
Make AI phone calls via API or receive calls on a configured number. Uses Azure + GPT-4.1 for insurance claims, IT support, customer service. Apache-2.0, 6,400+ stars.
What it is
Call Center AI is a Microsoft open-source project that enables AI-powered phone calls. You can make outbound calls via API or receive inbound calls on a configured phone number. The system uses Azure Communication Services for telephony, Azure Cognitive Services for speech, and GPT-4.1 for conversation handling.
It is designed for teams building automated phone support for insurance claims, IT helpdesk, appointment scheduling, and customer service. The project is Apache-2.0 licensed.
How it saves time or tokens
Traditional IVR systems require rigid decision trees that frustrate callers. Call Center AI replaces those with a natural language agent that can understand context, ask follow-up questions, and resolve issues conversationally. The LLM handles intent recognition and response generation in a single pass.
Deployment uses Azure services, so there is no need to build telephony infrastructure from scratch. The project provides Docker Compose configuration for quick local testing.
How to use
- Clone and configure:
git clone https://github.com/microsoft/call-center-ai.git
cd call-center-ai
cp .env.example .env
# Fill in Azure Communication Services credentials
# Fill in Azure Cognitive Services key
# Fill in OpenAI/Azure OpenAI API key
- Deploy with Docker Compose:
docker compose up -d
- Configure a phone number in Azure Communication Services and point the webhook to your deployment.
Example
# Example: Making an outbound AI call via the API
import requests
response = requests.post(
'http://localhost:8080/call',
json={
'phone_number': '+1234567890',
'scenario': 'insurance_claim',
'context': {
'claim_id': 'CLM-2026-001',
'caller_name': 'Jane Smith'
}
}
)
print(response.json())
# {'call_id': 'abc-123', 'status': 'initiated'}
The AI agent follows the scenario script, asks clarifying questions, and logs the conversation transcript.
Related on TokRepo
- AI Tools for Automation -- Other AI-powered automation tools and workflows
- AI Tools for Voice -- Voice AI tools for speech synthesis and recognition
Common pitfalls
- Azure Communication Services requires a paid Azure subscription and a purchased phone number. There is no free tier for telephony.
- Speech recognition quality depends on the Azure Cognitive Services tier. The free tier has lower accuracy than the standard tier.
- GPT-4.1 usage costs can add up quickly for long phone calls. Set conversation length limits and monitor token usage via Azure OpenAI metrics.
Frequently Asked Questions
You need Azure Communication Services (for phone calls), Azure Cognitive Services (for speech-to-text and text-to-speech), and either Azure OpenAI or OpenAI API access (for the conversation LLM). All three are required for the system to work.
The project is built around the OpenAI API format. You can use OpenAI directly or any API-compatible provider. Azure OpenAI is the recommended option because it integrates natively with the rest of the Azure stack.
The LLM receives a system prompt with the call scenario and context. It can handle off-script questions within the scenario domain. For completely unrelated questions, it redirects the caller back to the topic or offers to transfer to a human agent.
The project provides a functional reference architecture. For production deployments, you would need to add monitoring, scale the telephony infrastructure, implement proper error handling for dropped calls, and comply with telephony regulations in your region.
Language support depends on Azure Cognitive Services speech models. The system supports dozens of languages for speech recognition and synthesis. The LLM conversation works in any language that GPT-4.1 supports.
Citations (3)
- Call Center AI GitHub— Call Center AI is a Microsoft open-source project using Azure and GPT-4.1
- Azure Communication Services Docs— Uses Azure Communication Services for telephony
- Azure OpenAI Documentation— GPT-4.1 available through Azure OpenAI Service
Related on TokRepo
Source & Thanks
Created by Microsoft. Licensed under Apache-2.0.
call-center-ai — ⭐ 6,400+
Thanks to Microsoft for open-sourcing a production-ready AI phone agent system.
Discussion
Related Assets
NAPI-RS — Build Node.js Native Addons in Rust
Write high-performance Node.js native modules in Rust with automatic TypeScript type generation and cross-platform prebuilt binaries.
Mamba — Fast Cross-Platform Package Manager
A drop-in conda replacement written in C++ that resolves environments in seconds instead of minutes.
Plasmo — The Browser Extension Framework
Build, test, and publish browser extensions for Chrome, Firefox, and Edge using React or Vue with hot-reload and automatic manifest generation.