Crime Branch OS
AI-assisted investigation prototype for Smart India Hackathon 2026, Problem Statement 26189: AI-powered criminal network analysis.
Python · FastAPI · PostgreSQL · Next.js · NetworkX · Docker ComposeThe problem
Case records, communication data, transactions and documents contain overlapping identifiers. Reviewing them separately makes cross-case relationships harder to investigate. This prototype brings those records into a searchable entity graph while preserving an officer review step.
Architecture and workflow
Import records → preview and confirm mappings → store cases, entities and events → build relationships and cross-case alerts → inspect graphs and optionally ask the AI analyst.
- FastAPI: API services for cases, intelligence ingestion, entity relationships and search.
- PostgreSQL: relational records for cases, entities, events and relationships; identifiers support cross-case matching.
- NetworkX: graph traversal and network analysis to inspect connected entities and relationship paths.
- Next.js: investigation workspace, import review and graph inspection.
- Claude CLI / Gemini: optional analysis using loaded case context. Extracted claims remain subject to human review.
- Docker Compose: repeatable local development across database, API and frontend.
Implemented scope
The workspace supports case management, CDR and transaction import, document intake, entity relationships, cross-case search, network analysis, source-file hashes and custody events. Its entity model covers people, phones, accounts, IPs, devices, vehicles, places, organizations and other identifiers.
Engineering decisions
Ingestion includes preview and confirmation rather than saving AI extraction directly. Rule-based extraction and manual mapping remain available when AI is disabled. Technical documentation covers API behavior, database structure, architecture and troubleshooting.
Status and evidence
This is a prototype, not a production police deployment. The repository contains synthetic demonstration records. This public case study summarizes the private project's README and architecture documentation; it is not a live demo or public source repository.
For a technical walkthrough or permitted source review, contact kokatenakul11@gmail.com.