How prajjwal5655-coder/omni-ai-2 works
Nova is a browser-based real-time voice assistant. A user opens the web client, requests a LiveKit room token from the aiohttp server, and connects to LiveKit; the agent joins that room to handle speech, conversation, and spoken responses. The client also supports text chat, captions, transcript display, microphone controls, and audio visualization. The tree lists static assets as root files, while the README documents them under static/; paths below follow the supplied tree. External AI providers are documented but their runtime internals are not shown.
Main entry points: app.js Voice client · agent.py Voice session · server.py HTTP server · index.html Assistant interface
Components 18
Web client
- Voice client
app.js - Assistant interface
index.html - Visual design
style.css - Audio visualizer
app.js - Captions and transcript
app.js
Web backend
- HTTP server
server.py - Token generation
server.py
Voice agent
- Agent worker
agent.py - Voice session
agent.py - Nova assistant
agent.py - Speech recognition
agent.py - Language model
agent.py - Speech synthesis
agent.py
Other components
- User
- LiveKit service
- Deepgram
- OpenAI
- Cartesia
Connections 23
- User → Voice client: uses
README.md - Voice client → Assistant interface: renders
- Assistant interface → Visual design: uses styles
- Voice client → HTTP server: requests status
- Voice client → Token generation: requests token
app.js - HTTP server → Token generation: routes to
server.py - HTTP server → Assistant interface: serves
server.py - Token generation → LiveKit service: signs room grant
server.py - Voice client → LiveKit service: connects and publishes
app.js - LiveKit service → Agent worker: dispatches room job
README.md - Agent worker → Voice session: starts
agent.py - Voice session → Nova assistant: runs
agent.py - Voice session → Speech recognition: configures
agent.py - Voice session → Language model: configures
agent.py - Voice session → Speech synthesis: configures
agent.py - Speech recognition → Deepgram: uses
agent.py - Language model → OpenAI: uses
agent.py - Speech synthesis → Cartesia: uses
agent.py - Voice client → Captions and transcript: updates
app.js - Voice client → Audio visualizer: sets up
app.js - LiveKit service → Voice client: delivers transcription and audio
app.js - Voice client → LiveKit service: publishes chat data
app.js - LiveKit service → Voice session: delivers chat data
agent.py