LowLa is a low-latency voice assistant and tool-calling framework built for Santa Clara University's Hack for Humanity 2026. The app lets users speak commands, semantically match them against stored functions, and generate new tool definitions when no existing command is found.
- Records voice input from the desktop app
- Transcribes speech locally using Whisper
- Searches stored tool/function definitions with ChromaDB semantic matching
- Uses Gemini to generate new function descriptors for unmatched commands
- Provides an Electron + React interface for managing and testing voice-triggered tools
- Frontend: React, TypeScript, Vite, Material UI
- Desktop: Electron
- AI / ML: Gemini API, faster-whisper
- Vector Search: ChromaDB
- Backend Runtime: Node.js IPC + Python worker process
VoiceAssistantApp/
├── electron/ # Electron main process, IPC handlers, ChromaDB + LLM services
├── src/ # React UI, audio recording, function management
├── python/ # Whisper transcription worker
└── package.json # App scripts and dependencies
cd VoiceAssistantApp
npm installActivate your Python environment, then run:
chroma run --host 127.0.0.1 --port 8000 --path ./chroma-datanpm run devEnd database
lsof -i :8000
kill {PID}
- Audio is captured in the React renderer and encoded as 16kHz mono WAV.
- Electron sends audio to a persistent Python worker for transcription.
- ChromaDB stores function descriptors and performs semantic search over voice commands.
- Gemini generates structured function definitions when a command does not match an existing tool.
- The UI supports creating, listing, searching, and deleting voice-callable functions.
This project explores how voice assistants can move beyond fixed command sets by learning and generating new tool definitions from natural language. It combines desktop app development, speech-to-text, vector search, and LLM-based tool generation into one end-to-end prototype.