Skip to content

ownerofglory/raspi-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

128 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Raspi agent (DIY voice assistance)

Raspi-Agent is a modular streaming voice assistant for Raspberry Pi with built-in wake-word detection, streaming audio, and LLM back-end support (on-device or off-device)

Quality Gate Status

Currently, in development ...

Planned Features

  • Wake word detection
  • Streaming audio playback
  • Natural conversation via OpenAI APIs
  • Device registration and certificate enrollment
  • Device-to-backend communication over mTLS
  • RAG integration
  • Agent memory
  • Web dashboard


Features

  • Wake Word Detection — powered by Porcupine
  • Streaming Audio Playback — real-time PCM or MP3 output via PortAudio
  • Natural Conversation — integrates with OpenAI (STT, LLM, TTS)
  • Dual Architecture — choose between:
    • Onboard mode — runs all AI calls directly from the Pi
    • Offboard mode — sends recordings to a backend for processing

Architecture Overview

Wake Word → Recorder → Voice Assistant → Player → User

Two orchestrator implementations:

Mode Description Example
Onboard Runs everything locally via OpenAI APIs (STT, LLM, TTS) cmd/raspi-agent-onboard-local
Offboard Streams recorded audio to a backend that processes it cmd/raspi-agent-onboard

About

DIY on-device voice assistant for Raspberry Pi: wake word, speech-to-text, LLM reasoning, and text-to-speech streaming via Bluetooth audio

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors