I built Luci, a Spanish-speaking voice assistant for Apple Silicon Macs. She listens for her name, responds when addressed and stays quiet during unrelated conversations. Named after a firefly, Luci is the software foundation for a future physical assistant shaped like a steampunk beetle; the hardware is still a future stage, not a finished feature.
Local voice, connected reasoning
The audio pipeline combines Silero VAD for voice detection, Whisper through MLX for local transcription and Piper or macOS voices for local speech synthesis. A language model accessed through OpenCode Go generates the response.
Audio is processed on the Mac, but Luci is not a fully offline assistant: text from requests and follow-up conversation is sent to the model provider. When tools are used, their results are also included in that request. Speech recognition and synthesis do not require uploading the audio.
Two interfaces, one service
A native SwiftUI menu bar app owns the microphone permission and runs the service. It provides quick mute controls and a settings window for choosing transcription models, voices and language models, with explicit model-download confirmation and progress.
The Textual terminal interface connects over a local socket to display the conversation, microphone level and current state. Closing the terminal UI does not stop the assistant. Users can start a conversation without saying her name, clear the current conversation or silence the microphone.
Tools and control
Luci can consult MCP servers, including Engram for persistent memory. Tool access is configurable, with read-only tools selected by default when a server is added. Because voice interactions do not offer an action-confirmation step, tool permissions are an important part of setup.
The project is distributed under GPL-3.0. It remains experimental: interruption currently relies on audio levels rather than full acoustic echo cancellation.
Stack
-
Python
-
Swift