Built at IIFL Samasta

VerifAI

AI-Powered KYC Document Verification System

AI Document Intelligence | KYC / Fraud Risk Control

7 Technologies·6 Key Features·2026·medium complexity

Overview

VerifAI is a high-assurance KYC document verification platform built to automate authenticity checks on uploaded identity documents (images and PDFs). The system is engineered around a single hard principle: false positives are unacceptable. The entire pipeline is designed to downgrade aggressively when evidence is incomplete, unclear, or tampered. VerifAI performs document-side detection, fraud classification, confidence scoring, text extraction with translation, and structured verification checks – and produces full audit logs and exportable reports (PDF/CSV/JSON) for compliance workflows.

Key Features

AI Verification with Strict Safety Guardrails

Non-negotiable rules: no assumptions of authenticity, no inference of missing details, downgrade if evidence insufficient.

Document Side Identification

Classifies FRONT (primary identifiers, photo) vs BACK (address, barcode) vs UNKNOWN.

Multi-Class Outcome System

Categories: LEGIT, SUSPICIOUS, PHOTOCOPY, FORMAT_INVALID, FRAUD, DAMAGED.

Text Extraction + Translation

Returns extracted_text, detected_language, translated_text (English).

Full Report Generation

Per-request PDF reports, aggregate summary tables, verification history.

RBAC (Admin / User)

Admin: full access. User: verify and view own results only.

Technology Stack

Algorithms & Methods

AI Inference (Gemini JSON Contract)

base64 image → Gemini model → strict JSON with classification + checks.

Retry and Backoff Strategy

Exponential backoff: RETRY_DELAY × 2^retry_count, max 3 retries.

Downgrade-First Decision Policy

LEGIT only with strong evidence; insufficient evidence → automatic downgrade.

System Architecture

Auth + RBAC

User validation, role detection, role-based route restrictions

Upload Module

Multi-file base64 dataURI ingestion, storage

Analysis Module

Runs Gemini verification per uploaded file

Report Generation

Detailed per-document PDF with summary

Export Module

Per-result export as PDF / CSV / JSON

Admin Module

Admin-only access to all results and uploads

Results & Outcomes

  • Production-ready KYC verification pipeline deployed at IIFL Samasta
  • Multi-class fraud classification with downgrade-first safety policy
  • Full audit trail (CSV + JSON logs) for compliance review
  • Thread-safe concurrent processing with retry reliability

Related Projects