Akshaya1202/Autonomous-AI-Incident-Response-System
GitHub: Akshaya1202/Autonomous-AI-Incident-Response-System
基于 AutoGen 多 Agent 框架构建的自动化事件响应系统,通过 AI 驱动的日志分析、根因排查和修复建议来提升运维事件处理效率。
Stars: 0 | Forks: 0
# 事件响应系统
一个自动化的事件响应系统,使用 AI agent 进行日志分析、根因分析和修复建议。
## 概述
本项目使用 AutoGen 来协调多个 AI agent 以进行事件管理:
- **日志分析 Agent**:分析事件日志并识别模式
- **RCA Agent**:执行根因分析
- **修复建议 Agent**:提供补救建议
- **Human-in-the-Loop (HITL)**:在关键决策中集成人工审批
## 项目结构
```
.
├── app/ # Application code
│ ├── agents/ # AI agent implementations
│ │ ├── log_analysis_agent.py # Log analysis agent
│ │ ├── rca_agent.py # Root cause analysis agent
│ │ ├── fix_recommendation_agent.py # Fix recommendation agent
│ │ └── hitl.py # Human-in-the-loop module
│ ├── config/ # Configuration
│ │ └── model_client.py # LLM client setup
│ ├── data/ # Data files
│ │ ├── ecommerce_incident_logs_1000.jsonl # Sample incident logs
│ │ └── triaged_logs.jsonl # Triaged logs for analysis
│ └── reports/ # Output reports
│ └── final_incident_report.json # Generated incident report
├── orchestrator.py # Main orchestration script
├── severity_mapping.py # Severity classification
├── requirements.txt # Python dependencies
├── Dockerfile # Docker configuration
├── .env.example # Example environment variables
└── .gitignore # Git ignore rules
```
## 设置
### 前置条件
- Python 3.8+
- Gemini API key
## 用法
运行事件响应 pipeline:
```
python orchestrator.py
```
## 依赖项
- `autogen-agentchat`:多 agent 编排框架
- `autogen-ext[openai]`:OpenAI/Gemini 集成
- `python-dotenv`:环境变量管理
## Docker
使用 Docker 构建并运行:
```
docker build -t incident-response .
docker run -it incident-response
```
标签:AutoGen, BurpSuite集成, PyRIT, 人工智能, 多智能体系统, 根因分析, 用户模式Hook绕过, 自动化运维, 请求拦截, 逆向工具