Accelerators are a Microsoft term for complete, working applications that serve as production-ready starting points for your own solutions. Rather than building from scratch, accelerators let you:
- β Learn faster - See real-world implementations of AI patterns and best practices
- β Build securely - Start with security, compliance, and responsible AI already built in
- β Ship sooner - Extend working code instead of writing boilerplate from zero
- β Reduce risk - Leverage tested, validated architectures designed for government use
Think of accelerators as fully-functional blueprints - they work out of the box, but are designed for you to customize and extend for your specific agency needs.
This repository contains 7 AI accelerators designed to transform how NY State government agencies serve constituents. Each accelerator is a complete application built with Microsoft Azure AI services and the Semantic Kernel framework, demonstrating practical AI solutions for:
| Challenge | Accelerator Solution |
|---|---|
| π Citizens can't find answers | AI chatbot with citations |
| π Document processing backlogs | Automated OCR & validation |
| π¨ Emergency coordination gaps | Multi-agent planning system |
| π Policy compliance burden | Automated document review |
| π Siloed agency knowledge | Cross-agency secure search |
| ποΈ NYC citizen services (.NET) | RAG-powered .NET chatbot |
| π€ NYC citizen services (Python) | RAG-powered Python chatbot |
All accelerators comply with NY State's LOADinG Act and RAISE Act requirements for transparent, accountable AI in government.
| Version | Date | Changes | Status |
|---|---|---|---|
| 2.2.0 | Jan 13, 2026 | Added Python Virtual Citizen Assistant, 267 tests | β Current |
| 2.1.0 | Jan 12, 2026 | Added .NET Virtual Citizen Assistant, 265 tests | β Stable |
| 2.0.0 | Jan 12, 2026 | Production release with 5 accelerators | β Stable |
| 1.5.0 | Jan 10, 2026 | Added Inter-Agency Knowledge Hub accelerator | β Stable |
| 1.4.0 | Jan 9, 2026 | Added Policy Compliance Checker accelerator | β Stable |
| 1.3.0 | Jan 8, 2026 | Added Emergency Response Agent accelerator | β Stable |
| 1.2.0 | Jan 7, 2026 | Added Document Eligibility Agent accelerator | β Stable |
| 1.1.0 | Jan 6, 2026 | Added Constituent Services Agent accelerator | β Stable |
| 1.0.0 | Jan 5, 2026 | Initial repository setup with shared infrastructure | β Stable |
π― Purpose: AI-powered chatbot answering citizen questions about NY State services
β¨ Key Features:
- π¬ Natural language Q&A about SNAP benefits, driver's licenses, unemployment, Medicaid
- π Citation-backed responses with source documents
- π Confidence scoring and human escalation when uncertain
- π Multi-language support (English, Spanish, Chinese, Arabic, Russian, Korean, Haitian Creole, Bengali)
- βΏ WCAG 2.1 AA accessible web interface
π οΈ Tech Stack: Azure AI Foundry + Foundry IQ + Semantic Kernel + Flask
cd Constituent-Services-Agent
pip install -r requirements.txt
python demo.pyπ‘ Sample Queries:
- "How do I apply for SNAP benefits?"
- "How do I renew my driver's license?"
- "Am I eligible for Medicaid?"
π― Purpose: Automated processing of eligibility documents (W-2s, pay stubs, utility bills)
β¨ Key Features:
- π§ Email inbox monitoring for document submissions
- π OCR and intelligent data extraction using Azure Document Intelligence
- π Confidence scoring for all extracted fields
- π PII detection and automatic masking
- β Validation rules (document age, completeness)
- π Case routing and workload distribution
π οΈ Tech Stack: Azure Document Intelligence + Microsoft Graph + Semantic Kernel + Flask
cd Document-Eligibility-Agent
pip install -r requirements.txt
python demo.pyπ Supported Document Types:
| Document | Fields Extracted |
|---|---|
| W-2 Forms | Wages, employer, tax year |
| Pay Stubs | Gross pay, period, date |
| Utility Bills | Provider, address, date |
| Bank Statements | Institution, balance |
| Driver's Licenses | Name, DOB, expiration |
| Birth Certificates | Name, DOB, parents |
| Lease Agreements | Landlord, address, rent |
π― Purpose: Multi-agent system for emergency response planning and coordination
β¨ Key Features:
- π Emergency scenario simulation (hurricane, fire, flood, winter storm, public health, earthquake)
- π€οΈ Real-time weather integration
- ποΈ Multi-agency resource coordination (FDNY, NYPD, OEM, DOT, MTA)
- π Evacuation route planning with bottleneck analysis
- π Historical incident analysis for lessons learned
- β±οΈ Response plans with timeline milestones
π οΈ Tech Stack: Semantic Kernel + Azure AI Foundry + Weather APIs + Multi-Agent Orchestration
π¨ Supported Emergency Types:
| Type | Lead Agency | Key Resources |
|---|---|---|
| π Hurricane | OEM | Evacuation, shelters |
| π₯ Fire | FDNY | Firefighters, equipment |
| π Flooding | OEM | Pumps, rescue boats |
| βοΈ Winter Storm | DOT | Plows, salt trucks |
| π₯ Public Health | DOH | Healthcare workers, vaccines |
| ποΈ Earthquake | OEM | Search & rescue teams |
| β‘ Infrastructure | Utilities | Emergency generators |
π― Purpose: Automated review of policy documents against compliance rules
β¨ Key Features:
- π Document parsing (PDF, DOCX, Markdown)
- π Rule-based compliance checking with regex patterns
β οΈ Severity categorization (Critical, High, Medium, Low)- π Compliance scoring (0-100)
- π€ AI-powered analysis with Azure OpenAI
- π‘ Detailed recommendations for each violation
- π Version comparison for policy changes
π οΈ Tech Stack: Azure AI Foundry + Semantic Kernel + Document AI
cd Policy-Compliance-Checker
pip install -r requirements.txt
python demo.pyπ Compliance Categories:
| Category | Description | Examples |
|---|---|---|
| Data Privacy | PII handling rules | Encryption, retention |
| Accessibility | WCAG compliance | Alt text, contrast |
| Security | Security standards | Authentication, logging |
| Documentation | Policy requirements | Version control, approval |
π― Purpose: Cross-agency document search with permission-aware results
β¨ Key Features:
- π Unified search across 5+ agency knowledge bases (DMV, DOL, OTDA, DOH, OGS)
- π Entra ID authentication with role-based access
- π‘οΈ Permission-aware result filtering
- π Citation tracking for LOADinG Act compliance
- π Cross-agency policy cross-references
- π€ Human-in-the-loop for complex queries
- π 7-year audit log retention
π οΈ Tech Stack: Microsoft Foundry + Foundry IQ + Azure AI Search + Entra ID
cd Inter-Agency-Knowledge-Hub
pip install -r requirements.txt
python demo.pyποΈ Supported Agencies:
| Agency | Domain | Documents |
|---|---|---|
| DMV | Transportation | Licensing, registration |
| DOL | Labor | Employment, wages |
| OTDA | Social Services | Benefits, assistance |
| DOH | Health | Public health, regulations |
| OGS | General Services | Procurement, facilities |
π― Purpose: RAG-powered AI assistant for NYC government services built with .NET
β¨ Key Features:
- π¬ AI chat assistant with source citations
- π Semantic, keyword, and hybrid search modes
- π Category browser with visual grid layout
- π Document details with print and share
- π οΈ Data upload utility for Azure AI Search
- π¨ Bootstrap 5.3 responsive UI
π οΈ Tech Stack: .NET 9 + ASP.NET Core MVC + Semantic Kernel 1.65 + Azure AI Search + Azure OpenAI
cd DotNet-Virtual-Citizen-Assistant
dotnet restore
dotnet run --project VirtualCitizenAgentπ‘ Sample Features:
- Chat with AI about NYC services
- Search documents semantically
- Browse by service category
π― Purpose: RAG-powered AI assistant for city government services built with Python
β¨ Key Features:
- π¬ Natural language Q&A about city services (trash pickup, permits, emergency alerts)
- π Vector search + keyword search + hybrid search modes
- π Plugin architecture with Semantic Kernel 1.37
- π Appointment scheduling with mock service
- π Citation-backed responses with source documents
- π§ͺ Built-in test framework for validation
π οΈ Tech Stack: Semantic Kernel 1.37 + Azure AI Search + Azure OpenAI + Flask
cd Virtual-Citizen-Assistant
pip install -r requirements.txt
python test_setup.py # Validate setup
python test_plugins.py # Test plugins
python src/main.py # Run interactive assistantπ‘ Sample Queries:
- "When is my next trash pickup?"
- "How do I apply for a business permit?"
- "Are there any current emergency alerts in my area?"
π Available Plugins:
| Plugin | Functions | Purpose |
|---|---|---|
| DocumentRetrieval | search_city_services, get_service_by_category | Search city service information |
| Scheduling | check_availability, scheduling_info, list_schedulable_services | Appointment management |
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β π₯οΈ Frontend Layer β
β Flask Web UI β REST APIs β WCAG 2.1 AA Accessible β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β π€ AI Orchestration Layer β
β Semantic Kernel β Foundry IQ β Multi-Agent Patterns β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β βοΈ Azure AI Services β
β Azure OpenAI GPT-4o β Document Intelligence β AI Search β
β Microsoft Graph β Translator β Entra ID β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β πΎ Data Layer β
β SQLite/Azure SQL β Blob Storage β Vector DBs β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
- β All AI decisions are logged with rationale
- β Human-in-the-loop for benefits determinations
- β Transparent citation of data sources
- β Bias testing across demographic groups
- β AI assistance clearly disclosed to users
- β Accountability measures for automated decisions
- β Regular auditing and evaluation frameworks
- β Azure AI Evaluation integration for red-teaming
- ποΈ Azure GCC (Government Community Cloud) compatible
- π PII detection and automatic masking
- π€ Role-based access control via Entra ID
- π Encrypted data at rest and in transit
- ποΈ 30-day conversation data purge policy
newyork/
βββ π Constituent-Services-Agent/ # π¬ Citizen Q&A chatbot
β βββ src/
β β βββ agent/ # AI agent components
β β βββ api/ # Flask routes
β β βββ models/ # Data models
β β βββ services/ # Knowledge service
β βββ demo.py # Interactive demo
β βββ requirements.txt
β
βββ π Document-Eligibility-Agent/ # π Document processing
β βββ src/
β β βββ agent/ # Processing agents
β β βββ api/ # REST endpoints
β β βββ models/ # Document models
β β βββ services/ # OCR, email, storage
β βββ demo.py
β βββ sample_documents/
β
βββ π Emergency-Response-Agent/ # π¨ Emergency planning
β βββ src/
β β βββ models/ # Emergency models
β β βββ orchestration/ # Multi-agent coordinator
β β βββ services/ # Weather, traffic APIs
β βββ requirements.txt
β
βββ π Policy-Compliance-Checker/ # π Compliance checking
β βββ src/
β β βββ models/ # Compliance models
β β βββ services/ # Rule engine, parsing
β β βββ api/ # Flask routes
β βββ requirements.txt
β
βββ π Inter-Agency-Knowledge-Hub/ # π Cross-agency search
β βββ src/
β β βββ models/ # Search models
β β βββ services/ # Search, auth services
β β βββ api/ # Flask routes
β βββ requirements.txt
β
βββ π DotNet-Virtual-Citizen-Assistant/ # ποΈ NYC .NET chatbot
β βββ VirtualCitizenAgent/ # Main web application
β β βββ Controllers/ # MVC and API controllers
β β βββ Services/ # Business logic
β β βββ Plugins/ # Semantic Kernel plugins
β β βββ Views/ # Razor views
β βββ VirtualCitizenAgent.Tests/ # xUnit tests
β βββ AzureSearchUploader/ # Data upload utility
β
βββ π Virtual-Citizen-Assistant/ # π€ NYC Python chatbot
β βββ src/
β β βββ config/ # Configuration settings
β β βββ models/ # Data models
β β βββ plugins/ # Semantic Kernel plugins
β β βββ main.py # Main application
β βββ test_setup.py # Setup validation
β βββ test_plugins.py # Plugin tests
β βββ requirements.txt
β
βββ π docs/ # π Documentation
β βββ QUICKSTART.md # Quick start guide
β βββ EVAL_GUIDE.md # Evaluation guide
β βββ SPEC_TEMPLATE.md # Specification template
β
βββ π evaluation/ # π§ͺ AI evaluation framework
β βββ eval_config.py # Evaluation configuration
β βββ run_evals.py # Run evaluations
β βββ red_team.yaml # Red team test config
β βββ test_cases.jsonl # Test cases
β
βββ π specs/ # π Feature specifications
βββ 001-constituent-services-agent/
βββ 002-document-eligibility-agent/
βββ 003-emergency-response-agent/
βββ 004-policy-compliance-checker/
βββ 005-inter-agency-knowledge-hub/
# 1οΈβ£ Clone and navigate
cd newyork
# 2οΈβ£ Choose an accelerator
cd Constituent-Services-Agent # or any other accelerator
# 3οΈβ£ Create virtual environment
python -m venv venv
venv\Scripts\activate # Windows
# source venv/bin/activate # Mac/Linux
# 4οΈβ£ Install dependencies
pip install -r requirements.txt
# 5οΈβ£ Run demo (mock mode - no Azure required)
python demo.py
# 6οΈβ£ Run web interface
python -m src.mainπ‘ Mock Mode: All accelerators work without Azure services using mock data for offline development. No API keys required to get started!
| Accelerator | Tests | Status |
|---|---|---|
| Constituent Services Agent | 43 | β All Passing |
| Document Eligibility Agent | 86 | β All Passing |
| Emergency Response Agent | 62 | β All Passing |
| Policy Compliance Checker | 14 | β All Passing |
| Inter-Agency Knowledge Hub | 38 | β All Passing |
| Virtual Citizen Assistant (.NET) | 22 | β All Passing |
| Virtual Citizen Assistant (Python) | 2 | β All Passing |
| Total | 267 | β Production Ready |
- Quality Evaluators: Groundedness, Relevance, Coherence, Fluency
- Safety Evaluators: Content safety, PII detection
- Red Team Tests: Jailbreak, PII extraction, authority spoofing, hallucination
# Run tests for Python accelerators
cd [Accelerator-Directory]
python -m pytest tests/ -v
# Run tests for .NET accelerator
cd DotNet-Virtual-Citizen-Assistant
dotnet test
# Run AI evaluations
python -m shared.evaluation.eval_config| Accelerator | Key Metric | Target | Status |
|---|---|---|---|
| π¬ Constituent Services | Response time | < 5 seconds | β |
| π¬ Constituent Services | Citation accuracy | > 95% | β |
| π Document Eligibility | Processing time | < 2 minutes | β |
| π Document Eligibility | Extraction accuracy | > 95% | β |
| π¨ Emergency Response | Plan generation | < 5 seconds | β |
| π Policy Compliance | Analysis time | < 30 seconds | β |
| π Knowledge Hub | Search response | < 3 seconds | β |
- β‘ Faster answers: Get information about government services instantly
- π Accessible: Multi-language support, WCAG 2.1 AA compliant
- π Transparent: See sources for all information provided
- π Reduced workload: AI handles routine inquiries, staff focus on complex cases
- β±οΈ Faster processing: Documents processed in minutes, not hours
- π€ Better coordination: Cross-agency visibility and emergency planning
- β Compliance: Built-in LOADinG Act and RAISE Act compliance
- π Scalability: Handles high volumes during crises
- π Accountability: Complete audit trails for all AI decisions
For Microsoft Enterprise Users: If you have a Microsoft enterprise account and are having trouble accessing this repository, please see our detailed Collaboration Guide for step-by-step instructions.
Quick Access Steps:
- Ensure your GitHub account has 2FA enabled
- Link your Microsoft enterprise email to your GitHub account
- Request access from the repository owner (@msftsean)
- For detailed instructions, see COLLABORATION.md
We welcome contributions! Please see our Contributing Guidelines for:
- Code standards and best practices
- Pull request process
- Testing requirements
- Security considerations
Quick Start for Contributors:
# Fork and clone the repository
git clone https://github.com/msftsean/ai-hackathon-use-cases.git
# Create a feature branch
git checkout -b feature/your-feature-name
# Make changes and run tests
pytest tests/ -v # Python projects
dotnet test # .NET project
# Submit a pull request- π Quick Start Guide
- π€ Collaboration Guide - For Microsoft enterprise users
- π Contributing Guidelines
- π Feature Specifications
- π§ͺ Evaluation Framework
- π Evaluation Guide
- π Azure AI Foundry Documentation
- π Semantic Kernel Documentation
- π Microsoft Accelerators
ποΈ Shaping the Future of Responsible AI in New York State π½