How kkrishhhh/vericall works
Vantage AI is a video-based loan-origination system: a customer starts a video-KYC session, completes a multilingual interview and identity/document checks, then receives a risk-based decision and offer. The FastAPI backend coordinates specialized agents; the frontend provides the call and admin experiences. README capabilities fill in several agent responsibilities, but sampled backend excerpts are partial, so uncertain module wiring is omitted.
Main entry points: main.py FastAPI endpoints · orchestrator.py Agent orchestrator · page.tsx Live KYC call · decision_agent.py Decision agent
Components 25
Customer experience
- Video KYC entry
frontend/src/app/page.tsx - Live KYC call
frontend/src/app/call/page.tsx - Speech recognition
frontend/src/lib/sttService.ts - Admin portal
frontend/src/app/admin/page.tsx
Agent workflow
- FastAPI endpoints
backend/main.py - Agent orchestrator
backend/agents/orchestrator.py - Interview agent
backend/agents/interview_agent.py
Verification and decisions
- KYC agent
backend/agents/kyc_agent.py - Document agent
backend/agents/document_agent.py - OCR extraction
backend/extraction.py - Face and liveness
backend/vision.py - Fraud checks
backend/fraud.py - Decision agent
backend/agents/decision_agent.py - Risk scoring
backend/services/risk_engine.py - Loan offer
backend/offer.py - RBI policy RAG
backend/agents/rag_agent.py
Review and records
- Human review queue
backend/services/human_review_queue.py - Analytics
backend/services/analytics.py - Consent records
backend/services/consent_manager.py - Audit session log
backend/session_log.py
Other components
- Customer
- Review officer
- Deepgram STT
- Daily video rooms
- SQLite audit store
Connections 26
- Customer → Video KYC entry: starts application
- Video KYC entry → Live KYC call: requests video KYC
- Customer → Live KYC call: joins and responds
- Live KYC call → FastAPI endpoints: submits session actions
- Live KYC call → Speech recognition: streams microphone audio
- Speech recognition → Deepgram STT: sends audio
- Live KYC call → Daily video rooms: connects video room
- FastAPI endpoints → Agent orchestrator: delegates session action
- Agent orchestrator → Interview agent: dispatches interview
- Agent orchestrator → KYC agent: dispatches identity checks
- Agent orchestrator → Document agent: dispatches document checks
- Agent orchestrator → Decision agent: dispatches decision
- Document agent → OCR extraction: extracts document fields
- KYC agent → Face and liveness: checks face and liveness
- KYC agent → Fraud checks: checks fraud signals
- Decision agent → Risk scoring: scores application risk
- Decision agent → Loan offer: generates offer
- Decision agent → RBI policy RAG: retrieves policy citations
- FastAPI endpoints → Consent records: records consent
- FastAPI endpoints → Audit session log: persists session
- Consent records → SQLite audit store: writes consent records
- Audit session log → SQLite audit store: writes audit sessions
- FastAPI endpoints → Human review queue: escalates flagged cases
- Review officer → Admin portal: reviews cases
- Admin portal → FastAPI endpoints: requests review and analytics
- FastAPI endpoints → Analytics: serves analytics