惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

G
Google Developers Blog
Google DeepMind News
Google DeepMind News
Hugging Face - Blog
Hugging Face - Blog
D
Docker
F
Fortinet All Blogs
博客园 - 三生石上(FineUI控件)
Project Zero
Project Zero
Engineering at Meta
Engineering at Meta
J
Java Code Geeks
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Simon Willison's Weblog
Simon Willison's Weblog
S
Security Affairs
NISL@THU
NISL@THU
T
Tor Project blog
A
About on SuperTechFans
宝玉的分享
宝玉的分享
腾讯CDC
S
Schneier on Security
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
P
Privacy & Cybersecurity Law Blog
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Stack Overflow Blog
Stack Overflow Blog
P
Privacy International News Feed
雷峰网
雷峰网
C
Cyber Attacks, Cyber Crime and Cyber Security
Vercel News
Vercel News
Cisco Talos Blog
Cisco Talos Blog
D
DataBreaches.Net
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Google Online Security Blog
Google Online Security Blog
Recorded Future
Recorded Future
L
LINUX DO - 热门话题
Microsoft Security Blog
Microsoft Security Blog
Latest news
Latest news
C
Check Point Blog
有赞技术团队
有赞技术团队
T
The Exploit Database - CXSecurity.com
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
云风的 BLOG
云风的 BLOG
SecWiki News
SecWiki News
Application and Cybersecurity Blog
Application and Cybersecurity Blog
爱范儿
爱范儿
月光博客
月光博客
V
Vulnerabilities – Threatpost
T
Threat Research - Cisco Blogs
P
Palo Alto Networks Blog
T
The Blog of Author Tim Ferriss
C
Cisco Blogs
Webroot Blog
Webroot Blog
S
Security @ Cisco Blogs

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python) The Hidden Cost of AI Systems Nobody Talks About. undefined vs undeclared, and how typeof behaves Switching from file-based jobs to NATS/Kafka in Rust without changing code io_uring Adventures: Rust Servers That Love Syscalls Why Agentic AI is Killing the Traditional Database The POUR principles of web accessibility for developers and designers Quantum Neural Network 3D — A Deep Dive into Interactive WebGL Visualization How To Install Caveman In Codex On macOS And Windows Automation Pipeline Reliability: Why Your Workflow Breaks When Nobody Is Watching I Built an 'Open World' AI Coding Agent — It Works From ANY Folder From Freelancing to Product: A Tech Service Company's SaaS Transformation China's AI Giants: Adding Tencent Hunyuan & ByteDance Doubao to AI University (74 Providers) On the Vibe Coders and Their Lies clerk: Auto-Summarize Your Claude Code Sessions AI Weekly — 2026/04/10–04/17 | The Model Lockdown Is Here, but the Toolchain Is the Real Battleground AI 週報 — 2026/04/10–2026/04/17 模型封鎖潮來了,但工具鏈才是真戰場 Maybe this is how Open-Source apps are born... 🚀 Fine-Tune LLMs with LoRA and QLoRA: 2026 Guide tRPC v11 + Next.js App Router: End-to-End Type Safety Without the Boilerplate ShadCN UI in 2026: Why I Stopped Installing Component Libraries and Started Owning My Components SaaS Billing in React Server Components: Stripe + Supabase Without a Single `useEffect` Join our DEV Weekend Challenge — $1,000 in Prizes Across TEN winners! Submissions Due April 20 at 6:59 AM UTC. Implementing FSRS Spaced Repetition in Flutter + Supabase — Adding Memory Science to an AI Learning App "I Texted My Localhost From the Train — Claude Code Fixed the Bug Before I Got Home" I Built a Sales Prep AI and It Went Deeper Than Expected Design to Code #2: One JSON, Eleven Outputs Solving the 100M-Row Problem: A Summary Table Pattern for High-Volume Push Notification Logs Flutter Web With Wasm: What Actually Changes For Developers I Built 50 Royalty-Free Soundtracks for My Side Project in a Weekend Using AI Music Generation The Vibe Coding Security Checklist: 7 Things to Check Before You Ship Stop Letting Googlebot Guess Fix Your React App's SEO Right Desconstruindo o Streaming do LinkedIn: Como Criar um Engine de Extração de Vídeo de Alta Performance com HLS e FFmpeg (EDA Part-1) EDA (Exploratory Data Analysis) Explained With Real Life — Why Looking at Your Data Is the Most Important Step in Machine Learning Brand Relationship Management at Scale: Our 4-Touch Outreach System for 200+ Brands Why String.fromEnvironment() Might Return an Empty String in Dart JGuardrails 1.0.0 — Hardening Java LLM Apps Against Jailbreaks, Toxicity, and Prompt Injection Plan and Schedule a Full Week of Threads Content From One Claude Conversation Coding Cat Oran Ep3, Five Tables Changed Everything Updated: BFF Pattern I'm done watching freelancers get buried by 200 proposals. So I'm building the alternative. This is my first post BFS Algorithm in Java Step by Step Tutorial with Examples Tracking LLM Pricing Monthly: An Open Dataset for 22 AI Models How We Measure Content ROI on a Comparison Site: Revenue Attribution Without Perfect Data Introducing Nova AI Ops: The AI-Native Operating System for SRE Teams I built a free desktop video downloader for Windows — Grabbit How Talkie OCR Helps Vision-Impaired & Dyslexic Users Read the World Around Them VRCFaceTracking安装和iPhone面捕配置教程,有bug Even CrowdStrike Can't See Your Agents The Automation Gold Rush: What n8n Workflows and Claude Are Opening Up for Developers Right Now
IRAS: Building a Production-Grade Autonomous Incident Response Agent
Krishna shak · 2026-05-08 · via DEV Community

