umangbagadi03

Faultline — AI skill for Claude Code

AI community

Root-cause analysis for failed AI agent runs.

How to install Faultline

This entry records only its repository, not the path inside it, so there is no exact command to give. Open umangbagadi03/faultline and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Faultline does

Root-cause analysis for failed AI agent runs. LangGraph multi-agent investigation, evidence-checked hypotheses, sandbox replay that proves the fix, auto-generated regression tests.

Alternatives in AI

  • Claude Replay — Convert AI coding agent sessions (Claude Code, Cursor, Codex, Gemini, OpenCode) into self-contained, embeddabl 644 ★
  • OpenSRE — OpenSRE — the memory-first AI SRE 112 ★
  • Temp Doc — Manage temporary documentation created during task execution - prevent git pollution from AI-generated checkli 64 ★

README

Faultline

Root-cause analysis for failed AI agent runs

**Observability tells you *what* happened. Faultline tells you *why*, proves the fix, and writes the regression test.**

![Python](https://img.shields.io/badge/python-3.11%2B-3776AB?logo=python&logoColor=white) ![LangGraph](https://img.shields.io/badge/LangGraph-multi--agent-1C3C3C) ![FastAPI](https://img.shields.io/badge/FastAPI-009688?logo=fastapi&logoColor=white) ![Claude](https://img.shields.io/badge/LLM-Claude-D97757) ![Tests](https://github.com/umangbagadi03/faultline/actions/workflows/tests.yml/badge.svg) ![License](https://img.shields.io/badge/license-MIT-blue)

![Faultline dashboard](docs/images/dashboard.png)


The problem

When an LLM agent fails in production, tools like Langfuse and LangSmith show you a long trace of LLM calls and tool calls. Someone still has to read it and answer three questions:

  1. Which step actually broke the run? The error you see is usually a symptom. The cause sits a few steps earlier.
  2. What is the fix?
  3. How do we know the fix works, and that the bug never comes back?

Faultline automates all three.

What it does

You give Faultline the trace of a failed agent run. A **7-node LangGraph pipeline** investigates it:

# Node What it does
1 Triage Runs 7 deterministic detectors over the trace. No LLM, so no hallucination.
2 Researcher Retrieves matching failure playbooks and similar past incidents (BM25 RAG).
3 Investigator Forms root-cause hypotheses with quoted evidence (Claude, or rules when offline).
4 Critic Rejects any hypothesis whose evidence is not literally in the trace, and sends it back for a retry.
5 Fixer Maps the root cause to a concrete guard: retry, loop guard, permission gate, argument patch…
6 Replayer Re-runs the failing steps in a sandbox with the fix applied to prove it works.
7 Test writer