| title | Azure Ops Copilot | |
|---|---|---|
| emoji | 🤖 | |
| colorFrom | blue | |
| colorTo | purple | |
| sdk | docker | |
| app_port | 7860 | |
| pinned | false | |
| license | mit | |
| short_description | AI-Powered DevOps Assistant for Azure Operations | |
| tags |
|
AI-Powered DevOps Assistant for Azure Operations
|
Automatically analyze Azure Monitor alerts with AI-powered root cause identification and remediation suggestions. Inspect resource configurations (ARM/Bicep) and check compliance status across your Azure infrastructure. |
Generate ready-to-use Bicep templates and Azure CLI commands for common issues and optimizations. Chat with your Azure infrastructure using plain English - no complex queries needed! |
Try it live on Hugging Face Spaces!
Example queries:
💬 "Analyze alert alert-001"
💬 "Check config for vm-01"
💬 "Suggest a fix for high CPU on vm-01"
💬 "Summarize the recent logs"
| Component | Technology |
|---|---|
| Frontend | |
| Backend | |
| AI Framework | |
| LLM | |
| MCP Server | |
| Package Manager |
- Python 3.10+
- uv package manager
- Azure OpenAI API access
-
Clone the repository
git clone https://github.com/mahimairaja/azure-agent-ops-copilot.git cd azure-agent-ops-copilot -
Install dependencies
uv sync --all-groups
-
Configure environment
cp .env.example .env
Edit
.envand add your Azure OpenAI credentials:AZURE_OPENAI_ENDPOINT=https://your-endpoint.openai.azure.com/ AZURE_OPENAI_API_KEY=your-api-key-here AZURE_OPENAI_DEPLOYMENT_NAME=gpt-4o-mini
-
Generate sample data
uv run python scripts/generate_logs.py uv run python scripts/generate_configs.py
-
Run the application
Terminal 1 - Start the backend:
uv run python src/backend/app.py
Terminal 2 - Start the frontend:
uv run python src/frontend/app.py
-
Open your browser
Navigate to
http://localhost:7860and start chatting!
# Build the image
docker build -t azure-ops-copilot .
# Run the container
docker run -p 7860:7860 -p 8000:8000 \
-e AZURE_OPENAI_ENDPOINT=your-endpoint \
-e AZURE_OPENAI_API_KEY=your-key \
-e AZURE_OPENAI_DEPLOYMENT_NAME=gpt-4o-mini \
azure-ops-copilotThis project is configured for one-click deployment to Hugging Face Spaces:
- Fork this repository
- Create a new Space on Hugging Face
- Choose Docker as the SDK
- Connect your GitHub repository
- Add your Azure OpenAI credentials as Space secrets
- Deploy! 🚀
# Ask the copilot
"Analyze alert alert-001"
# Response includes:
# - Alert details
# - Severity and resource info
# - Root cause analysis
# - Suggested remediation# Query by short name
"Check config for vm-01"
# Or by full resource ID
"Show configuration for /subscriptions/.../virtualMachines/vm-01"# Request fix generation
"Suggest a fix for high CPU on vm-01"
# Get:
# - Bicep template for VM resize
# - Azure CLI commands
# - Best practicesContributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
- Semantic Kernel - AI orchestration framework
- FastMCP - Model Context Protocol implementation
- Gradio - Beautiful web UI framework
- Azure OpenAI - LLM provider
Mahimai Raja - LinkedIn - GitHub
⭐ Star this repo if you find it helpful!
Made with ❤️ by Mahimai Raja