Krishna shakula

IRAS: Building a Production-Grade Autonomous Incident Response Agent

Incident response at 3 AM is brutal. Your on-call engineer is woken up, scrambles to understand what's broken, manually triages the issue, performs root cause analysis, and then—if they're lucky—can finally propose a fix. This process typically takes 30+ minutes and burns out your team.

We built IRAS to automate this entire workflow. When an alert fires, IRAS triages the incident, performs RCA, generates a remediation plan, and drafts a post-mortem—all within 2 minutes. Your engineer reviews and approves the fix. That's it.

The Problem

Incident response is repetitive and exhausting:

  1. Alert fires → on-call engineer wakes up
  2. Manual triage → what's the severity? what's affected?
  3. Root cause analysis → why did this happen?
  4. Remediation planning → what's the fix?
  5. Post-mortem → document what happened and why
  6. Execution → apply the fix
  7. Follow-up → prevent recurrence

Steps 2-5 are highly repetitive and can be automated. IRAS handles all of them.

The Solution: IRAS

IRAS is an autonomous AI agent built on Claude, LangGraph, and FastAPI. It follows a deterministic workflow:

Alert → Triage → RCA → Remediation → Post-mortem → Human Approval → Execution

Enter fullscreen mode Exit fullscreen mode

Key Features

1. Fully Autonomous with Human Approval Gates

  • The agent makes decisions at each step (triage severity, identify root cause, propose fix)
  • Human approval is required before any remediation is executed
  • Safety-first design: no auto-remediation without review

2. Sub-2-Minute End-to-End Handling

  • Alert ingestion to remediation proposal in <120 seconds
  • Reduces on-call burden significantly
  • Enables faster incident resolution

3. Production-Grade Reliability

  • 99% test coverage with 292 passing tests
  • Comprehensive logging and observability
  • Deterministic workflow with structured outputs

4. Zero External Service Dependencies

  • Mock clients for Slack and PagerDuty included
  • No vendor lock-in
  • Runs entirely on your infrastructure

5. Automatic Post-Mortem Generation

  • Generates incident narratives automatically
  • Includes root cause, impact, and remediation details
  • Reduces post-incident documentation burden

Architecture

Tech Stack

  • FastAPI: REST API for alert ingestion and workflow orchestration
  • LangGraph: Multi-step agentic workflow with state management
  • Pydantic AI: Type-safe agent definitions and structured outputs
  • Claude: Core reasoning engine for triage, RCA, and remediation
  • Pytest: Comprehensive test suite with 99% coverage

Workflow Design

