Veritas ID
Veritas ID: Autonomous Multi-Agent Onboarding Platform TrustFlow AI is an end-to-end, fully autonomous Know Your Customer (KYC) system designed to onboard users in seconds while maintaining strict regulatory compliance.
Core trick
ML Kit tracks head movement, smiles, and blinks on-device for liveness; parallel agents run OCR, face match, and AML checks into a risk score.
Description
Veritas ID: Autonomous Multi-Agent Onboarding Platform
TrustFlow AI is an end-to-end, fully autonomous Know Your Customer (KYC) system designed to onboard users in seconds while maintaining strict regulatory compliance. It bridges the gap between a frictionless user experience and rigorous security by utilizing on-device machine learning and a backend powered by specialized AI agents.
Key Features:
Frictionless Mobile Frontend: Built with Flutter, the app provides a smooth onboarding flow for capturing government IDs and live selfies.
Real-time Liveness Detection: Integrates on-device ML Kit to run real-time facial liveness checks (tracking head movement, smiles, and blinks) to prevent spoofing and presentation attacks instantly.
Multi-Agent AI Orchestration: The FastAPI backend operates an autonomous event-driven architecture using multiple specialized AI agents:
- OCR Agent: Extracts and parses data from government IDs using Google Gemini Vision.
- FaceMatch Agent: Compares the verified selfie against the ID photo to confirm identity.
- Compliance Agents: Concurrently run Anti-Money Laundering (AML), Sanctions, and Politically Exposed Persons (PEP) checks.
- Risk Assessment Agent: Aggregates the findings of all agents into a unified risk score.
Automated Decision Engine: Automatically approves low-risk users in seconds, while flagging complex or borderline profiles to a dedicated Branch Manager Dashboard for manual human-in-the-loop review.
Technology Stack:
- Frontend: Flutter, Dart, Google ML Kit
- Backend: Python, FastAPI, Event-driven architecture
- AI Models: Google Gemini 3.5 Flash (Vision & Analysis)
The Problem it Solves:
Traditional KYC processes in fintech and banking are slow, expensive, and require massive manual compliance teams, often leading to user drop-off. TrustFlow AI solves this by automating the heavy lifting of identity verification and compliance checks, allowing institutions to scale their user base securely without scaling their headcount.
README excerpt
# KYC Flow AI An end-to-end autonomous AI Know Your Customer (KYC) system featuring a Flutter mobile frontend for capturing user data and a FastAPI backend powered by specialized AI agents. ## Features - **Frontend (Flutter)**: - Customer onboarding flow with ID upload and live selfie capture. - On-device ML Kit integration for real-time facial liveness checks (head tracking, smile detection). - Branch manager dashboard for manual reviews. - **Backend (FastAPI)**: - Agentic workflow orchestration. - **OCRAgent**: Extracts details from government IDs using Google Gemini Vision. - **SelfieAgent**: Verifies single face presence in selfies. - **FaceMatchAgent**: Compares ID face against selfie. - **Compliance Agents**: Runs AML, Sanctions, and PEP checks. - **RiskAssessmentAgent**: Aggregates risk scores. - **DecisionAgent**: Makes automated approve/reject decisions or escalates for manual review. ## Setup Instructions ### Backend 1. Navigate to the `backend/` directory. 2. Create a virtual environment: `python -m venv venv` 3. Activate the environment: `source venv/bin/activate` 4. Install dependencies: `pip install -r requirements.txt` 5. Copy `.env.example` to `.env` and configure your API keys (e.g., `GEMINI_API_KEY`). 6. Run the server: `uvicorn app.main:app --port 8000 --reload` ### Frontend 1. Navigate to the `frontend/` directory. 2. Install dependencies: `flutter pub get` 3. Run the app: `flutter run`