- Local desktop application with main UI and floating window
- Optional: runs local Whisper for speech-to-text conversion
- Sends ALL requests to Vercel
/api/...endpoints - Never calls OpenAI directly
- Hosted on Vercel
- Uses the same Vercel API
/api/...endpoints as the Electron client
-
Backend API Proxy:
- Provides
/api/chat,/api/speech,/api/usageendpoints - Forwards requests to OpenAI and streams responses
- Hides OpenAI API key from clients
- Checks plan/usage limits
- Provides
-
Frontend Hosting:
- Hosts the Website frontend
- Only Vercel communicates with OpenAI
- Clients never directly access OpenAI APIs
- Used ONLY for building Electron, tools, and managing dependencies
- Not part of runtime architecture
- Bazel targets are kept simple and minimal