AI SRE Agents for Production System Diagnostics

cleric · Tech · 2023 · source Agentic: yes · promotional bias: low · source-backed · extracted with prompt 0.5.4 (schema v2)

Generated from extraction.json — do not edit by hand. Every claim cites verbatim source evidence; stated means the quote directly asserts the claim, implied means it supports it indirectly.

Problem

Domain: Production incident diagnostics

Cleric is building AI SRE agents that can diagnose production incidents, but production environments are dynamic, sparse in labels, hard to reproduce, and risky enough that bad agent noise quickly destroys operator trust.

Constraints:

Architecture

Cleric’s AI SRE uses a continuously updated production knowledge graph, tool abstractions over logs/metrics/traces/cloud systems, memory layers for customer-specific procedures and episodes, a confidence score plus critiquer to decide whether to notify humans, and an external evaluation bench that mirrors production tools. Background scanning updates the graph within budget limits, investigation agents use the graph and tools to root-cause alerts or engineer-submitted issues, and human feedback on findings becomes sparse positive or negative training signal.

Diagram confidence: reconstructed (reconstructed from prose).

flowchart LR
  production-environment["production-environment"] --> background-graph-scanner["background-graph-scanner"]
  production-environment["production-environment"] --> tool-abstraction-layer["tool-abstraction-layer"]
  production-environment["production-environment"] --> diagnostic-agent["diagnostic-agent"]
  background-graph-scanner["background-graph-scanner"] --> production-knowledge-graph["production-knowledge-graph"]
  efficient-scanning-models["efficient-scanning-models"] --> background-graph-scanner["background-graph-scanner"]
  production-knowledge-graph["production-knowledge-graph"] --> diagnostic-agent["diagnostic-agent"]
  tool-abstraction-layer["tool-abstraction-layer"] --> diagnostic-agent["diagnostic-agent"]
  memory-layer["memory-layer"] --> diagnostic-agent["diagnostic-agent"]
  diagnostic-agent["diagnostic-agent"] --> confidence-critiquer["confidence-critiquer"]
  confidence-critiquer["confidence-critiquer"] --> human-sre["human-sre"]
  human-sre["human-sre"] --> feedback-signal-store["feedback-signal-store"]
  feedback-signal-store["feedback-signal-store"] --> memory-layer["memory-layer"]
  tool-abstraction-layer["tool-abstraction-layer"] --> evaluation-bench["evaluation-bench"]
  evaluation-bench["evaluation-bench"] --> memory-layer["memory-layer"]
Drag to pan · scroll or use +/− to zoom · reconstructed from the source's described component topology

Components

Component Role Interacts with
production-environment Customer Kubernetes, cloud infrastructure, services, observability data, deployments, and operational systems being diagnosed. background-graph-scanner, tool-abstraction-layer, diagnostic-agent
background-graph-scanner Budgeted scanning process that discovers infrastructure state and updates the production knowledge graph. production-environment, production-knowledge-graph, efficient-scanning-models
production-knowledge-graph Continuously refreshed graph of systems, dependencies, deployments, risks, and context used for efficient root-cause search. background-graph-scanner, diagnostic-agent, memory-layer
diagnostic-agent Root-cause investigation agent that handles alerts or engineer-submitted issues. production-environment, production-knowledge-graph, tool-abstraction-layer, memory-layer, confidence-critiquer, human-sre
tool-abstraction-layer Access layer for logs, code, config, traces, metrics, Kubernetes, cloud, Slack, runbooks, and eval-world tools. production-environment, diagnostic-agent, evaluation-bench
memory-layer Customer-specific procedures, generalized memories, past episodes, Slack/runbook summaries, and accepted or rejected findings. production-knowledge-graph, diagnostic-agent, evaluation-bench
confidence-critiquer Scores and critiques agent findings to decide whether to notify humans or stay quiet. diagnostic-agent, human-sre
human-sre Engineer who reviews findings, asks follow-up questions, approves suggestions, or takes over investigation. diagnostic-agent, confidence-critiquer, feedback-signal-store
feedback-signal-store Stores implicit and explicit engineer feedback such as accepted recommendations, dismissed findings, and PR-style actions. human-sre, memory-layer, evaluation-bench
evaluation-bench Controlled non-customer environment with handcrafted labels and transferable tools for training and validating agents. tool-abstraction-layer, memory-layer, feedback-signal-store
efficient-scanning-models Cheaper models used for high-volume background graph scanning rather than expensive reasoning. background-graph-scanner

