A minimal on-device voice agent running entirely locally on Windows, Linux, and macOS.
Based on Voice Loop by Trelis Research, with significant optimizations by CogniHuman.
π New to VoiceLoop-X? Start with docs/README.md for complete documentation index, or see PROJECT_OVERVIEW.md for research context.
| Metric | Trelis Original | VoiceLoop-X | Improvement | Status |
|---|---|---|---|---|
| Platform Support | macOS only | Windows, Linux, macOS | +200% | β Verified |
| Smart Turn Latency | ~80ms | ~42ms | -48% | β Measured |
| AEC Allocations/sec | ~160 | ~2-5 | -97% | β Measured |
| LLM Latency (CPU) | N/A | 1.7 tokens/sec | Baseline | π¨ Research |
| Memory Usage | 3.5GB | 3.5GB | 0% | π¨ To optimize |
# Clone repository
git clone https://github.com/cognihuman/voice-loop-x.git
cd voice-loop-x
# Install dependencies
pip install -r requirements.txt
# Run (first run downloads models ~3.5GB)
python voice_loop.py
# List audio devices
python voice_loop.py --list-devices
# Use specific devices
python voice_loop.py --mic-device 1 --speaker-device 3
VoiceLoop-X now includes comprehensive performance tracking:
# During conversation, you'll see:
[TTFA: 720ms] # Time from speech end to first audio
[turn prob: 0.87, 42ms] # Smart Turn confidence and latency
# On exit, performance summary:
Performance Summary:
Smart Turn avg latency: 45ms (n=12)
Smart Turn min/max: 38ms / 58ms
See docs/README.md for complete documentation index organized by:
np.multiply(..., out=buffer)3 commits
Python
100.0%
A minimal on-device voice agent running entirely locally on Windows, Linux, and macOS.
Based on Voice Loop by Trelis Research, with significant optimizations by CogniHuman.
π New to VoiceLoop-X? Start with docs/README.md for complete documentation index, or see PROJECT_OVERVIEW.md for research context.
| Metric | Trelis Original | VoiceLoop-X | Improvement | Status |
|---|---|---|---|---|
| Platform Support | macOS only | Windows, Linux, macOS | +200% | β Verified |
| Smart Turn Latency | ~80ms | ~42ms | -48% | β Measured |
| AEC Allocations/sec | ~160 | ~2-5 | -97% | β Measured |
| LLM Latency (CPU) | N/A | 1.7 tokens/sec | Baseline | π¨ Research |
| Memory Usage | 3.5GB | 3.5GB | 0% | π¨ To optimize |
# Clone repository
git clone https://github.com/cognihuman/voice-loop-x.git
cd voice-loop-x
# Install dependencies
pip install -r requirements.txt
# Run (first run downloads models ~3.5GB)
python voice_loop.py
# List audio devices
python voice_loop.py --list-devices
# Use specific devices
python voice_loop.py --mic-device 1 --speaker-device 3
VoiceLoop-X now includes comprehensive performance tracking:
# During conversation, you'll see:
[TTFA: 720ms] # Time from speech end to first audio
[turn prob: 0.87, 42ms] # Smart Turn confidence and latency
# On exit, performance summary:
Performance Summary:
Smart Turn avg latency: 45ms (n=12)
Smart Turn min/max: 38ms / 58ms
See docs/README.md for complete documentation index organized by:
np.multiply(..., out=buffer)3 commits
Python
100.0%