All work

The Anti-Trafficking in Persons Center
Royal Thai Police

Live system · Government Agency

The Human Trafficking Case Reporting System has two parts: a public website where people can report tips, anonymously if they choose, and a back office where police officers screen, assign, track and analyse cases. Both share a central cloud database. Developed in collaboration with the Anti-Trafficking in Persons Center, Royal Thai Police (TATIP RTP).

GovernmentAnti-TraffickingRoyal Thai Police
Visit the live system
Human trafficking tip-off reporting page

Screens from the live system

All screens shown are public-facing. The back office that officers use to manage tips in the PIMS format is classified by the agency and cannot be shown.

The challenge

What we built

Anonymous online reporting

An easy form on mobile and desktop with province / district / subdistrict dropdowns, photo evidence uploads, and a tracking code issued after submission.

PIMS-format back office for tips

Officers manage tips (Clues) in a back office that follows the Royal Thai Police PIMS format, from intake and grouping to data export. The screens are classified by the agency and cannot be shown.

Case Management Workflow

Screen and grade severity on 3 levels (Critical / High / Normal) → assign to a local station or unit → record a progress log → close the case, with SLA alerts when a critical case goes without updates.

AI matching for duplicate tips

Tips are converted to vectors with a Sentence Transformer, grouped by area, and matched with similar cases through semantic search, alerting officers before they take a case.

AI tip summaries

Gemini 2.5 Flash Lite summarises tips in 3 languages, helping officers read and screen them faster.

Dashboard & Heatmap

Tip statistics by period and province, with a density map to help allocate resources. Data exports to PDF / Excel.

Security & PDPA by Design

Reporter identity is stored apart from case data (data decoupling), with RBAC, 2FA via email OTP, an audit trail on every change, and signed URLs for evidence files.

Technology

Frontend
Next.js 15React 19TypeScriptMaterial UITailwind CSSLeaflet
Backend & Data
Next.js API RoutesPrismaPostgreSQL (Supabase)Supabase StorageNextAuth.js
AI
Sentence TransformerHugging FaceGemini 2.5 Flash Lite
Deploy & Testing
VercelGitHubPlaywrightk6

Planning a system like this?

Request a quote