An autonomous, provider-agnostic SRE assistant designed to ingest signals, correlate them with a curated knowledge base of playbooks, and execute resolution steps to minimize MTTR.
- Provider Agnostic: Seamlessly switch between LLMs (Ollama, OpenAI, Anthropic), Observability tools (Prometheus, Coralogix, Datadog), and Vector Databases (Qdrant, Chroma).
- Factory Architecture: Standardized interfaces for Intelligence, Observability, Knowledge Base, and Storage layers.
- Production Ready: Kubernetes-native deployment with sidecar support for local LLMs and Vector DBs.
- Master Configuration: Centralized control via
sre_agent_config.yaml. - Self-Hosted: Optimized for on-premise deployment using Ollama and MinIO.
- Intelligent Diagnostics: Built-in anomaly detection with Isolation Forest and forecasting with FB Prophet.
.
├── src/ # Core logic modules
│ ├── intelligence/ # Reasoning engine (LangGraph)
│ ├── knowledge/ # RAG & Ingestion logic
│ ├── signals/ # APM & Log connectors
│ ├── storage/ # Artifact & Report storage
│ ├── config.py # Configuration singleton
│ ├── ui/ # Gradio Dashboard
│ └── documentation/ # Incident & RCA management
├── deploy/ # Deployment manifests
│ ├── helm/ # Standardized Helm charts
│ └── production.yaml # K8s Production manifest
├── playbooks/ # 370+ SRE Playbooks (Knowledge Base)
├── scripts/ # Utility & Deployment scripts
├── main.py # Application entry point
├── sre_agent_config.yaml # MASTER CONFIGURATION
├── Dockerfile # Production container build
└── pyproject.toml # Dependencies & Metadata
- Python 3.10+
- Docker & Docker Compose
- Access to an LLM (OpenAI, Anthropic, or Local Ollama)
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
# or install in editable mode
pip install -e .- Start sidecar services (Ollama, Qdrant, MinIO):
docker-compose up -d
- Launch the SRE Command Center:
python3 main.py
- Open the dashboard at:
http://localhost:7860
To test the full containerized setup:
docker build -t sre-ai-agent:latest .
docker run -p 7860:7860 --name sre-agent sre-ai-agent:latestThe sre_agent_config.yaml is the master control file for the entire agent.
- Intelligence:
ollama,openai,anthropic - Observability:
prometheus,coralogix,datadog - Vector DB:
qdrant,chroma
Sensitive keys should be set as environment variables (which override config values):
OPENAI_API_KEYANTHROPIC_API_KEYCORALOGIX_API_KEYAWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY
- Ask for RCA: Describe an issue in the Gradio UI (e.g., "Why is the Varuna order checkout-api 5xx rate spiking?").
- Review Plan: The agent gathers signals, searches playbooks, performs RCA, and proposes a self-healing action.
- Approve Action: Click "🚀 Approve" to execute the plan via Kubernetes or AWS.
- Deny Action: Click "❌ Deny" to reject the proposal and close the incident manually.
- Build the image:
docker build -t sre-ai-agent:latest . - Deploy the stack:
./scripts/deploy.sh
MIT License.