Civic Neuro Brain
Civic Neuro Brain is building the intelligence layer for modern cities.
Core trick
Streams NYC 311 complaint records through an agentic analytics backend to a Next.js dashboard via server-sent events.
Description
Civic Neuro Brain is building the intelligence layer for modern cities.
Today, city data is fragmented, slow, and hard to act on. Civic Neuro Brain turns everyday public signals like 311 complaints, service requests, neighborhood reports, and emergency patterns into real-time civic insight. As the platform grows, residents, journalists, agencies, researchers, and elected officials will be able to ask plain-English questions about what is happening in any neighborhood and instantly get evidence-backed answers.
The long-term vision is a city-scale nervous system: detecting emerging crises, spotting neglected communities, tracking agency performance, forecasting civic stress, and helping governments respond faster, more fairly, and more transparently.
README excerpt
# Civic Neuro Brain: Emergency Operations & AI-Driven Analytics Platform An enterprise-grade, full-stack platform that combines an agentic AI-driven data intelligence backend with a highly responsive, real-time Progressive Web App (PWA) frontend. Designed for municipal emergency operators and citizens alike, this platform offers real-time regional awareness, incident monitoring, critical threat response management, and predictive urban analytics. The application is deployed and optimized for **New York City** and represents a modern, robust, and beautiful solution for municipal emergency coordination and 311 service request pattern extraction. --- ## ⚡ Key Highlights * **📡 Real-Time Full-Stack Integration**: A Next.js 15 control center connected via REST & SSE (Server-Sent Events) to a FastAPI backend powered by PydanticAI, Gemini models, and an embedded high-performance DuckDB analytical layer. * **🤖 AI Data Analyst Agent**: A fully autonomous AI agent utilizing `PydanticAI` and Gemini (`gemini-3.5-flash`) to detect deep urban anomalies, temporal spikes (z-score analysis), repeat locations, and possible false-resolution closures across millions of rows of NYC 311 data. * **📍 Interactive Leaflet Map**: A highly-optimized React map centering on New York City. Includes custom SVG high-visibility markers, real-time incident clustering, dynamic overlay filters (traffic, hazards, weather, reports, utilities), and a live density heatmap. * **⚡ Domain-Driven Frontend Ar