The agent follows a multi-step workflow:

  1. Alert Ingestion: Receives alert from monitoring system (Prometheus, DataDog, etc.)
  2. Incident Triage: Analyzes alert to determine severity, affected services, and impact
  3. Root Cause Analysis: Investigates logs, metrics, and system state to identify root cause
  4. Remediation Planning: Generates a step-by-step fix based on the root cause
  5. Post-Mortem Generation: Drafts incident narrative with timeline and learnings
  6. Human Approval: On-call engineer reviews and approves the proposed fix
  7. Execution: Applies the remediation (if approved)

Each step uses Claude with structured outputs (Pydantic) to ensure reliability and parseability.

Human-in-the-Loop Safety

No auto-remediation happens without human approval. The workflow is designed to:

  • Provide clear, actionable recommendations
  • Enable quick review and approval
  • Maintain human control and oversight
  • Reduce on-call burden without sacrificing safety

Testing and Reliability

IRAS includes 292 passing tests with 99% code coverage. Testing covers:

  • Unit tests: Individual agent steps (triage, RCA, remediation)
  • Integration tests: Full workflow end-to-end
  • Mock clients: Slack and PagerDuty mocked for testing without external dependencies
  • Edge cases: Handling of incomplete data, ambiguous root causes, etc.

The test suite ensures the agent behaves predictably and reliably in production.

Getting Started

Prerequisites

  • Python 3.11+
  • Docker (optional, for containerized deployment)
  • Anthropic API key (for Claude access)

Quick Start

# Clone the repo
git clone https://github.com/krishnashakula/IRAS.git
cd IRAS

# Install dependencies
pip install -r requirements.txt

# Set your Anthropic API key
export ANTHROPIC_API_KEY="your-key-here"

# Run the agent
python -m iras.main

Enter fullscreen mode Exit fullscreen mode

That's it. No complex setup, no vendor lock-in.

Docker Deployment

docker build -t iras .
docker run -e ANTHROPIC_API_KEY="your-key-here" iras

Enter fullscreen mode Exit fullscreen mode

Real-World Impact

In simulated production scenarios, IRAS:

  • Reduces on-call burden by 80%+: Eliminates manual triage and RCA
  • Accelerates incident resolution: Sub-2-minute response time
  • Improves post-mortem quality: Automatic, comprehensive incident narratives
  • Maintains safety: Human approval gates ensure control

Design Decisions

Why LangGraph?

LangGraph provides deterministic, multi-step workflows with state management. Unlike simple prompt chains, LangGraph enables:

  • Clear decision points and branching logic
  • State persistence across steps
  • Easy debugging and observability
  • Integration with human approval gates

Why Pydantic AI?

Structured outputs are critical for reliability. Pydantic AI ensures:

  • Type-safe agent definitions
  • Guaranteed parseability of agent responses
  • Validation at each step
  • Easy integration with downstream systems

Why Mock Clients?

Zero external dependencies means:

  • No Slack/PagerDuty API rate limits during testing
  • Deterministic test behavior
  • Faster test execution
  • Easier local development

Limitations and Future Work

Current Limitations:

  • Requires well-structured alert data (severity, service, description)
  • RCA quality depends on available logs and metrics
  • Remediation proposals are suggestions, not guaranteed fixes

Future Enhancements:

  • Multi-model support (GPT-4, Gemini, etc.)
  • Custom remediation playbooks
  • Integration with more monitoring systems
  • Feedback loops to improve RCA accuracy

Contributing

IRAS is open-source and welcomes contributions. Areas for improvement:

  • Additional test coverage
  • Performance optimizations
  • New integrations (monitoring systems, incident management platforms)
  • Documentation and examples

See the GitHub repo for contribution guidelines.

Conclusion

Incident response doesn't have to be painful. IRAS automates the repetitive parts while keeping humans in control. With 99% test coverage, zero external dependencies, and a production-grade stack, it's ready for real-world use.

If you're tired of 3 AM incident response, give IRAS a try. Your on-call engineer will thank you.

Get started: https://github.com/krishnashakula/IRAS


Have feedback or ideas? Open an issue or PR on GitHub. Let's make incident response less painful for everyone.