Context is the specific knowledge an AI SRE uses, alongside the world knowledge in its models, to get to the root cause of a given alert. It's how the agent knows what information to navigate during reasoning. Here, we go through what that context covers, why investigations fail without it, and how a standing context graph stays current.
An AI SRE investigating an alert in systems it doesn't know is querying blind. It doesn't know that checkout calls payments, which dashboard is canonical, or what was deployed yesterday. Every question an engineer would answer from memory becomes a discovery task.
Most of what reads as intuition in a good on-call engineer is accumulated knowledge of the system. They don't search the whole system; they check the three things that are usually the problem. An agent without that knowledge is running an open-ended search against a system it's meeting for the first time, during an outage.
Context is what closes the gap in automated RCA. It's what the agent knows about your systems before and during an investigation.
Context is everything the agent knows about your systems before and during an investigation, and it comes in three types.
Change history earns its place in that first type. Google's SRE book puts roughly 70% of outages down to a change in a live system, so "what changed near the blast radius in the last few hours" is the single highest-value question in most investigations. Answering it means connecting systems that don't naturally communicate with each other, such as deployment pipelines, flag services, and telemetry.
Resolve AI's architecture holds that context with three working parts.
The context graph is how production systems context gets stored and traversed. Operating context comes in through the sources you connect, the runbooks, docs, and channels where the team works. Investigation context accumulates as the agent works and gets folded back into what the system knows. Context engineering is how the right slice of all three reaches the model at each step. Neither the graph nor the engineering is a kind of context. They're how context gets stored and delivered.
Shallow versions of context get sold under the same word. Some tools treat context as retrieving doc snippets when a question comes up, or as pasting raw telemetry into the prompt. That simply isn't enough true context for a production environment. Neither gives the agent a model of your systems.
Context sits in the middle of that architecture for a reason. It is what models use to reason about your production environment, and learning writes what each investigation finds back into it.
Picture a checkout latency alert handed to an agent with no context. It pulls checkout's logs, finds nothing unusual, and reports that. The actual cause is a payments deploy from twenty minutes earlier, one hop upstream, and the agent never looked there for a simple reason. Nothing told it checkout calls payments.
That's what missing production systems context looks like. Each of the three types fails in its own way:
There's a cost failure on top of all three. An agent that doesn't know where to look runs unscoped queries against massive log volume, and model costs and observability query fees blow up fast.
In practice, those failures look like this:
Production systems context needs continuous derivation, because the environment changes underneath it constantly. Autoscaling replaces nodes hourly, deploys land daily, and services appear and disappear, which is why manually curated service catalogs rot within weeks. A dependency map from last month produces confidently wrong hypotheses, so this type has to be rebuilt by machine, continuously, from telemetry, code, and cloud infrastructure.
Operating context has no automatic refresh, which is why it's the type that fails silently. Some of it comes from engineers telling the system, and some can be inferred from behavior. If an alert fires two hundred times and is acknowledged and closed without action every time, that is the team telling the system it's noise. Resolve AI takes both routes, explicit feedback from engineers plus signals inferred from how the team works. Ask any vendor which parts they infer and which require a human, because a vendor claiming operating context updates itself is not credible.
Investigation context only accumulates, and its risk runs the other way. A wrong learning compounds, because a bad heuristic gets applied to every investigation after it. So it needs correction mechanisms, engineers able to overrule what the system learned, and evals that catch a learned heuristic that stopped being true.
Two shortcuts get sold as context.
The first is retrieval. RAG answers similarity questions. “Find docs that mention checkout errors” works fine. “What depends on payments-db two hops out” doesn't, because that's a graph traversal, and nearest-neighbor search over text can't perform one. The structure has to exist before you can query it.
Retrieval also can't do identity resolution. The same service is checkout-svc in Kubernetes, checkout in Datadog, payments/checkout-service on GitHub, and “the cart” in Slack. Joining evidence across tools means resolving all of those into a single entity, and that's preparation work. Doing it for the first time mid-outage means spending the outage on it.
Resolving those names is also harder than it sounds. Some joins come from shared tags or trace metadata; some from naming conventions; and some have to be confirmed against deploy manifests and then maintained as services get renamed and split. Getting it mostly right isn't enough. At 90% accuracy, one join in ten attaches the wrong service's evidence to a hypothesis, and the resulting chain still reads as coherent. The agent doesn't know it's reasoning about the wrong system, and neither does anyone reading the output.
The second shortcut is loading everything into the model, and it fails in three ways.
Context engineering is the discipline that deals with this. In practice, it means a few habits:
There are two ways to give an agent all of this. Assemble it when the incident starts, connecting sources, fetching data, and summarizing on the fly. Or maintain a standing context graph, built and updated before the alert ever fires.
The difference is best shown in multi-hop investigations. Follow the checkout example one hop:
A tool that assembles context per incident pays that discovery cost during the outage, and the discovery time counts against your MTTR.
No single source is the graph. The graph is the reconciliation of all of them, cross-checked and continuously refreshed, which is why it's derived infrastructure rather than a config file someone maintains.
Context cuts the investigation down before reasoning starts. If the agent knows the alerting service has four dependencies and two of them deployed today, it has a short list of likely causes to check first. Without that knowledge, it has to consider everything.
Baselines help similarly. If the agent knows what normal looks like for this service at this hour and which alerts are noise, it can ignore most of the anomalies it finds. Without that, every unusual number looks like it might be the cause, and the agent wastes time on things an experienced engineer would ignore immediately.
Context also lets the agent admit when it can't find the answer. Saying the cause isn't visible in the available data requires knowing what data is available, which sources exist, what they cover, and what they don't. An agent without that knowledge will always produce some answer from whatever it can reach.
This is the relationship between the context layer and the reasoning layer. Reasoning works by considering candidate causes and testing them against evidence. Context is what keeps the candidate list short and the evidence relevant.
Memory and context are related but not the same thing. Memory is what the system learns across investigations, confirmed causes, engineer corrections, and dependencies that an incident exposed. Context is the working set the agent uses during this investigation, drawn from the context graph, live telemetry, and memory. What memory learns gets written into the graph, which is how past investigations improve future context.
With context in place, an investigation runs differently:
The results are a faster path to the cause, fewer escalations to senior engineers who hold system knowledge, and a lower cost per investigation because the agent only queries what matters.
Few vendors will show you their model of your systems, how it was derived, or when it last updated. Until that changes, ask to see the graph built on your own stack during a trial, and watch what happens to it after your next deploy.
Resolve AI builds context as a standing layer. Its agents maintain a context graph of your services, dependencies, and changes, derived from your telemetry, code, and cloud infrastructure, and they query your tools natively, from Datadog and Splunk to Kubernetes. Context engineering keeps each investigation step scoped to the evidence that matters.
That context compounds. Every investigation refines what the system knows about your environment, so the graph gets more accurate with use instead of drifting stale.
The results show up in resolution time. DoorDash Ads reduced time to root cause by up to 87% with Resolve AI, and Salesforce reduced it by roughly 60%. Book a demo to see the context graph built on your own systems.
Context is what the investigating agent knows about your systems, the services and their dependencies, change history, ownership, and how to query your observability tools. It's what lets the agent go from an alert to a root cause without a human supplying the system knowledge.
RAG alone isn't enough context for automated RCA. Retrieval answers similarity questions, and an investigation needs graph traversal and identity resolution that nearest-neighbor search can't perform. Context in automated RCA includes a context graph of services and dependencies, fluency with your tools, and control over what the model sees at each step.
Context keeps queries scoped. An agent that knows which service, time window, and telemetry matter pulls a fraction of the data an unscoped agent would, which cuts both model token costs and observability query fees.
Continuous updates from the same sources it was built from. As deploys land, infrastructure changes, and new services appear in telemetry, the graph updates to match, and investigations themselves feed corrections back in. A manually curated catalog can't keep up with production, so the graph must be derived rather than maintained by hand.
It can run, but every investigation starts with discovery. The agent has to work out dependencies and identify the right data sources while the incident is live, which makes investigations slower, more expensive, and more likely to be wrong.
Stay current on how the best engineering teams are using AI in production. Customer spotlights, product updates, how-tos, and more delivered monthly.