Adoption & procurement · Research feature

Causely: A Causal Intelligence Layer for Enterprise AI A Benchmark Study on SRE and Reliability Workflows

The researchers propose Causely, a causal intelligence layer that maintains a structured representation of environment topology, attribute dependencies, and causal relationships that are anchroed to a ontological representation of the managed environment.

Adapted from research by Dhairya Dalal, Endre Sara, Ben Yemini and colleagues.

arXiv preprint revision · 2026-05-18 · Attribution & reuse
In this article
Editorial illustration of linked workflow.

Authors’ overview

AI agents deployed into SRE workflows currently derive their understanding of environment state from raw observability telemetry at query time, paying a semantic-interpretation tax in tokens, latency, and inferential reliability. We propose Causely, a causal intelligence layer that maintains a structured representation of environment topology, attribute dependencies, and causal relationships that are anchroed to a ontological representation of the managed environment. Causely transforms raw telemetry into a live, queryable model providing the semantic and causal foundation AI agents require to diagnose, evaluate impact, and act safely in production. We evaluate this value proposition through a benchmark study conducted in a controlled setting with injected faults in a 24-microservice OpenTelemetry demo application. Our experiments compare four agent configurations (Claude Code, OpenAI Codex, HolmesGPT with Sonnet and Gemini backends). Experiments are run with and without access to Causely under two scenarios: an active incident and a healthy baseline. On the active-fault scenario, causal grounding reduces mean time-to-diagnosis by 63%, mean token consumption by 60%, and mean tool-call count by 78%, compressing the investigation footprint by 4.8 and lowering direct API cost per run by 57%; root-cause-diagnosis accuracy rises from 75% to 100%.

Rise of Agentic AI and the Promise of Continuous Reliability

Modern software systems are growing in complexity faster than engineering teams can manage through individual effort. Accelerated delivery cycles, complex microservices architectures with cross-service dependencies, and the widespread adoption of AI-generated code have dramatically increased the rate at which new components, dependencies, and failure modes manifest in production environments. McKinsey’s 2025 State of AI report found that 78% of organizations have deployed AI across at least one business function, with C-suite leaders increasingly identifying agentic AI adoption as a competitive imperative. Engineering and platform teams have responded by integrating agentic AI into continuous reliability, the practice of using observability data throughout the DevOps lifecycle to proactively maintain system health across pre-production and production environments, with applications spanning incident detection, root cause analysis, change safety evaluation, and capacity planning. Engineering teams have begun exploring both vendor-supplied and in-house AI solutions for reliability workflows, ranging from agents that assist engineers in investigating and managing alerts to fully autonomous systems capable of end-to-end incident triage and remediation. Yet as these deployments remain in their early stages, the effectiveness of AI agents for continuous reliability has not been rigorously quantified, and whether their performance in practice matches the promise attributed to them remains an open empirical question.

The Telemetry-to-Knowledge Gap for AI Agents

An AI agent answering SRE questions must first understand the state of the environment it is reasoning about: what services exist, how they depend on one another, and what has deviated from normal. Observability platforms are the starting point for this understanding, supplying log streams, latency and error-rates, distributed traces, and infrastructure event feeds. However, observability on face is insufficient to describe environment state: the telemetry must be interpreted and contextualized. Error patterns must be identified in logs, deviations measured against baselines, activity correlated across service boundaries, and events ordered into coherent narratives before any signal becomes knowledge the agent can act on.

Without a persistent context layer, AI agents perform this interpretation on every query, pulling raw telemetry into the context window and deriving a semantic understanding of environment state within a single inference loop. That understanding is rarely clean. Topologies are dynamic, deployments roll over, pods and containers churn, and the agent must piece together services, dependencies, and causal relationships. Entering an investigation with limited context, the agent retraces logs, alerts, and anomalies after the fact. If the environmentstate has shifted, the agent’s conclusions aregrounded in stale evidence, a problem compounded by degradation of model performance over long contexts. As a result, each subsequent agent query costs requires more tool calls and telemetry to be pulled into the context window, making the process expensive as well as fragile.

The Hidden Cost of Environment Interpretation

The token cost of this interpretation work is largely invisible to enterprises today. Most AI deployments are purchased through flat-rate seat subscriptions that bundle model compute at a fixed monthly price, so an agent that consumes 100K tokens per investigation incurs no more visible marginal cost than one that consumes 10K. The true token economics of deriving environment understanding from raw telemetry are rendered invisible: the most inefficient agents, under current billing, look identical to the most efficient ones.

Study Overview

