How yashrawate/trial works
AdmitAI combines an admissions CRM with Priya, a multilingual voice-calling agent. The principal workflow is a prospective student’s call: speech is processed into a response, admission details and visit preferences are collected, and call information is synchronized to CRM views. The repository also includes broader CRM capabilities for leads, applications, marketing, competitive intelligence, analytics, and reporting. Evidence is uneven: README relationships and sampled imports support the main connections; unsampled subsystems are represented by their exact enclosing directories without speculative internal links.
Main entry points: agent.py Priya voice agent · App.jsx CRM dashboard · server.js Backend API · pages CRM views
Components 24
CRM experience
- CRM dashboard
crm/frontend/src/App.jsx - CRM views
crm/frontend/src/pages - Client state
crm/frontend/src/store/useStore.js - CRM API client
crm/frontend/src/lib/crmApi.js - Priya API client
crm/frontend/src/lib/priyaApi.js
CRM backend
- Backend API
crm/backend/server.js - Unified CRM routes
crm/backend/routes/unifiedCrm.js - Call webhook
crm/backend/routes/priyaWebhook.js - MongoDB
crm/backend/config/db.js
Voice runtime
- Priya voice agent
crm/priya-livekit/agent.py - Twilio and LiveKit
- Audio and interruption
crm/priya-livekit/priya/audio/acoustic_pipeline.py - Speech services
crm/backend/services/sarvam.js
Conversation intelligence
- Session management
crm/priya-livekit/session_manager.py - Context and memory
crm/priya-livekit/priya/memory/context_engine.py - Language handling
crm/priya-livekit/language_handler.py - LLM and call flow
crm/backend/services/groqService.js
Knowledge and analytics
- University knowledge
crm/priya-livekit/university_data.py - Retrieval and vectors
crm/backend/services/ragStore.js - Admission workflows
crm/backend/routes/studentRegistrations.js - Marketing workflows
crm/backend/routes/marketing.js - Competitive intelligence
crm/backend/routes/competitive.js - Analytics and reports
crm/backend/routes/analytics.js
Other components
- Prospective student
Connections 25
- Prospective student → Twilio and LiveKit: calls
README.md - Twilio and LiveKit → Priya voice agent: streams audio
README.md - Priya voice agent → Speech services: uses speech
README.md - Priya voice agent → LLM and call flow: reasons with
- Priya voice agent → University knowledge: consults facts
README.md - Priya voice agent → Session management: manages sessions
- Priya voice agent → Audio and interruption: processes audio
- Priya voice agent → Language handling: handles languages
README.md - Session management → Context and memory: tracks context
- LLM and call flow → Retrieval and vectors: retrieves context
crm/backend/services/groqService.js - CRM dashboard → CRM views: routes users
crm/frontend/src/App.jsx - CRM views → Client state: reads state
crm/frontend/src/pages/Analytics/index.jsx - Client state → Priya API client: loads calls
crm/frontend/src/store/useStore.js - CRM dashboard → CRM API client: uses CRM API
- CRM API client → Backend API: REST requests
README.md - Priya API client → Backend API: dashboard sync
README.md - Backend API → Unified CRM routes: mounts routes
crm/backend/server.js - Backend API → Call webhook: mounts webhook
crm/backend/server.js - Call webhook → Priya voice agent: receives call data
README.md - Backend API → MongoDB: connects database
crm/backend/server.js - Unified CRM routes → MongoDB: persists CRM data
- CRM dashboard → Admission workflows: manages admissions
- CRM dashboard → Marketing workflows: manages campaigns
- CRM dashboard → Competitive intelligence: views competitors
- CRM dashboard → Analytics and reports: views reporting