How kalyan-devops-tech/agentic-sre-automation works
This FastAPI service receives normalized alert payloads, suppresses repeats, optionally gathers read-only Kubernetes evidence, triages with rules or optional LLM assistance, records outcomes, and emails on-call engineers. The README also documents Datadog and Prometheus integrations and the human-approved response boundary. The sampled pipeline and module excerpts support the internal call relationships; provider-to-webhook relationships are documented in the README, while unsampled deployment details are omitted.
Main entry points: pipeline.py Alert pipeline · triage.py Alert triage · main.py Webhook API · actions.py Kubernetes checks
Components 11
Alert ingress
- Webhook API
app/main.py - Alert pipeline
app/pipeline.py
Evidence and triage
- Kubernetes checks
app/actions.py - Alert triage
app/triage.py
Notification
- Email delivery
app/emailer.py
Audit state
- Cooldown checks
app/store.py - SQLite audit
app/store.py
Other components
- Alert sources
- OpenAI service
- SMTP relay
- On-call engineers
Connections 12
- Alert sources → Webhook API: send alerts
README.md - Webhook API → Alert pipeline: processes payload
app/main.py - Alert pipeline → Cooldown checks: checks cooldown
app/pipeline.py - Cooldown checks → SQLite audit: queries records
app/store.py - Alert pipeline → SQLite audit: records outcomes
app/pipeline.py - Alert pipeline → Kubernetes checks: gathers evidence
app/pipeline.py - Kubernetes checks → Alert triage: supplies checks
app/pipeline.py - Alert pipeline → Alert triage: requests analysis
app/pipeline.py - Alert triage → OpenAI service: requests LLM triage
app/triage.py - Alert pipeline → Email delivery: sends incident
app/pipeline.py - Email delivery → SMTP relay: sends message
app/emailer.py - SMTP relay → On-call engineers: delivers email
README.md