{"repo":"m15-ai/TrooperAI","free":true,"listed":false,"github":"https://github.com/m15-ai/TrooperAI","clone":"git clone https://github.com/m15-ai/TrooperAI.git","description":"Conversational AI, local, low-latency voice assistant for Raspberry Pi 5 with LED, gesture control, and streaming LLM replies.","language":"Python","stars":30,"topics":["local-ai","offline-ai","ollama","piper-tts","raspberry-pi","speech-recognition","stormtrooper","text-to-speech","voice-assistant","vosk"],"license":null,"category":"ai-agents","readme_excerpt":"TrooperAI: Local Conversational AI for Raspberry Pi5 The TrooperAI project was a test to see if I could build a low-latency, local (non-networked) voice assistant in Python for the Raspberry Pi. The system combines real-time speech recognition, LLM-based dialog, and high-quality TTS into a reactive system running on Raspberry Pi5. The final device is housed in a Game 5 Pi retro arcade case. The AdaFruit arcade style LED button was integrated to provide feedback and control. USB ports are used for the camera/mic array (Playstation Eye) and speaker audio out. A USB flash drive is used for headless configuration. This ultimate plan is to integrate TrooperAI into a life-size Stormtrooper to bring him to life. Conclusion The project was a success. The streaming architecture was capable of providing low enough latency to make possible a reasonable conversation with TrooperAI. The Gemma3:1b and Qwen2.5:0.5b models provided acceptable performance. The Gemma3 model was able to provide a more direct, authoritarian persona, while Qwen2.5 was faster, but generally provided a more friendly interaction. The programmable System Message is key in tuning your desired personality. I decided on Vosk for STT, although I did extensive testing with faster-whisper. Piper gave excellent performance for TTS, and many voices are available. Features - Fully integrated into headless Raspberry Pi5-8Gb - No reliance on remote API calls or cloud providers - WebSocket client/server architecture with full-du","default_branch":null,"files":null,"tree":[],"storefront":"/r/m15-ai","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/m15-ai/TrooperAI/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}