Field Operations Smarter, Geospatially Powered
Smart Agents Utility is an intelligent multi-agent system designed for companies that manage linear assets such as electricity, water, gas, and telecom.
It merges Semantic Kernel, geospatial databases, and Azure AI into a unified field operations platform.
- Multi-Agent Orchestration (Semantic Kernel 1.28+)
- Geospatial Intelligence (PostGIS + OpenStreetMap)
- Smart Fault Reporting and Crew Dispatch
- Regulatory AI Integration (Azure AI Foundry Agents)
- Real-Time Map Visualization (dynamic maps on demand)
- Chainlit Frontend for instant conversations
- Azure Container Apps Deployment for full scalability
| Industry | Application Example |
|---|---|
| Electricity | Outage localization, dispatch of emergency crews |
| Water | Leak detection mapping, maintenance prioritization |
| Gas | Risk zone analysis for pipelines |
| Telecom | Storm damage mapping and fiber restoration planning |
| Smart Cities | Unified field services coordination across all utilities |
- Combines natural language understanding with geospatial operations.
- Multi-agent specialization (Field, Crew, Geo, Reporting, Regulatory).
- Instant generation of visual maps within conversations.
- Fully extendable for multi-utility field operations.
- Azure-native scalable deployment.
- Python 3.11+
- Semantic Kernel 1.28+
- Chainlit (Frontend for conversational AI)
- PostgreSQL + PostGIS (geospatial database)
- Azure AI Foundry (agent orchestration, regulatory knowledge)
- Azure Container Apps (deployment)
- Folium (for OpenStreetMap-based map generation)
- Clone the repository.
- Create and activate a Python virtual environment.
- Install dependencies:
pip install -r requirements.txt- Configure your .env file:
AZURE_OPENAI_DEPLOYMENT_NAME=your-deployment-name
AZURE_OPENAI_ENDPOINT=https://your-endpoint.openai.azure.com/
AZURE_OPENAI_API_KEY=your-api-key
AZURE_AI_FOUNDATION_AGENT_ID=your-agent-id
POSTGRES_HOST=your-db-host
POSTGRES_PORT=5432
POSTGRES_DB=your-db-name
POSTGRES_USER=your-db-user
POSTGRES_PASSWORD=your-db-password- Run the API:
uvicorn app.main:app --reload- (Optional) Run the Chat Frontend:
chainlit run app/app_chainlit.py- Build the container:
FROM python:3.11-slim
WORKDIR /app
COPY . .
RUN pip install --upgrade pip setuptools wheel
RUN pip install -r requirements.txt
EXPOSE 8000
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]-
Push to Azure Container Registry.
-
Deploy to Azure Container Apps.
-
Set environment variables in Container App settings.
-
Create an Agent in Azure AI Foundry.
-
Obtain your assistant_id and set it as AZURE_AI_FOUNDATION_AGENT_ID.
-
Smart Agents Utility will route advanced regulatory or technical questions to this Foundry agent automatically.
This project is licensed under the MIT License. See the LICENSE file for details.
