IamBishal
AIFeatured

Employee Background Verification

Background checks that run themselves. People make the calls.

The redevelopment of BGVTriaja, a multi-tenant background verification platform, with eight AI assistants that take over operators' routine work so the same team verifies more candidates, faster and more consistently.

BGVTriaja: the line 'Background checks that run themselves. People make the calls.' beside the operator console, with notices that a PAN check closed automatically and a relieving letter arrived on WhatsApp
Role
Architect and lead engineer
Status
Maintained
Type
Client platform · AI automation redevelopment

Overview

The problem it solves

BGVTriaja is a background verification service: employers send in new hires, and a team of operators checks their identity, education, employment, address, references and criminal records, then sends each client a report with a colour-coded verdict. I built the original platform as its sole engineer. It served about 40 corporate clients and 14 verification types, but most of the work was still manual. Operators read every document, typed the details in, emailed HR teams and universities, chased candidates for missing papers and wrote every summary by hand, at close to two hours of operator time per case.

The redevelopment rebuilt the platform and put AI automation at its centre. It is a Java and Spring Boot modular monolith on PostgreSQL, with an Angular console for operators and a mobile portal for candidates, HR teams and field vendors. One check engine covers 19 verification types, and a Work Engine turns events into tasks with SLA timers, so each operator starts the day from "My Day" instead of a spreadsheet.

The automation layer is eight AI assistants, each with one job. The Document Reader reads IDs, certificates, letters and payslips and compares every field with what the candidate typed. The Registry Checker queries official sources (PAN, DigiLocker, driving licence, passport, EPFO and CIBIL) with the candidate's consent. The Outreach Assistant sends secure forms to HR teams, universities and referees and reads their replies, even when they answer by plain email. The Records Analyst searches courts, police records and watch-lists and explains why a similar name is or isn't the candidate. The Address Verifier runs a phone-based address check with location and a live selfie. The Follow-up Assistant chases missing documents on WhatsApp, SMS and email. The Case Summariser proposes the case colour and writes the summary. The Quality Supervisor decides what may close automatically, samples closed checks and flags possible fraud.

The guardrails are what make this safe to run for a client whose reports decide whether someone gets a job. An assistant may close a check only when the result is clearly positive and comes from an official source. Anything negative, unclear or disputed goes to a person, with the evidence and a recommendation already prepared. The final case colour is always approved by a person, and a second person approves it before the report goes out. Each check type starts in shadow mode, where the AI works alongside reviewers without acting, and moves to live only after at least 99% agreement with zero false clears. Each client chooses its own automation level, there is a kill switch for all auto-closing, documents and emails are treated as data and never as instructions, and every AI action is logged with its evidence and reasoning.

The operators' job changes from data entry and chasing to judgement. They work a review queue in which every item arrives with the AI's suggestion, its confidence and the evidence side by side, and approve, edit or reject it in a keystroke. The business case is modelled on the client's own volumes: three to four times more cases with the same team, turnaround falling from 7 to 10 days to 2 to 4, identity checks finished in minutes, and operator time per case down by about three quarters. More verified cases from the same team, with fewer errors and a full audit trail, is where the extra margin comes from.

The platform keeps data in India: AWS Mumbai for documents and the AI models (Claude on Amazon Bedrock), with PostgreSQL row-level security keeping every client's data apart and DPDP consent recorded for every check.

Topics

  • AI Agents
  • Workflow Automation
  • Human in the Loop
  • Background Verification
  • Multi-tenant SaaS
  • Document AI

Highlights

What makes it different

  • Eight AI assistants, one job each

    Reading documents, checking official registries, writing to HR teams, searching court records, verifying addresses, chasing candidates, summarising cases and supervising quality.

  • Auto-close only when it is safe

    A check closes on its own only when the result is clearly positive and comes from an official source. Anything negative or unclear goes to a person.

  • Shadow mode before live

    Each check type runs alongside reviewers first and goes live only after at least 99% agreement with zero false clears.

  • Operators make the judgement calls

    A review queue where every item arrives with the AI's suggestion, confidence and evidence, approved in a keystroke.

  • Replies read, people chased

    HR and university replies are read even when they come by plain email; candidates are chased on WhatsApp, and checks resume by themselves.

  • Every step on the record

    Each AI action is logged with its evidence and reasoning, and a second person approves every verdict before the report goes out.

