| title | DevOps Incident Suite |
|---|---|
| emoji | 🚨 |
| colorFrom | red |
| colorTo | blue |
| sdk | gradio |
| sdk_version | 5.29.0 |
| python_version | 3.11 |
| app_file | app.py |
| pinned | false |
A VS Code-ready GenAI project that uses LangChain + LangGraph to analyze DevOps logs and generate remediation guidance, runbooks, Slack notifications, and JIRA tickets.
- Multi-agent architecture
- LangGraph orchestration
- LangChain LLM usage
- DevOps/SRE log analysis
- Automated incident classification
- Remediation recommendation
- Runbook generation
- Optional Slack and JIRA integration
- Gradio UI
User uploads logs
↓
Log Parser Agent
↓
Incident Classification Agent
↓
Remediation Agent
↓
Runbook Generator Agent
↓
Slack/JIRA Notification Agent
devops_incident_vscode/
├── agents/
│ ├── log_agent.py
│ ├── classifier_agent.py
│ ├── remediation_agent.py
│ ├── runbook_agent.py
│ └── notification_agent.py
├── graph/
│ └── workflow.py
├── integrations/
│ ├── slack.py
│ └── jira.py
├── utils/
│ └── llm.py
├── data/sample_logs/
├── app.py
├── state.py
├── requirements.txt
├── .env.example
└── README.md
Open the devops_incident_vscode folder.
py -m venv .venv.\.venv\Scripts\Activate.ps1If PowerShell blocks activation, run:
Set-ExecutionPolicy -Scope CurrentUser RemoteSignedThen activate again:
.\.venv\Scripts\Activate.ps1py -m pip install --upgrade pip
py -m pip install -r requirements.txtCopy .env.example to .env.
copy .env.example .envAdd your OpenRouter key:
OPENAI_API_KEY=your_key_here
OPENAI_BASE_URL=https://openrouter.ai/api/v1
LLM_MODEL=openai/gpt-4o-miniThe app also works without an API key using fallback rule-based classification.
py app.pyOpen the local URL shown in the terminal, usually:
http://127.0.0.1:7860
Upload the project folder or zip file, then run:
!pip install -r requirements.txt
!python app.pyFor public Colab link, change the last line in app.py from:
demo.launch()to:
demo.launch(share=True)- Create a new Hugging Face Space
- Select Gradio as SDK
- Upload all project files
- Add secrets in Space settings:
OPENAI_API_KEYOPENAI_BASE_URLLLM_MODEL- optional Slack/JIRA values
- Hugging Face will install
requirements.txtand runapp.py