Voxray-AI: Production Go Backend for Real-Time Voice Agent Pipelines

Production Voice Agent Pipeline in Go
Voxray-AI provides a complete streaming pipeline in Go that handles client audio through WebSocket or WebRTC, processes it through STT → LLM → TTS, and returns audio output. The system is designed for production-grade servers and high-concurrency voice workloads.
Transport Options
The system supports multiple transport mechanisms:
- WebSocket at
/wswith RTVI serializer (?rtvi=1) and Protobuf (?format=protobuf) support - WebRTC at
/webrtc/offerwith full SDP offer/answer, configurable STUN/TURN, and Opus encoding (requires CGO build) - Telephony runner transports: Twilio, Telnyx, Plivo, Exotel, LiveKit, Daily.co
Pluggable Providers
All components are swappable via configuration:
- STT providers: OpenAI, Groq, Sarvam, Google, AWS
- LLM providers: OpenAI, Anthropic, Groq, others
- TTS providers: OpenAI, Google, AWS Polly, Sarvam
Configuration Examples
Minimal configuration example:
{"transport": "both", "stt": { "provider": "groq", "model": "whisper-large-v3" }, "llm": { "provider": "anthropic", "model": "claude-3-5-haiku" }, "tts": { "provider": "google", "voice": "en-US-Neural2-F" }}Turn-taking and voice activity detection configuration:
{"turn_detection": "silence", "vad_type": "silero", "vad_confidence": 0.7, "vad_start_secs_vad": 0.2, "vad_stop_secs": 0.8, "turn_max_duration_secs": 30, "user_idle_timeout_secs": 60}Observability & Storage
/metricsendpoint for Prometheus (request counts, latency histograms, active connection gauges)- Recording: Full session audio to S3 with configurable worker pool and format
- Transcripts: Per-message storage to Postgres or MySQL with configurable table
/healthand/readyendpoints with optional Redis session store check on/ready
Security Features
server_api_keygates/ws,/webrtc/offer,/start,/sessions/*viaAuthorization: BearerorX-API-Key- CORS allowlist configuration
- TLS cert/key configuration
- 12-factor style: JSON config + environment variable overrides
This type of backend is useful for developers building real-time voice applications that need to integrate multiple AI services with production-ready infrastructure.
📖 Read the full source: r/LocalLLaMA
👀 See Also

Microsoft DebugMCP VS Code Extension Gives AI Agents Debugging Capabilities
Microsoft DebugMCP is a VS Code extension that exposes the full VS Code debugger to AI coding agents via the Model Context Protocol (MCP), enabling them to set breakpoints, step through code, inspect variables, and evaluate expressions.

Mastering Antropic Subscription Modes: Haiku, Sonnet, and Opus
Explore Antropic's innovative subscription modes—Haiku, Sonnet, and Opus—designed to enhance your AI coding experience with tailored features and pricing.

Open Source GTM Plugin for Claude Code with 166 Marketing Skills and Bootstrap Command
A developer has released an open source Go-To-Market plugin for Claude Code that provides 166 specialized marketing skills across SEO, content, outbound, sales, growth, analytics, strategy, ads, social, CRM, and AI search. The plugin includes a /bootstrap command that interviews users about their brand to generate personalized context files.

Auto-optimize: A Claude Code Plugin for Autonomous Performance Optimization
A developer built auto-optimize, a Claude Code plugin that autonomously runs profile → plan → benchmark loops to optimize code performance. In one test, it achieved a 27% faster hash table across all benchmark scenarios in about 3 hours.