The open platform for voice agents on real devices.
Build and tune the voice pipeline, configure agents with knowledge and models, bind them to hardware, and operate sessions in the cloud, local network, or on-device.
OpenDot is in an early prototype phase. The current implementation focuses on the first complete local loop:
- Create an agent identity in the platform UI.
- Configure the default Sandwich pipeline: VAD, STT, LLM, and TTS.
- Optionally switch the agent to Speech-to-speech for browser WebRTC testing or Dot device turns with OpenAI Realtime.
- Test microphone turns in the browser against the local runtime.
- Pair a Dot device and bind the selected voice configuration.
The starter pipeline currently uses Deepgram and OpenAI-compatible services:
Deepgram VAD -> Deepgram STT -> OpenAI-compatible LLM -> Deepgram TTS
The runtime keeps the Sandwich path structured around replaceable stages. For
Speech-to-speech agents, Browser Test uses a short-lived OpenAI Realtime client
secret and native WebRTC, while bound Dot devices keep the same /ws firmware
path and let the runtime bridge device Opus audio to OpenAI Realtime.
OpenDot needs contributors across the full voice-agent stack: pipeline stages, agent harnesses, control-plane UX, backend data contracts, realtime media, device communication, hardware, firmware, docs, and tooling. The canonical contributor map lives in the docs.
The project loop is:
build -> tune -> bind -> run -> review
Good first contributions usually improve one track and one reviewable outcome. Start with Contribution areas, then use Contributing for PR expectations and Roadmap for the current, next, and later priorities.
Run the full local platform with Docker Compose:
cp .env.example .env
docker compose up --buildAdd provider keys to the root .env before testing live voice sessions.
Open:
http://localhost:5173
The Compose stack starts PostgreSQL, applies migrations, serves the web console,
and exposes the voice runtime on http://localhost:8787. The web console now
opens on the auth page; create a local email/password account to enter the
workspace.
The platform database is Supabase-compatible without requiring Supabase locally:
OpenDot keeps product identity and core data in app_users,
local_auth_credentials, user_preferences, SDK API keys, versioned agents and
pipelines, devices, device activation requests, device credentials, runtime
session tokens, device state, and deployments. When Supabase Auth is
configured, auth.users.id maps to app_users.id; otherwise Compose uses
OpenDot's local password auth. The local schema stays focused on the product
surfaces that are active today.
Inspect the local database with Drizzle Studio:
pnpm --filter ./platform run db:studioThen open https://local.drizzle.studio. For the Compose database, make sure
postgres is running first with docker compose up -d postgres migrate.
For fast frontend/runtime development against a local or hosted Postgres:
corepack enable
corepack prepare pnpm@11.1.3 --activate
pnpm install
pnpm --filter ./platform run db:migrateFor Supabase Postgres, set POSTGRES_URI to the Supabase connection string and
POSTGRES_SSL=true. Set SUPABASE_URL so the API can verify Supabase Bearer
tokens through JWKS; add SUPABASE_JWT_SECRET only for legacy HS256 projects.
Leave OPENDOT_LOCAL_AUTH_DISABLED=false for local email/password auth.
Then start the API and web console in separate terminals:
# Terminal 1
pnpm run api
# Terminal 2
pnpm run devOpen the Vite URL printed in the terminal. It is usually:
http://localhost:5173
Start the realtime voice runtime in another terminal:
pnpm run runtimeAdd provider keys to the root .env before testing live voice sessions:
DEEPGRAM_API_KEY=...
OPENAI_API_KEY=...
OPENAI_BASE_URL=
OPENAI_MODEL=gpt-5-mini
OPENAI_MAX_OUTPUT_TOKENS=512
OPENAI_REASONING_EFFORT=low
OPENAI_VERBOSITY=lowThen open the platform, create an identity, review the Configuration page, and
connect from Browser Test. Sandwich agents use the local runtime WebSocket
and the VAD -> STT -> LLM -> TTS path. Speech-to-speech agents use the platform
API and runtime to mint an ephemeral OpenAI Realtime client secret via
POST /api/runtime/realtime-browser-sessions and /realtime/client-secret,
then connect from the browser with native WebRTC. Bound Dot devices use the
same saved Speech-to-speech config through the runtime /ws bridge, with
OPENAI_API_KEY staying inside the runtime. Leave OPENAI_BASE_URL blank for
the Sandwich OpenAI-compatible LLM stage, or set it to an OpenAI-compatible
provider base URL; the selected LLM Provider API determines whether the
Sandwich runtime calls /responses or /chat/completions.
The repository includes a root render.yaml Blueprint for a Render deployment
backed by Supabase Postgres:
opendot-web: static Vite build.opendot-api: Docker web service with pre-deploy migrations.opendot-runtime: Docker web service for realtime voice sessions.
Create a Render Blueprint from the repository root and fill the sync: false
values in the Render dashboard. Use the Supabase connection string for
POSTGRES_URI, set POSTGRES_SSL=true, and set the public frontend build
values to the deployed service URLs:
POSTGRES_URI=<supabase postgres connection string>
SUPABASE_URL=https://<project-ref>.supabase.co
SUPABASE_JWT_SECRET=
VITE_SUPABASE_URL=https://<project-ref>.supabase.co
VITE_SUPABASE_ANON_KEY=<supabase anon key>
DEEPGRAM_API_KEY=...
OPENAI_API_KEY=...
OPENAI_BASE_URL=
OPENAI_MODEL=gpt-5-mini
OPENAI_MAX_OUTPUT_TOKENS=512
OPENAI_REASONING_EFFORT=low
OPENAI_VERBOSITY=low
VITE_PLATFORM_API_URL=https://<opendot-api>.onrender.com/api
VITE_RUNTIME_HTTP_URL=https://<opendot-runtime>.onrender.com
VITE_RUNTIME_WS_URL=wss://<opendot-runtime>.onrender.com/voice
OPENDOT_RUNTIME_INTERNAL_SECRET=<shared api/runtime secret>
OPENDOT_RUNTIME_PUBLIC_HTTP_URL=https://<opendot-runtime>.onrender.com
OPENDOT_RUNTIME_PUBLIC_WS_URL=wss://<opendot-runtime>.onrender.com/voice
PLATFORM_API_INTERNAL_URL=https://<opendot-api>.onrender.com/api
The Render Blueprint is auth-gated: PLATFORM_AUTH_REQUIRED=true and
OPENDOT_LOCAL_AUTH_DISABLED=true. For password signup without email
verification, disable email confirmations in the Supabase Auth settings for the
preview project.
The runtime now verifies browser voice-session tokens, realtime browser-session
tokens, and device credentials with the platform API before accepting /voice,
/realtime/client-secret, or /ws flows. Keep
OPENDOT_RUNTIME_INTERNAL_SECRET identical on the API and runtime services.
From the repository root:
| Command | Purpose |
|---|---|
pnpm install |
Install workspace dependencies. |
pnpm run api |
Start the Postgres-backed platform API. |
pnpm --filter ./platform run db:migrate |
Apply local database migrations. |
pnpm --filter ./platform run db:studio |
Browse the Drizzle/Postgres schema and data. |
pnpm run dev |
Start the Vite web console. |
pnpm run runtime |
Start the local realtime voice runtime. |
pnpm run lint |
Run platform lint checks. |
pnpm run test |
Run platform unit tests. |
pnpm run build |
Type-check and build the web app. |
pnpm --filter ./platform run preview |
Preview the built web app. |
The docs site lives in docs/ and is built with Mintlify.
Run the local docs preview from the docs folder:
cd docs
mint devThe Dot device firmware lives in dot-device/firmware/. It targets the Waveshare ESP32-S3-AUDIO-Board and uses ESP-IDF.
Current firmware capabilities include:
- Wi-Fi provisioning
- Wake-word flow
- Display support through LVGL
- Dual microphone input and speaker output
- WebSocket connection to the local OpenDot runtime
- Runtime activation through the local OTA/config endpoint
See dot-device/firmware/README.md for board setup, flashing, provisioning, and debugging notes.
OpenDot is moving toward an open, provider-pluggable platform for voice agents on real devices. The roadmap is organized by maturity:
- Current: make the local browser, runtime, provider, and Dot device loop reliable.
- Next: modularize providers, agents, runtime events, backend contracts, and device diagnostics.
- Later: open paths for local models, SFU-style media, MQTT-style device communication, open Dot hardware, and exploratory edge inference.
See ROADMAP.md for the concise root roadmap and docs/roadmap.mdx for the canonical docs roadmap.
OpenDot is being built as a serious open source infrastructure project. Contributions are welcome across voice pipeline, agents, platform control plane, backend/data, media transport, device communication, hardware, firmware, docs, and tooling.
Start with CONTRIBUTING.md before opening a pull request and use docs/contribution-areas.mdx to choose a track.
Please do not report security vulnerabilities through public issues. See SECURITY.md for the responsible disclosure process.
OpenDot is licensed under the GNU Affero General Public License v3.0.
The firmware under dot-device/firmware includes MIT-licensed upstream work from the xiaozhi firmware project. See NOTICE and dot-device/firmware/LICENSE.xiaozhi.