To evaluate these questions, we designed a benchmark comprising 72 experimental runs spanning four AI agent configurations (two productivity AI agents and two purpose-built Ops AI agents), two operational scenarios (a healthy baseline and an active fault), and two conditions (with and without access to Causely).

Query Time Analysis

Mean time-to-diagnosis under the active-fault scenario declined by 63.2% across the four configurations, with per-configuration reductions ranging from 34.8% (Codex) to 82.8% (HolmesGPT (Gemini Pro 3)). In one experiment, a HolmesGPT (Gemini Pro 3) run that took 281s without causal grounding completed in 13s with access to Causely.

The latency gain arose from replacing open-ended interpretation of environment state with targeted causal lookup (§3.3). Baseline agents constructed a view of the environment through repeated CLI or generic MCP calls. Agents with access to Causely instead issued a small number of queries against pre-computed causal structure, such as get_root_causes, get_environment_health, and get_symptoms, and received already-resolved causal state.

The latency reduction comes from reducing the number of sequential reasoning and tool-use steps required to answer the query. In the baseline setting, agents build an answer incrementally: each observation informs the next command or tool call, so total query time accumulates across repeated round trips and intermediate reasoning steps. With access to the causal intelligence layer, much of that intermediate state is already assembled. Topology, active symptoms, and likely root causes can be retrieved directly through a small number of causal queries rather than reconstructed through repeated CLI probes. The reduction is therefore largest for the configurations whose baseline behavior depended most heavily on iterative exploration.

Diagnostic Accuracy Analysis

Causely improves diagnostic accuracy because it removes the need for Ops AI agents to reconstruct causal state from raw telemetry and instead provides direct access to pre-computed causal structure. Impact analysis and root cause localization required combining evidence across multiple entities and distinguishing causal drivers from downstream effects. Root cause localization was the hardest case because the Ops AI agent had to work backward from an observed symptom pattern to the responsible service or entity. With only logs and metrics as inputs, there was often no principled basis for preferring one plausible explanation over another. The causal graph provided that missing structure by identifying the service or entity most likely responsible for the observed symptoms. The same point mattered on the healthy baseline. There, the relevant failure mode was the false positive: the Ops AI agent hallucinated an incident because raw telemetry provided no grounded representation of the absence of fault. A “no active root cause” result changed that by giving the agent a concrete basis for concluding that no incident was present.

Token Consumption and Tool Call Analysis

The same pattern also appeared in failed tool invocations. Productivity agents, which relied on free-form shell access, averaged between 1.5 and 3.5 failed tool calls per baseline run, driven by mistyped commands, missing binaries, and incorrect paths. Under causal grounding, failed calls fell to zero on the active-fault scenario for both productivity configurations. Ops agents, which already operated through a typed MCP interface, exhibited essentially zero failed calls in either condition. The causal interface therefore improved not only performance but also robustness. Calls that would otherwise have failed as malformed shell commands were replaced by well-formed causal queries.

The reduction in tokens and tool calls came from shifting environment interpretation work out of the Ops AI agent’s inference loop. In the baseline setting, the agent had to convert raw telemetry into a usable representation of environment state at run time. That process included enumerating pods, correlating log lines with metric deviations, reconstructing service relationships from trace metadata, and inferring a propagation path. Each step consumed tokens because the intermediate state had to be rebuilt inside the agent’s context window. The causal intelligence layer performed this work ahead of time and exposed the result as typed objects such as entities, symptoms, root causes, and propagation edges. A single causal query could therefore replace the accumulated output of many smaller reconstructive calls. This is why total token use fell even though an individual Causely call was denser than a generic MCP call. The largest compression appeared in the configurations whose baseline workflow depended most heavily on repeated reconstruction of environment state. The same effect appeared for both productivity and Ops AI agents because both had to pay that reconstruction cost when operating directly on raw telemetry.

Token Economics and Cost Analysis

To characterize the cost differential at higher-capability model tiers, we repriced the same active-fault token traces at current published standard API rates for Claude Opus 4.7, GPT-5.5, and Gemini 3.1 Pro. For GPT-5.5, we used standard API pricing; reasoning effort does not have a separate per-token price. For Gemini 3.1 Pro, we applied the documented higher price tier for prompts exceeding 200K tokens.

Methodology

The three metrics above the rule directly address RQ.1–RQ.3. The two below are derived supporting metrics: tool invocations characterize the interaction pattern through which tokens are consumed, and query cost translates token consumption into an operational economic figure. They inform the findings but are not themselves objects of inquiry.

Environment and Application

