OpenRCA Software Failure Analyst

Benchmarks and diagnoses software failures across metrics, traces, and logs.

Stars
★ 461
Last updated
1mo ago
FARS reviewed
Nov 07, 2026
License
MIT
Primary language
Python

At a glance

How it runs
CLI
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
Python 3.10 or 3.11Packages listed in requirements.txtOpenRCA telemetry datasetAt least 80GB storage recommendedAt least 32GB memory recommendedShell / CLINetwork accessLocal filesystem
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.

  1. An LLM research team can benchmark models on root-cause localization that requires joint reasoning over metrics, traces, and logs.
  2. An agent developer can run RCA-agent on the Telecom, Bank, or Market datasets and compare it with the balanced and oracle baseline scripts.
  3. An observability researcher can study failure diagnosis that depends on several telemetry types rather than KPI-only detection.
  4. A team with private telemetry can build internal benchmark tasks after mapping its records to the OpenRCA record.csv schema.
  5. 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.yaml main/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.txt

Download 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 Bank

The 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-2

Test 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.csv

The 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+8

python -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)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

FARS trust-control audit

Verified present in source (3/3)
  • least-privilege scoping
  • data-flow disclosure
  • verifiable attribution

What are this agent's strengths and limitations?

Pros
  • 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.
Limitations
  • 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?

FollowAgents source review · FARS-2.1
Some gaps
72/ 100 5-point scale 3.6 / 5
Trust 19/29
Reliability 9/14
Adaptability 15/18
Convention 14/18
Effectiveness 10/13
Verifiability 5/8
Why each dimension lost points
Trust19 / 29 · 3.3/5

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.

Reliability9 / 14 · 3.2/5

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.

Adaptability15 / 18 · 4.2/5

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.

Convention14 / 18 · 3.9/5

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.

Effectiveness10 / 13 · 3.8/5

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.

Verifiability5 / 8 · 3.1/5

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.

Risks and how to mitigate them
  • 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.
Evidence confidence: Low Reviewed Nov 07, 2026 Reviewed revision 2a481ae63cb0
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/openrca.svg)](https://followagents.com/en/agents/openrca)
<a href="https://followagents.com/en/agents/openrca"><img src="https://followagents.com/badge/openrca.svg" alt="FARS review"></a>

FAQ

Does running it require a paid model API?
Reproducing model-backed results requires an API configuration. The repository documents an OpenAI example and mentions archived Claude-version predictions; actual charges depend on the selected provider and model, and no pricing is stated.
Can I evaluate my own agent?
Yes. Its prediction CSV must contain at least a 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?
Fault records use UTC+8, so conversion through another local timezone can introduce an offset. Telemetry also has a fixed sampling frequency, meaning an exact sample may not exist at the ground-truth timestamp.
Can it ingest any private observability dataset unchanged?
It can generate tasks from private telemetry, but the record schema must match OpenRCA's 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?
No. Bank components are represented at pod level, Market relationships are described in metric_container.csv, and Telecom deployment relationships are provided through a linked spreadsheet.
Was this page helpful?
View on GitHub ↗ Install ↓

Related concepts