Features

What it can do

  • Document Reader: extracts fields from IDs, certificates, experience letters and payslips, and compares them with the candidate's form and official records
  • Tamper and duplicate checks on every upload, with pgvector similarity to catch a document reused by another candidate
  • Registry checks with consent: PAN, Aadhaar via DigiLocker, driving licence, passport, voter ID, EPFO employment history and CIBIL
  • Outreach to HR teams, universities and referees with secure forms, automatic reminders and replies read from plain email
  • Court, police and watch-list searches with name-match explanations; any hit always goes to a person
  • Phone-based address checks with location, live selfie and photos, with field vendors for the exceptions
  • Follow-up on WhatsApp, SMS and email for missing documents, with the SLA clock paused while a check waits on the candidate
  • Case summaries and a proposed colour from each client's severity rules, with maker-checker approval and QR-signed PDF reports
  • Per-client automation levels, shadow mode per check type, a kill switch and a full audit trail
  • Operator "My Day" and review queue, and a management dashboard for capacity, turnaround, automation rate and clients at risk
  • Client portal, API and HRMS connectors, DPDP consent records and GST invoicing
  • 19 verification types on one generic check engine and state machine

Screens

A look inside

01Operator review queue: AI suggestion on every item
02Document Reader: extract, compare and verify
03AI assistants: shadow mode, auto-close and guardrails
04Outreach and follow-up on email and WhatsApp
05Court record explained, verdict waiting for a person
06Management dashboard

Tech stack

Built with

AI automation
  • Claude on Amazon Bedrock
  • Eight task-specific assistants
  • Policy engine
  • Shadow mode and sampling
Platform
  • Java
  • Spring Boot
  • Spring Modulith
  • Ports and adapters
Apps
  • Angular
  • Operator console
  • Mobile portal (PWA)
  • Client portal and API
Data
  • PostgreSQL
  • Row-level security
  • pgvector
  • Encrypted fields
Jobs and documents
  • Postgres-backed job queue
  • Transactional outbox
  • Amazon S3 with KMS
  • Malware scanning
Integrations
  • DigiLocker
  • EPFO
  • Identity registries
  • Court records
  • CIBIL
  • HRMS connectors
Messaging and edge
  • WhatsApp Business
  • SMS
  • Email
  • Cloudflare

Architecture

How it fits together

A modular monolith with the AI in its own governed module. Assistants propose and act only within the policy engine's rules; every outside service sits behind a port with a manual fallback.

Challenges

Hard problems along the way

  1. Automation that cannot clear the wrong person

    A false clear can put the wrong person in a job. Auto-closing is limited to clean results from official sources, proven first in shadow mode, and every verdict is approved by a person.

  2. Documents that try to talk back

    Uploaded documents and emails are read as data, never as instructions, so text planted in a letter or reply cannot steer an assistant.

  3. Messy, real-world inputs

    Blurred scans, HR replies by plain email instead of the form, and similar names in court records. Each assistant explains its reading and its confidence, and anything unclear goes to the review queue.

  4. Rebuilding without stopping the business

    The new platform took over from the old one check type by check type, with client data kept apart by row-level security and consent recorded for every check.

Results

The impact

Cases per month, same team (modelled)
3–4×
Turnaround, down from 7–10 days (modelled)
2–4 days
Less operator time per case (modelled)
~75%
Identity checks, down from days (modelled)
Minutes

What's next

On the roadmap

  1. Move education and digital address checks from shadow mode to live once they reach 99% agreement
  2. Extend the Document Reader to regional-language certificates
  3. Let clients ask questions about their cases in plain words from the client portal
  4. Add more HRMS connectors so cases start the moment an offer is accepted
  5. Keep sampling auto-closed checks and publish a monthly quality report to each client

Bishal SahaLet's build together

Have a system to design, or an AI feature to get right?

Tell me about the problem. You'll get a clear, honest view of the best way forward.

  • Reply within 24 hoursOn business days, with my honest view and a next step.
  • Accepting select engagementsArchitecture, AI features and full builds.
  • Remote, worldwideWorking with startups, SMEs and enterprises.