Data flow

Background jobs inspect infrastructure, Kubernetes objects, deployments, Slack/runbook context, and other production signals to update a graph. When an alert fires or an engineer asks for help, the diagnostic agent traverses that graph, calls observability and production tools, consults customer-specific memories and procedures, and searches for likely root causes. A confidence score and critiquer decide whether the agent should respond, stay quiet, ask for more interaction, or hand back to a human. Findings, engineer reactions, accepted recommendations, and handcrafted eval-bench labels feed future improvement.

4 supporting quotes
“the graph is built in two ways one is a background job where it's just like looking through your infrastructure and finding new things and updating itself continuously”transcript, stated
“if you've got an alert that fires or could an engineer presents an issue to the agent”transcript, stated
“so we have a confidence score and we have a critiquer at the end that assesses the agent”transcript, stated
“we b a complete abstraction to the production environment so the agent uses these tools and learns how to use these tools”transcript, stated

Why this architecture

Cleric uses graph context and tools because first-principles exploration of a live production system is too slow and expensive. The confidence gate protects engineer attention because noisy findings would get the product removed. Tool abstraction makes eval scenarios transferable to production, while customer-specific memory sits on top of a generalized base agent so improvements can transfer across customers without losing local procedures.

4 supporting quotes
“the graph allows it to very efficiently get to the root course um and so that fuzziness is one of the challenges”transcript, stated
“ultimately it's about attention and saving them time so if you keep throwing like bad findings and bad information they really they'll just rip you out”transcript, stated
“if you do so in a way where the tools are different the worlds are different experience are different there's less transferability”transcript, stated
“the agents get contextual information per customer so it gets injected like localized customer specific procedures and memories”transcript, stated

Models used: AI SRE diagnostic agent · knowledge graph · confidence score · critiquer · evaluation bench · efficient background models

Scale

Alternatives considered (roads not taken)

Investigate production problems only from first principles

Rejected because: The graph lets the agent search much more efficiently than blindly trying tools and hypotheses.

“if it didn't have the graph it could still do it through first principles right it could still say looking at everything that's available I'll try this I'll try that”transcript, stated

Continuously scan all logs and cloud data with expensive reasoning models

Rejected because: The team treats background scanning like a budgeted lay-of-the-land pass and uses more efficient models because of volume.

“if we do background scanning graph building we try and use more efficient models so because of the volume of data”transcript, stated
“you set it like a daily budget of that and then you run up to the budget”transcript, stated

Always notify engineers when the agent finds something

Rejected because: Noisy low-confidence findings would worsen alert fatigue and destroy trust.

“we try and not you know spam the human ultimately it's about attention and saving them time”transcript, stated

Train only from real customer feedback

Rejected because: Production feedback is sparse and lopsided, so a handcrafted eval bench is needed for coverage.

“at the end of the day it's still a very sparse data set”transcript, stated
“the eval bench is ultimately what is the Firm Foundation that gives you that coverage”transcript, stated

Patterns

agent-memory (state)

Cleric stores customer-specific procedures, memories, past episodes, and engineering feedback so the agent can reason with local operational context.

“we're storing all of these memories mostly As I think the valuable ones are the episodes”transcript, stated

tool-use-orchestration (agent-architecture)

The diagnostic agent depends on tools for logs, metrics, traces, configuration, cloud state, and eval-world access rather than raw model reasoning alone.

“they need the same tools if you're storing all of your data and data dog we may not be able to find all the information we need”transcript, stated

confidence-thresholding (safety)

The agent uses confidence scoring and a critiquer to decide when to surface findings and when to stay quiet.

“if we're confident will respond if not we'll just be quiet”transcript, stated

human-in-the-loop-gate (safety)

Humans can authorize further investigation, take over at budget limits, and provide explicit feedback on bad or useful findings.

“they allow the human to say okay go a bit further or stop here I'll take over”transcript, stated

cost-aware-routing (optimization)

High-volume background scanning uses cheaper models and budgets, while deeper reasoning is reserved for investigations.

“because of the volume of data you don't use expensive models that are used for like you know very accurate reasoning”transcript, stated

eval-driven-development (evaluation)

A controlled eval bench with handcrafted labels gives coverage that sparse production feedback cannot provide.

