The problem & people.
The problem
Karnataka's State Crime Records Bureau manages a growing repository of crime data from more than 1,100 police stations. Static dashboards and manual queries limit investigators' ability to explore patterns and relationships. The KSP Datathon challenge called for a conversational AI platform that could make this data easier to investigate using natural language, including crime patterns, networks, behavioural profiles and predictive insights.
The people
Karnataka State Police. Investigating officers get a mobile field tool; supervisors, analysts and admins get a desktop analytics console. All four roles use one conversational interface.
How Aegis fits together.
Follow the data, request and answer paths across the system.

Trust over cleverness.
Trust over cleverness. A deterministic orchestrator routes each question to a specialist agent instead of one open-ended chatbot. Every answer carries citations back to source records, and the system says it doesn't know rather than guess. Access is enforced twice, by a Postgres row-level-security policy and by an application-level query gate, so the claim can be checked in the migrations. The cost: PDF export runs as its own Chromium service, which is heavier than an in-process renderer but renders Kannada text correctly.
Predictable routing
A deterministic orchestrator routes questions to specialist agents.
- Question
- Orchestrator
- Specialist agent
Tradeoff:Less open-ended autonomy, in exchange for a more predictable path from question to answer.
Evidence before confidence
Every answer cites its source records. If the system cannot support an answer, it says so.
- Source records
- Citations
- Answer
Tradeoff:Some questions stay unanswered rather than receive an unsupported response.
Kannada, end to end
PDF export runs in its own Chromium service so Kannada text renders correctly.
- Kannada text
- Chromium service
- PDF report
Tradeoff:A heavier service to operate than an in-process PDF renderer.
Inside the system.
- 1Ask a questionVoice or text. English or Kannada.
Investigating officers, supervisors, analysts, and admins use one conversational interface. The question begins in their language, without hand-written SQL.
- 2Route with intentA specialist for each question.
A deterministic orchestrator routes the question to a specialist agent. The product decision: predictable routing instead of one open-ended chatbot.
- 3Retrieve within boundsRelational and geospatial records.
Postgres row-level security and an application-level query gate both enforce access. A conversational interface does not bypass the permissions on the underlying records.
- 4Return the evidenceCitations back to source records.
Each answer carries citations. When evidence is insufficient, the system says it does not know. Traceability takes priority over a confident-sounding response.
Try Aegis.
The same question, answered to each rank’s remit.
Live simulation using synthetic KSP records. Select any role above to inspect its view.
Four roles share one platform. The demo opens by asking which one you are.
Synthetic demo: Layout, roles and query types follow the build; maps are drawn schematically.
Built with.
Python
FastAPI
Next.js
PostgreSQL
Supabase