Privacy-preserving local/cloud workspace coordination agent. Hackathon submission.
A voice-driven workspace agent that pairs a local on-device LLM (MLX) with cloud Gemini for tasks that need broader knowledge, while keeping sensitive context local by default.
What you're seeing: raw voice + transcript are captured and processed entirely on-device by Gemma 3n. A sanitizer strips PII and produces a tiny 4-field JSON payload. Only that payload crosses the wire to Gemini 3.5 Flash, which runs as a managed agent and orchestrates the real workspace tools (calendar, email, etc.) — all while the privileged source memo never leaves the local disk.
- Local LLM:
mlx-vlmfor on-device inference - Cloud: Google Gemini via
google-genai - Audio:
sounddevice+scipyfor capture - Server: FastAPI + SSE for streaming
- Workspace integrations: Google APIs (Calendar, Drive, etc.) via OAuth
python -m venv .venv && source .venv/bin/activate
pip install -e .
cp .env.example .env # then fill in keysRequired env vars (see .env.example):
GEMINI_API_KEYGOOGLE_OAUTH_CLIENT_SECRETS— path to OAuth client secret JSONDEFAULT_TIMEZONE
uvicorn src.main:app --reloadpytestsrc/— agent, audio, tools, FastAPI appsrc/workspace/— Google Workspace integrationstests/— unit testsimplementation_plan.md— design notes
