Inspiration

The Problem

Millions of citizens struggle to get timely responses from government services. Complaints get lost, officers are overwhelmed with routine queries, and there is no visibility into case status. SLA deadlines are missed with no accountability.

The Solution

CivicAI bridges the gap between citizens and government officers with a two-portal system powered by Google Gemini AI:

•Citizen Portal — Citizens can file complaints via a conversational AI chatbot that understands their issue, collects details, and either resolves it instantly or escalates it to the right officer with full context. •Officer Dashboard — Officers get a real-time dashboard with AI-generated case summaries, priority rankings, SLA countdown timers, a search system, and an AI Copilot that suggests recommended actions for every escalated case.

Key Features

•Smart AI Triage — Gemini 2.5 Flash handles routine queries automatically, only escalating cases that genuinely need a human officer •SLA Enforcement — Cases are assigned deadlines based on priority (Critical: 30 min → Low: 5 days) with live breach alerts •AI Copilot for Officers — Each escalated case comes with a Gemini-generated summary, citizen profile, recommended action, and feedback loop •Case History & Tracking — Citizens can sign in to view all past cases and their statuses in one place •Role-Based Access — Separate, secure portals for citizens and officers with sign-up, sign-in, and guest access •Polished UI — Custom typography (Playfair Display + Outfit), animated role-selection screen, consistent design system across both portals •Feedback Loop — Officers can rate AI suggestions, helping measure escalation accuracy and copilot quality over time

Built With

  • escalation-engine-&-copilot-google-generative-ai-sdk-python-client-library-for-gemini-api-calls-json-(flat-file-db)-lightweight-data-store-for-cases
  • geminiai
  • json
  • logic
  • python
  • python-dotenv
  • session-management-google-gemini-2.5-flash-llm-powering-the-ai-chatbot
  • streamlit
Share this project:

Updates