Library / AI Agents & Assistants
AI Agents & Assistants
Triage and remediate Kubernetes incidents using Claude and Slack
When an API call/webhook arrives, it runs an AI agent with Claude using Slack.
What it does
## AI Kubernetes Troubleshooting Agent ### How it works 1. A pod/node failure alert (or a manual test run) triggers the workflow. 2. It collects kubectl events, logs, resource usage, and deployment state for the affected resource. 3. Claude diagnoses the likely root cause and proposes one remediation action with a risk level. 4. Safe actions auto-execute; riskier ones wait for human approval in Slack. 5. After the fix, the workflow re-checks cluster health and closes the incident — or escalates to on-call if the symptoms persist. ### Setup - [ ] Add credentials for your cluster diagnostics/action API (never give this workflow raw kubeconfig/cluster-admin credentials directly) - [ ] Add Anthropic Claude, Slack, and incident/ticketing credentials - [ ] Edit Set - Config with your API URLs, auto-executable action list, Slack channels, and health-check thresholds - [ ] Point Wait - For Remediation Approval's resume webhook at your on-call tool's approve/reject action - [ ] Run once from Manual Trigger - Test Run against a known-bad namespace to confirm the full flow works
The steps
- Webhook - Alertmanager/K8s Event Received
- Manual Trigger - Test Run
- Set - Config
- HTTP - Collect Cluster Diagnostics
- AI Agent - Diagnose Root Cause & Propose Remediation
- Anthropic - Diagnostics Model
- JS - Parse Diagnosis Output
- IF - Remediation Is Safe To Auto-Execute?
- Slack - Request Remediation Approval
- Wait - For Remediation Approval
- IF - Approval Granted?
- Set - Case Status Rejected
- Slack - Notify Remediation Rejected
- HTTP - Execute Remediation Action
21 steps in total.
Similar automations
Code, Git & Developer ToolsReview and remediate Kubernetes manifests in GitHub PRs with GPT-4.122 stepsAI Agents & AssistantsTriage and remediate DevOps alerts with Claude, ClickUp, GitHub and Slack24 stepsMonitoring, Ops & IncidentsTriage and remediate incidents with Anthropic Claude and Slack40 stepsAI Agents & AssistantsCreate Kubernetes resources from Slack with Anthropic Claude and safety guardrails21 steps