- Phone Integration —接听电话并进行语音对话.
- STT Pipeline — Speech-to-text with faster-whisper.
- LLM Processing — AI-powered conversation with local/cloud LLMs.
- TTS Output — Natural speech synthesis with Piper.
- Real-Time — Low-latency WebSocket streaming.
- Call Logging — Record and transcribe all calls.
- Multi-Provider — Twilio, Asterisk, and SIP support.
- Docker Ready — Easy deployment with Docker.
git clone https://github.com/OneByJorah/VoiceCortex.git
cd VoiceCortex
cp .env.example .env
docker compose up -dpip install -r requirements.txt
python3 voicecortex.py| Variable | Default | Description |
|---|---|---|
STT_PROVIDER |
faster-whisper |
Speech-to-text provider |
STT_MODEL |
base |
STT model size |
LLM_PROVIDER |
ollama |
LLM provider |
LLM_MODEL |
llama2 |
LLM model name |
TTS_PROVIDER |
piper |
Text-to-speech provider |
TTS_VOICE |
en_US-lessac |
TTS voice |
TWILIO_SID |
— | Twilio account SID |
TWILIO_TOKEN |
— | Twilio auth token |
PORT |
8080 |
API port |
Phone Call ──▶ VoiceCortex ──▶ STT ──▶ LLM ──▶ TTS ──▶ Phone Response
│
├──▶ faster-whisper
├──▶ Ollama/OpenAI
├──▶ Piper
└──▶ Call Logger
VoiceCortex/
├── voicecortex.py # Main entry point
├── pipeline/
│ ├── __init__.py
│ ├── stt.py # Speech-to-text
│ ├── llm.py # Language model
│ ├── tts.py # Text-to-speech
│ └── phone.py # Phone integration
├── providers/
│ ├── twilio.py # Twilio integration
│ ├── asterisk.py # Asterisk integration
│ └── sip.py # SIP protocol
├── docker-compose.yml # Docker deployment
├── requirements.txt # Python dependencies
└── README.md
Contributions are welcome. Please see CONTRIBUTING.md for guidelines and CODE_OF_CONDUCT.md for community standards.
For security concerns, see SECURITY.md. Please report vulnerabilities to info@jorahone.com — do not use public issues.
MIT © Jhonattan L. Jimenez
See CONTRIBUTING.md. All contributions follow the Code of Conduct.
Found a vulnerability? Please follow our Security Policy and report privately to security@jorahone.com.
MIT License © Jhonattan L. Jimenez (OneByJorah)
Built with 🌴 by OneByJorah · jorahone.com
