OpenRCA Software Failure Analyst
Benchmarks and diagnoses software failures across metrics, traces, and logs.
- Source repo
- microsoft/OpenRCA
- Stars
- ★ 461
- Last updated
- 1mo ago
- FARS reviewed
- Nov 07, 2026
- License
- MIT
- Primary language
- Python
- FA score
- 72/100 · Some gaps
At a glance
- How it runs
- Works with
- Portable with changesOpenAI APIClaude API (Partial support)
- Cost
- Free software; you pay for model usage
- Setup effort
- High · needs real infrastructure
- You'll need
- Typical use
- An LLM research team can benchmark models on root-cause localization that requires joint reasoning over metrics, traces, and logs.
- Not a fit if
- Laptops without 80GB storage and 32GB memory
- Users wanting out-of-the-box data without a separate large telemetry download
- Website
- aka.ms/openrca ↗ set on GitHub
- Maintenance
- Commits in the last 6 monthslast commit 2026-10-22
- Source review
- 72/100 · Some gaps
What does this agent do, and when should you use it?
OpenRCA is a benchmark for root-cause analysis in software operating environments, accompanied by RCA-agent as its baseline agent. Given a natural-language query, it examines KPI time series, dependency trace graphs, and semi-structured logs to identify when a failure occurred, which component caused it, and why. RCA-agent uses Python to retrieve and analyze telemetry instead of placing the entire dataset in the model context. The repository includes command-line workflows for evaluation, paper-result reproduction, and generation of new tasks from OpenRCA or schema-compatible private telemetry. It runs in a local Python environment, reads and writes filesystem data, and requires model API configuration when executing model-backed baselines.
The workflow starts with query.csv, record.csv, and date-partitioned telemetry/log, telemetry/metric, and telemetry/trace data under dataset/{SYSTEM}, where the system can be Telecom, Bank, or Market. RCA-agent retrieves and analyzes that telemetry with Python and uses a configured model to reason about the root cause. python -m rca.run_agent_standard --dataset ... runs the standard agent, while run_baseline_balanced and run_baseline_oracle invoke other paper baselines. Predictions are written as CSV data with at least a prediction field containing a JSON-like, chronologically ordered list of failures. Each failure specifies root cause occurrence datetime, root cause component, and root cause reason. python -m main.evaluate compares predictions with ground-truth query files and writes a report CSV, while python -m main.generate creates new queries from main/task_specification.json and records matching the OpenRCA schema.
- An LLM research team can benchmark models on root-cause localization that requires joint reasoning over metrics, traces, and logs.
- An agent developer can run RCA-agent on the Telecom, Bank, or Market datasets and compare it with the balanced and oracle baseline scripts.
- An observability researcher can study failure diagnosis that depends on several telemetry types rather than KPI-only detection.
- A team with private telemetry can build internal benchmark tasks after mapping its records to the OpenRCA
record.csvschema. - An ICLR 2025 researcher can evaluate the archived predictions or rerun the documented experimental entry points.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
pip install -r requirements.txt
- Environment variables
API_KEY- Config files
rca/api_config.yamlmain/task_specification.json- Runtime
- Python 3.10
How do you install or deploy this agent?
Python 3.10 or 3.11 is required. The repository recommends at least 80GB of storage and 32GB of memory.
# Optional Conda environment
conda create -n openrca python=3.10
conda activate openrca
git clone https://github.com/microsoft/OpenRCA.git
cd OpenRCA
pip install -r requirements.txtDownload the telemetry dataset from the Google Drive location supplied by the repository and place it under the initially empty dataset/ directory. Model-backed runs also require rca/api_config.yaml. The documented OpenAI example sets SOURCE: "OpenAI", MODEL: "gpt-4o-2024-05-13", and API_KEY: "sk-xxxxxxxxxxxxxx".
How do you use this agent?
A first RCA-agent run can target the Bank dataset:
python -m rca.run_agent_standard --dataset BankThe two Market cloudbeds are processed separately:
python -m rca.run_agent_standard --dataset Market/cloudbed-1
python -m rca.run_agent_standard --dataset Market/cloudbed-2Test runs create a test directory containing results and monitor files. To evaluate a custom prediction file, run:
python -m main.evaluate \
-p path/to/prediction.csv \
-q dataset/Bank/query.csv \
-r test/report.csvThe prediction CSV must contain at least a prediction field. To generate a task from compatible records, use:
python -m main.generate \
-s main/task_specification.json \
-r path/to/record.csv \
-q path/to/query.csv \
-t UTC+8python -m main.generate -d True regenerates random OpenRCA queries.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
FARS trust-control audit
- least-privilege scoping
- data-flow disclosure
- verifiable attribution
What are this agent's strengths and limitations?
- It combines KPI time series, dependency traces, and semi-structured logs in one root-cause-analysis benchmark.
- RCA-agent retrieves and analyzes telemetry through Python, reducing the need to send an excessively long dataset directly to the model.
- A defined prediction schema, evaluation command, and report output make custom-model and custom-agent comparisons practical.
- The task generator supports both OpenRCA telemetry and private records that follow the required schema.
- The documented resource footprint is substantial: at least 80GB of storage and 32GB of memory are recommended.
- The telemetry is not included in the empty
dataset/directory and must be downloaded separately from Google Drive. - Model-backed experiments require external API credentials and may incur provider charges; no cost estimate is documented.
- All fault records use UTC+8, so incorrect timezone handling can produce misleading timestamp or component matches.
- Network faults commonly require parent-child span latency analysis and often cannot be identified from KPIs alone.
How does this agent compare with similar options?
The repository provides RCA-agent alongside the run_baseline_balanced and run_baseline_oracle paper baselines. RCA-agent's stated distinction is its use of Python for telemetry retrieval and analysis, which avoids requiring the model to process an excessively long context. The supplied material does not report comparative scores, so it does not establish which approach performs best.
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| OpenRCA Software Failure Analyst This agent | 72 · Some gaps | CLIFree + model costs | ★ 461 | 1mo ago | Python | OpenAI API |
| Ongrid | 70 · Some gaps | Self-hosted serviceFree + model costs | ★ 1.3k | 3d ago | Go | OpenAI API · Claude API |
| DataBuff | 65 · Some gaps | Self-hosted serviceFree + model costs | ★ 728 | 1mo ago | Java | OpenAI API |
| HolmesGPT SRE Agent | 62 · Some gaps | CLIFree + model costs | ★ 4k | 1d ago | Python | OpenAI API |
How does FollowAgents rate this agent?
Why each dimension lost points
The README describes read-only telemetry mounts, no external network, an unprivileged container, resource limits, process freezing, and destruction on failure, supporting a score of 3 for least privilege. These measures do not replace Docker or host-kernel security, and telemetry and execution results remain untrusted inputs, so sensitive-data handling scores 2. The README discloses API configuration, model calls, and execution flow, but offers no confirmation step before API calls, file generation, or container operations; confirmation scores 1 and external-effects transparency scores 2. No rollback procedure is shown, so rollback scores 1. The README cites the paper and the LICENSE identifies copyright, earning 3 for source attribution. requirements.txt pins versions but provides no lockfile, hashes, or dependency-risk review, so dependency security scores 1.
The README, test files, and execution notes are broadly consistent about sandbox behavior. The static test material covers the protocol, errors, and some isolation regressions, but cannot establish runtime results, so self-consistency scores 2. Python, dependency installation, and Docker image setup are documented, while API services, external dataset downloads, and Docker remain availability prerequisites, so dependency availability scores 2. The docs say timeout, protocol, or freezer failures terminate diagnosis, and tests show error text and failure status; ordinary errors can be retried, but user-facing troubleshooting is not comprehensive, so failure messages score 2.
The stated scenarios cover software-failure diagnosis across telemetry types and allow custom agents and privacy telemetry, earning 3 for audience and scenarios. Execution boundaries, the lack of host-execution fallback, mount scope, and sandbox limits are clearly stated, earning 3 for capability boundaries. RCA-agent has concrete usage commands, but trigger conditions and non-applicable cases are not separately specified, so trigger precision scores 2. Python, memory, storage, API, and Docker requirements are explicit, but environment options are constrained and resource-intensive, so environment fit scores 2.
The README is organized into installation, evaluation, reproduction, reconstruction, FAQ, and citation sections, earning 3 for information architecture. Installation steps and Python version are clear, but users must handle dataset downloads, dependencies, and Docker prerequisites, so install notes score 2. Project, baseline, and command names are mostly stable, though examples require readers to distinguish dataset paths and run modes, so naming stability scores 2. Commands, input formats, data layout, and common questions have concrete examples, earning 3. The README explains resource needs, timezone, sampling frequency, network-fault analysis, and limits of Docker isolation, earning 3 for known limitations. The LICENSE contains the full MIT terms, earning 3. No version policy or changelog appears in the supplied material, so versioning and changelog score 1. Microsoft security reporting is clear and organizational provenance gives a maintenance path, but no project-level maintainer or update cadence is shown, so maintenance responsibility scores 2.
The prediction CSV format, evaluation command, and report path are documented, making outputs usable, earning 3. The benchmark and RCA-agent provide reusable evaluation and a baseline for root-cause analysis across KPIs, traces, and logs, earning 2; the supplied material does not establish practical gains over alternatives. The README calls for at least 80GB storage and 32GB memory, API configuration, and Docker execution, indicating substantial resource and call costs, so cost-benefit scores 2.
The README gives inspectable input formats, data layout, commands, and security configuration, and cites the paper; some performance and effectiveness claims lack supporting results in the supplied material, so claim traceability scores 2. Test source partly corresponds to the README's security descriptions, and the license file corroborates the badge; however, static tests do not confirm all isolation claims, so cross-source corroboration scores 2. The docs label recommended models as examples and distinguish tests from Docker integration tests; some security and effectiveness claims remain documentary assertions, so fact-inference separation scores 2.
- This is a static review with low confidence; code, tests, Docker isolation, and diagnosis flows were not executed.
- The sandbox still depends on Docker and the host kernel. The README advises keeping them patched and using a dedicated VM or stronger isolation for hostile multi-tenant workloads.
- Running the baseline requires model API configuration and a separately downloaded dataset; the README also warns of substantial storage and memory requirements.
FAQ
Does running it require a paid model API?
Can I evaluate my own agent?
prediction field. For submitted results, you must disclose whether the agent is open source; a closed agent also requires descriptions of its tools, MCPs, or skills so reviewers can check that it does not read ground truth from records.csv.Why might the observed fault time differ from the recorded time?
Can it ingest any private observability dataset unchanged?
record.csv, and main/task_specification.json must be configured. No direct, conversion-free connector to arbitrary observability platforms is documented.Are deployment relationships modeled identically across all datasets?
metric_container.csv, and Telecom deployment relationships are provided through a linked spreadsheet.Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.