“our evaluation bench which is external from customers where we train our agents and we do a lot of really hand the handcrafted labeling”transcript, stated

observability-tracing (observability)

The speaker expects trace-style high-cardinality event data to be more agent-useful than human-centric metric dashboards.

“the honeycomb approach the trace based approach with these high cardinality events is probably the thing that I put my money on”transcript, stated

Tradeoffs

Keep early production access read-only

Chose diagnosis and recommendations over automatic remediation in live systems.

Rationale: Read-only access reduces operational risk while the product earns trust before moving toward closed-loop resolution.

“our agent cannot make change I didn't make suggestions so all your data want to change that right that later”transcript, stated

Spend more initially on context visibility

Chose show the agent more information out of the gate over prematurely minimizing context for cost and latency.

Rationale: The speaker says the system typically errs toward being valuable first, then optimizes cost and latency later.

“we typically ear on the side of spending more money and just having the agent see it and then optimizing cost and latency over time”transcript, stated

Use a production-like fake world for evals

Chose transferable tool abstractions and simulated scenarios over eval tools and worlds that differ from production.

Rationale: Keeping tools and worlds similar improves transfer when the agent moves from eval scenarios to real customer environments.

“ferability when you then take it into the production environment and suddenly it's going to fall flat so you want the like a a real simile of the environment in your your tool or your eval bench and are you doing any type of chaos engineering to just see how the agents perform yes that's pretty much”transcript, implied

Gotchas (what bit them)

Production knowledge graphs become stale almost immediately.

Root cause: Production systems change quickly through deployments, IP changes, pod renames, and configuration updates.

Resolution: Continuously update the graph through background scanning and investigation-time discoveries rather than treating it as static documentation.

“you build that graph it's out of date almost instantly because system shange so quickly”transcript, stated
“when the agent's doing investigation and it sees new information and it just throws that back into the graph”transcript, stated

Agent failures can consume budget slowly while producing little value.

Root cause: Agents may chase recursive loops or weak directions when they do not have a strong path to root cause.

Resolution: Use run-time duration, confidence scoring, and a critiquer as failure signals before notifying humans.

“when the agent succeeds it succeeds very quickly when fails very slowly”transcript, stated
“our agents sometimes do chase their tails so we have a confidence score and we have a critiquer”transcript, stated

Human-centric observability dashboards are not necessarily agent-friendly.

Root cause: LLMs struggle with metrics and time series compared with semantic sources like code, config, and logs.

Resolution: Use tools and data abstractions better suited to agents, with trace/high-cardinality event data as a likely better substrate.

“Foundation models are good at certain types of informations especially semantic ones so code config logs”transcript, stated
“they really suck at metrics they really suck at time series”transcript, stated

Customer-specific production context does not transfer cleanly from one environment to another.

Root cause: Each company has bespoke systems, shorthand, procedures, and access patterns.

Resolution: Layer localized customer procedures and memories on top of a generalized base agent and eval bench.

“you don't understand our systems and our processes and our context and the second one is that you don't know how to integrate or access these”transcript, stated
“you do want to have cross cutting benefits to all customers and accuracy driven by the eval bench but also customization”transcript, stated

Evaluation

Cleric combines sparse production feedback with a controlled eval bench. Production feedback comes from human reactions, accepted recommendations, system health after changes, generated PRs, and implicit interaction signals; the external eval bench provides handcrafted labels and tool-transferable scenarios for broader coverage.

Metrics: confidence score · agent run duration such as 30 seconds versus 3-7 minutes · human positive/negative feedback on findings · post-change system health · accuracy on handcrafted eval-bench labels · budget spent per investigation

3 supporting quotes
“our primary mean of feed means of feedback is monitoring system Health post um change”transcript, stated
“if we present findings and say Here's five findings and here's our diagnosis and you say this is dumb try something else then we know that was bad”transcript, stated
“even a smaller data set gets the agent to a much much higher degree of accurac”transcript, stated

Outcomes

The transcript is a product/architecture discussion rather than a deployment case with customer counts; concrete scale claims center on per-investigation budgets, 3-7 minute failure-duration heuristics, and the difficulty of reproducing enterprise production systems at scale.

3 supporting quotes
“our agent is essentially a diagnostic agent right now so it helps teams quickly root cause a problem”transcript, stated
“the graph allows it to very efficiently get to the root course”transcript, stated
“the confidence score has been a very powerful technique to at least eliminate most true positiv”transcript, stated