Skip to content

About

Battle-tested troubleshooting guides for voice assistant development with Rust, ESP32, LiveKit, Raspberry Pi, and Flutter

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Voice Agent Development Skills

Battle-tested troubleshooting guides and patterns from building a distributed voice assistant system with Rust, ESP32, Raspberry Pi, LiveKit, and Flutter.

Each skill documents real problems encountered, failed attempts, and verified solutions — not theoretical best practices.

Skills

Skill Topic Key Lessons
esp32-wifi ESP32 WiFi debugging CpuClock::max() is mandatory; esp-hal 1.0 API gotchas
esp32-firmware ESP32 no_std firmware Multi-board architecture, I2S DMA, GPIO register access
cross-compilation Rust cross-compile for ARM/x86 webrtc-sys GCC issues, Docker toolchains, rustls migration
livekit-deployment LiveKit public cloud deployment node_ip config, Docker Hub in China, WebRTC timeouts
echo-loop-prevention Audio echo loop fix Ring buffer drain, guard period, ai_speaking state machine
raspberry-pi-audio Pi 3B + USB audio devices XVF3800 USB speed, ALSA config, cpal device selection
vad-calibration Voice Activity Detection tuning Median calibration, configurable margin, adaptive thresholds
audio-pipeline STT/LLM/TTS pipeline patterns Resampling chains, streaming vs batch, latency optimization
cloud-deployment Alibaba Cloud ECS deployment cross-rs GCC bugs, systemd services, Docker image transfer
flutter-livekit Flutter LiveKit voice client Token flow, PTT/VAD modes, 3D orb UI architecture

How to Use

These skills are designed to be referenced when you encounter similar problems. Each follows the pattern:

  1. Symptom — what you observe
  2. Root Cause — why it happens
  3. Failed Attempts — what doesn't work (saves you time)
  4. Solution — the verified fix
  5. Prevention — how to avoid it next time

Tech Stack

  • Firmware: Rust no_std, esp-hal 1.0, esp-radio 0.17, smoltcp
  • Voice Client: Rust, cpal, LiveKit Rust SDK, tokio
  • Server: LiveKit, UserAgent (axum), token-server
  • Mobile: Flutter, livekit_client SDK
  • Hardware: ESP32-S3/C3/WROOM-32E, Raspberry Pi 3B, XVF3800 mic array, JieLi BR21 USB amp

About

Battle-tested troubleshooting guides for voice assistant development with Rust, ESP32, LiveKit, Raspberry Pi, and Flutter

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors