
RCA in under 90 seconds: the nine-layer autonomous NOC architecture
Technical deep-dive · The Alarm Storm (2 of 2)
Data and Ai lead at AWS
Forty-seven alarms across eight elements and three vendors, resolved to one root cause in ninety seconds — this is the architecture that hits that number. A nine-layer, multi-agent design walks T+0s to T+84s, with a pre-computed causal graph that narrows 47 alarms to 3 candidates in under 10ms before the model spends a token.
Key terms in this article
DAG — Directed Acyclic Graph — a graph of one-way links with no cycles; here, alarm cause→effect.
GDPR — General Data Protection Regulation — EU/UK data-protection law.
KPI — Key Performance Indicator — a measured performance metric (throughput, latency, packet loss).
LLM — Large Language Model — the AI model that does the semantic reasoning.
NIM — NVIDIA Inference Microservice — a containerised way to serve a model.
PII — Personally Identifiable Information — subscriber data that must be protected.
RAN — Radio Access Network — the cell-tower / radio layer of a mobile network.
RBAC — Role-Based Access Control — permissions scoped by role (here via Cedar policies).
RCA — Root Cause Analysis — working backwards from symptoms to the single underlying fault.
SLM — Small Language Model — a compact model run at the edge for filtering.
The previous article made the claim: an autonomous NOC should resolve a full alarm storm — diagnosis, blast radius, triage priority — in under 90 seconds. This article shows the architecture that does it. Every number here traces back to the reference design for a multi-vendor UK operator (Ericsson, Nokia, Huawei) on AWS eu-west-2. (One caveat up front: sub-90-second RCA is our design target, not an industry-standard benchmark — external vendor claims are framed more loosely, as "hours to minutes." The point is the architecture that makes such a target achievable, not the exact number.)
Seven principles, then nine layers
The design is governed by seven principles worth stating up front, because every component choice descends from them:
1. Full sovereignty — all model inference in eu-west-2; no subscriber data leaves the account.
2. Self-improvement — the system learns from every resolved incident (monthly model refresh, weekly causal-graph evolution).
3. LLM proposes, code decides — LLMs reason; deterministic code validates every structural change.
4. No LLM on the inference hot path — root-cause narrowing is a pre-computed graph traversal, not an LLM call.
5. Token efficiency — an edge model filters ~90% of raw alarm tokens before anything reaches the cloud.
6. Monotonic improvement — automatic rollback if accuracy regresses week-over-week.
7. Human-in-the-loop gates — confidence below threshold forces human review.
These resolve into nine functional layers, each independently updatable, each mapped to specific AWS services: The mapping is deliberate: ingestion runs on Amazon Kinesis with edge filtering on AWS Outposts; the topology and causal graphs live in Amazon Neptune; the reasoning model is served from Amazon SageMaker; orchestration uses Amazon Bedrock AgentCore with AWS Step Functions; and governance rides on AWS IAM, Amazon S3, and Amazon CloudWatch.
# | Layer | Function | Primary AWS Service |
|---|---|---|---|
L1 | Ingestion & Semantic Filtering | Multi-vendor alarm/KPI ingestion; edge SLM strips PII and cuts token volume ~90% | Kinesis + Outposts |
L2 | Knowledge & Topology | Live Neptune topology, alarm vocabulary, runbook KB, historical patterns | Neptune + DynamoDB |
L3 | Causal DAG | Pre-computed causality graph; narrows hypotheses in <10ms | Neptune (subgraph) |
L4 | Reasoning Engine | Fine-tuned Qwen3-32B for deep fault reasoning and structured RCA | SageMaker + NIM |
L5 | Multi-Agent Orchestration | Supervisor dispatches domain sub-agents in parallel | AgentCore + Step Functions |
L6 | Anomaly Detection & Drift | Silent-failure detection without traditional alarms | Amazon Flink + Timestream |
L7 | Action & Remediation | Auto-ticketing, auto-remediation, dashboards, alerting | Step Functions + SSM |
L8 | Evaluation & Continuous Improvement | Degeneracy auditor, synthetic benchmark, monthly retrain | SageMaker Pipelines |
L9 | Governance & Compliance | GDPR pseudonymisation, 12-month audit trail, RBAC, human gates | IAM + S3 + CloudWatch |

