How prajjwal5655-coder/omnimain works
OmniLearn AI is a browser-based STEM tutoring and accessibility workspace. A student opens the workspace, obtains LiveKit room credentials through the token API, and connects over WebRTC; the AI agent provides conversational tutoring while the browser presents voice/chat, whiteboard, code, and notes experiences. The README identifies OpenAI, Deepgram, and Cartesia as the agent’s AI services. Agent internals and the detailed wiring of several features were not sampled, so those relationships are shown only where documented, without inferring implementation details.
Main entry points: agent.py Voice Agent Worker · app.js OmniLearn Workspace · index.py Room Token API · server.py Web Server
Components 13
Student Workspace
- OmniLearn Workspace
static/app.js - Voice and Chat
static/app.js - AI Whiteboard
static/app.js - Code Studio
static/app.js - Lecture Notes
static/app.js
Session Connection
- Room Token API
api/index.py - Web Server
server.py - LiveKit Cloud
AI Tutoring
- Voice Agent Worker
agent.py - OpenAI GPT-4.1-mini
- Deepgram Nova-3
- Cartesia Sonic-3
Other components
- Student
Connections 20
- Student → OmniLearn Workspace: uses
README.md - OmniLearn Workspace → Web Server: requests workspace
- Web Server → Room Token API: serves token API
- OmniLearn Workspace → Room Token API: requests room token
- Room Token API → LiveKit Cloud: signs room access
api/index.py - OmniLearn Workspace → LiveKit Cloud: joins WebRTC room
README.md - Voice Agent Worker → LiveKit Cloud: connects worker
README.md - Student → Voice and Chat: speaks or types
README.md - Voice and Chat → LiveKit Cloud: sends interaction
- LiveKit Cloud → Voice Agent Worker: routes session
- Voice Agent Worker → OpenAI GPT-4.1-mini: requests tutoring
README.md - Voice Agent Worker → Deepgram Nova-3: transcribes speech
README.md - Voice Agent Worker → Cartesia Sonic-3: synthesizes speech
README.md - LiveKit Cloud → Voice and Chat: returns live audio
- Student → AI Whiteboard: draws problems
README.md - AI Whiteboard → Voice Agent Worker: submits drawing
- Voice Agent Worker → AI Whiteboard: draws solutions
README.md - Student → Code Studio: edits code
README.md - Student → Lecture Notes: reviews lecture notes
README.md - Voice Agent Worker → Lecture Notes: extracts key points
README.md