All experiments were conducted against the OpenTelemetry Astronomy Shop, a CNCF-maintained polyglot microservices reference application. The deployment comprised 24 microservices exercising six distinct infrastructure categories (Kubernetes workloads, PostgreSQL, Valkey/Redis, Kafka, OpenSearch, and a feature-flag service), providing a realistic cross-section of the entity types over which the causal intelligence layer operates. The application was deployed on a local kind cluster with native OpenTelemetry instrumentation producing traces, metrics, and logs. In treatment runs, the Causely mediator was deployed alongside the application and exposed to the agent via the Causely MCP server; baseline runs used the same cluster and observability stack without the Causely MCP server, holding the underlying raw telemetry constant across conditions.

Summary of Experimental Protocol

Each of the four agent configurations (two productivity AI agents, two Ops AI agents) was executed under two conditions (baseline and baseline plus Causely) against two scenarios: an active-fault scenario, in which a code-level defect in the payment service causes every transaction to be rejected and propagates degradation into three downstream services, and a healthy-baseline scenario, in which the same application runs without faults. The active-fault scenario administers six queries per cell and the healthy-baseline scenario administers three, yielding 72 experimental runs. For each run the execution trace, token usage, tool invocations, and final response were persisted and scored against a pre-registered correctness rubric. Full details of the agent configurations, the injected fault, the correctness rubric, and the data-collection schema are given in Appendix B.

Discussion

The benchmark measured the reconstruction tax on a 24-service environment under a single injected fault. These are favorable conditions for baseline agents: a small topology, an isolated fault, and a service count that limits how much cross-service correlation any investigation requires. In production, each of these factors scales up. To examine what the cost structure looks like as environments grow, we project from the benchmark Ops AI mean token counts across three representative environment profiles. We assume baseline token consumption scales linearly with service count, which is a conservative lower bound since multi-service incidents in larger environments require proportionally more cross-service log and trace correlation. We assume Causely token consumption scales with active issue count rather than topology size, since pre-computed causal state is returned in compact form regardless of how many services the environment contains.

Baseline agents operating on raw telemetry are inefficient reasoners. Our benchmark records an average of 18 tool calls and 319K tokens per investigation, spent reconstructing environment state before any diagnostic reasoning begins. This reconstruction work is not diagnostic effort: it is overhead paid on every query to establish what the environment looks like before the reliability question can be addressed. It scales with topology complexity, not with the difficulty of the question being asked.

Limitations and Future Work

Several limitations qualify the generality of these findings. The active-fault scenario evaluates a single class of defect, an application-layer code bug, and does not directly speak to infrastructure faults, misconfigurations, or resource-exhaustion failures, each of which may exercise the causal intelligence layer differently. The deployment environment is a local kind cluster rather than a production-scale system, so absolute latency and token figures should be interpreted as relative comparisons within a controlled environment rather than as projections onto customer-scale workloads. Sample sizes per condition are modest (six queries for the fault scenario and three for the healthy baseline), and we do not report confidence intervals or formal significance tests; the large and consistent effect sizes observed across configurations mitigate but do not eliminate this concern. Prompt wording was fixed per query to isolate the treatment effect, but the results may be sensitive to phrasing, and no prompt-perturbation study was conducted. Finally, the HolmesGPT (Gemini Pro 3)configuration deviated from the otherwise consistent pattern of improvement on several metrics; the underlying cause is unresolved and is itself a subject for further investigation.

Agent Configurations

The four agent configurations vary agent framework and underlying model independently across the two archetypes. Productivity AI agents are deployed against their native toolset (shell access and kubectl), approximating how a general-purpose developer agent would be deployed in practice when asked to diagnose a reliability issue. Ops AI agents rely on a curated set of MCP servers for observability primitives (metrics, logs, traces, Kubernetes) rather than shell access. In the treatment condition, each agent received the Causely MCP server in addition to its baseline toolset; no other changes were made to prompts, models, or tool permissions.

Fault Injection

The active-fault scenario was realized by injecting a code-level defect into the payment service such that every submitted transaction was rejected. The defect is representative of a common class of application-layer regressions that surface only through their downstream effects: it produces no infrastructure alarms, no resource exhaustion, and no process-level failures, yet it propagates through the transaction path to degrade three downstream services (checkout, accounting, shipping), with elevated error rates and user-visible impact. The ground-truth root cause and blast radius were fixed by construction and verified before each run. The healthy-baseline scenario executed the same application build with the defect absent. Operating both scenarios against an identical topology, traffic profile, and observability configuration isolates the effect of the fault itself.

Correctness Rubric

Correctness was evaluated against a query-type-specific rubric defined prior to data collection. For each query type, the rubric states a sufficient condition for a correct response in both scenarios; responses were scored independently against this rubric and recorded as a binary pass/fail outcome.