Figure 1 — The nine-layer architecture and the end-to-end flow from alarm ingestion to action.
The 90-second data flow, step by step
Here is the exact sequence for a P1 storm, from detection to a delivered RCA report:
T+0s — Ingestion. Multi-vendor alarms hit Kinesis. The edge SLM (Nemotron-Nano-8B, running on Outposts) strips PII and compresses ~15,000 raw tokens into a ~2,000-token structured summary before anything crosses into the cloud.
T+60s — Storm detection. A 60-second tumbling window closes: 47 alarms from 8 NEs across RAN + Transport. The storm threshold is exceeded and EventBridge fires.
T+61s — Classification. Step Functions classifies the incident as STORM and dispatches parallel branches: the triage model for context enrichment and the Supervisor agent for full investigation.
T+62s — Causal narrowing. A deterministic Gremlin traversal over the pre-computed Causal DAG in Neptune runs in under 10ms, collapsing 47 symptom alarms down to 3 candidate root causes. No LLM is involved in this step — that is principle P4 in action.
T+63s — Supervisor dispatch. The Supervisor (Qwen3-32B) queries the 2-hop topology neighbourhood and dispatches the RAN, Transport, and Maintenance agents in parallel.
T+64–76s — Domain investigation. Each sub-agent calls scoped tools — query_alarm_history, get_kpi_drift, lookup_runbook, check_recent_changes — and returns findings.
T+77–83s — Synthesis. The Supervisor fuses the domain findings, calls get_service_impact for the downstream blast radius, and produces a unified RCA with affected services and triage priority.
T+84s — Action. The RCA is written to DynamoDB; a stream trigger fires auto-ticketing (ServiceNow), a PagerDuty alert, a Grafana update, and — if confidence and policy permit — auto-remediation.
Total: comfortably inside the 90-second envelope. And the latency budget scales with incident type:
Routine (single NE, known pattern, <5 alarms): under 8 seconds.
Storm (multi-NE, >15 alarms, full multi-agent): under 90 seconds.
Novel (unknown pattern, human flag raised): under 120 seconds with extended reasoning.
Why multi-agent, and why a Supervisor
A single monolithic prompt trying to reason about RAN, Transport, and Core simultaneously is both slower and less accurate than a Supervisor + Domain Specialist pattern. The Supervisor coordinates; the specialists parallelise. Crucially, Cedar policies scope each agent to its domain, so the RAN agent physically cannot invoke a Core-domain remediation tool. Authorisation is enforced structurally, not by asking the model nicely.
Sub-Agent | Scope | Model |
|---|---|---|
Supervisor | Full network + synthesis | Qwen3-32B (primary) |
RAN / Transport / Core | Single domain each | Qwen3-32B (shared) |
Maintenance | Cross-domain, read-only | Nemotron-Nano-30B |
Impact | Service layer, read-only | Nemotron-Nano-30B |
The read-only agents run on the cheaper triage model because their job is retrieval, not reasoning — an early example of the cost discipline that makes the whole platform pencil out (Article 6).
The contract that holds it together
Every downstream consumer — the ticketing system, the dashboard, the remediation engine — depends on one thing: a structured RCA output schema. This is the contract between the reasoning layer and everything else. It carries the identified root cause(s), the supporting evidence for each, a confidence score, the projected service impact, and a triage priority. Because it is structured and confidence-scored, the Action layer can make deterministic decisions without ever re-parsing free text.
The agents share an 11-tool NOC toolset, and the split between read and write is where safety lives. Eight tools are read-only (topology, alarm history, KPI drift, runbooks, service impact, recent changes, maintenance windows, templated read-only diagnostics). Only three are write-path — and each is gated by a Cedar policy and a hard confidence floor:
Write-path tool | Gate |
|---|---|
submit_rca_result | Confidence ≥ 0.60 to submit; below that it is flagged requires_human_review=true |
create_ticket | Structured payload to ServiceNow/Remedy/Jira, linked to the full RCA |
trigger_remediation | Cedar approval and confidence ≥ 0.85 and either no approval required or a human approval token present |
So the confidence score in the RCA schema is not decorative — it is the literal switch that decides whether the system acts, tickets, or escalates. Everything destructive sits behind ≥ 0.85 and a policy check.
That schema is also where the trust story begins. A confidence number is only meaningful if the system that produced it cannot fool itself — which is the subject of the next two articles.
References
Amazon Neptune Gremlin traversals. https://docs.aws.amazon.com/neptune/latest/userguide/access-graph-gremlin.html
Next: You Can't Let an LLM Touch a Live Network — the trust problem, and the design pattern that solves it.
Further reading — external sources
Gain America — a 40,000-alert day and fibre-cut cascades
Towards Data Science — the incident-first blueprint for telecom AIOps
Augment Code — agentic RCA tops out near ~35% on OpenRCA
Enjoyed reading this content? Let the author know!
Your likes, comments, shares, and saves help creators reach more builders.
Loading recommendations
Loading article