Evidence-grounded agentic GraphRAG for distributed-system incident investigation.
GraphOps AI combines a service dependency knowledge graph with operational telemetry, historical incidents, deployment events and runbooks to generate cited root-cause hypotheses. A bounded evaluator loop requests additional evidence and a persistent human-in-the-loop workflow records a manual remediation-review decision. It never executes a rollback or makes infrastructure changes.
This is a production-oriented reference implementation, not a certified production deployment. The demo is explicitly synthetic; live adapters are supplied but were not exercised against real external services in the authoring environment. See verification and operating boundaries.
Requirements: Docker with Compose, or Python 3.11–3.13 (3.12 recommended). The demo uses native LangGraph and persistent SQLite checkpointing; no Neo4j server, telemetry services or LLM API key is needed.
python scripts/setup_env.py
docker compose up --buildOpen http://localhost:8000. Copy the operator key from your local .env into the dashboard. Investigate payment-service or api-gateway. The synthetic example should identify redis-cache as a plausible failure source after two investigation rounds, and pause for a manual rollback-review approval. Use a rationale and approve or reject. The UI displays evidence, service dependencies, uncertainty, decision and handoff record.
The demo intentionally ignores LLM synthesis even if a key is set. For an unknown service, it returns an inconclusive investigation after the retry budget.
python -m venv .venv
source .venv/bin/activate
pip install -e '.[test]'
python scripts/setup_env.py # only if .env does not exist
set -a; source .env; set +a
uvicorn graphops.api:app --host 127.0.0.1 --port 8000 --workers 1 --limit-concurrency 32Run tests with pytest -q. API schema: /docs (the interactive Swagger UI uses CDN assets by default and the strict CSP blocks those assets; use /openapi.json or the bundled dashboard instead).
This is an illustrative graphic recreated from the deterministic demo data, not a screenshot of a running deployment. The error ratios, deployment and evidence labels match graphops/demo.py.
flowchart TD
A[Investigation API] --> S[Supervisor]
S --> G[GraphRAG specialist subgraph]
S --> M[Metrics specialist subgraph]
S --> L[Logs specialist subgraph]
G --> J[Fan-in: all specialists finished]
M --> J
L --> J
J --> H[Root-cause synthesis]
H --> E[Evidence evaluator]
E -->|Missing evidence; budget remains| S
E -->|Budget exhausted| I[Inconclusive]
E -->|Evidence checks passed; investigate| C[Completed]
E -->|Rollback review proposed| P[Persistent human approval interrupt]
P -->|Rejected| R[Rejected]
P -->|Approved| O[Manual review handoff record]
G --- N[(Neo4j)]
M --- Q[(Prometheus)]
L --- X[(Elasticsearch)]
P --- D[(SQLite / PostgreSQL checkpoints)]
| Module | Implementation |
|---|---|
graphops/workflow.py |
Native LangGraph StateGraph, three specialist subgraphs, explicit fan-in barrier, bounded evaluator loop, interrupt() approval |
graphops/retrieval.py |
Parameterized Neo4j/Cypher, up to 3-hop service dependencies, deployment/incident/runbook enrichment, optional embedding search and rank fusion, Prometheus and Elasticsearch |
graphops/domain.py |
Typed state, stable evidence IDs, deterministic root-cause ranking, structural evidence validator and manual handoff policy |
graphops/demo.py |
Deterministic synthetic telemetry and topology |
graphops/api.py |
FastAPI, UUID-based retry/idempotency, viewer/operator roles, bounded concurrency, persistent checkpoints, health and metrics endpoints |
graphops/static/ |
Responsive incident dashboard, graph visualization, evidence explorer, human approval |
scripts/ingest.py |
Reviewed JSON snapshot ingestion, constraints, optional runbook embedding index |
deploy/kubernetes.yaml |
Single-replica deployment template for externally managed live data sources |
tests/ |
Domain, LangGraph workflow and API authorization/idempotency tests |
A vector-only search can find similar incident reports, but cannot reliably reconstruct the live dependency path. GraphOps first retrieves service relationships using Neo4j, expands the telemetry target set, and then gathers operational evidence for the discovered services. It also retrieves deployment history and linked runbooks. Optional embedding similarity is fused with lexical ranking for runbooks; graph paths are retained as independent evidence.
MATCH (s:Service {id:$service})
MATCH p=(s)-[:DEPENDS_ON*1..3]->(d:Service)
WITH p ORDER BY length(p) LIMIT 40
RETURN [n IN nodes(p) | n.id] AS nodes,
[r IN relationships(p) | type(r)] AS relationships# Actual orchestration pattern from workflow.py (excerpt)
graph.add_edge('supervisor', 'graph')
graph.add_edge('supervisor', 'metrics')
graph.add_edge('supervisor', 'logs')
graph.add_edge(['graph', 'metrics', 'logs'], 'synthesize')The list of start nodes is a join barrier: synthesis waits for every specialist. Each subgraph returns only its own evidence and error fields, so concurrent updates do not collide. On a subsequent round the supervisor expands its targets using retrieved paths. A round limit prevents infinite cycles. See architecture walkthrough.
- Provision Neo4j 5.26+ (or compatible newer server), PostgreSQL, Prometheus and Elasticsearch. Deploy the API on a private network behind TLS; keep the instance single-worker/single-replica. Use distinct least-privilege credentials for query and ingestion roles.
- Generate
.envwithpython scripts/setup_env.py, setGRAPHOPS_MODE=live, PostgreSQL DSN, Neo4j credentials, telemetry URLs and bearer tokens. When running inside Docker, use externally reachable DNS names, notlocalhostfor external services. - Ingest a reviewed topology snapshot using the separate ingestion role. Update the sample deployment timestamp if testing a particular window. The snapshot alone does not create real telemetry.
export NEO4J_URI='neo4j+s://YOUR-HOST'
export NEO4J_INGEST_USER='YOUR-INGEST-USER'
# Inject NEO4J_INGEST_PASSWORD securely via your secret manager.
python scripts/ingest.py examples/topology.json- Configure the Prometheus and Elasticsearch schema described in data contracts. Start the API.
/readyzverifies checkpoint access only, not every telemetry backend. Retrieval failures fail closed rather than silently substituting demo data. - Optionally enable LLM-assisted synthesis with
OPENAI_API_KEYandOPENAI_MODEL; enable vector runbook retrieval withGRAPHOPS_VECTOR_SEARCH=trueafter ingestion with--embedand waiting forrunbook_embeddingto become ONLINE. Use the same embedding model and dimension (1536) for ingestion and retrieval.
LLM input contains question and selected telemetry/runbook summaries. Obtain data-governance approval before enabling external model calls. The redaction routine is only a limited best-effort filter, not a full DLP system. With no key, live mode uses deterministic hypothesis generation.
All incident requests require Authorization: Bearer <key>. Viewer can read; operator can investigate and decide. Use the same UUID and exact original request to safely retry.
| Method | Endpoint | Role |
|---|---|---|
| POST | /api/v1/investigations |
Operator |
| GET | /api/v1/investigations/{uuid} |
Viewer/operator |
| POST | /api/v1/investigations/{uuid}/approval |
Operator |
| GET | /healthz, /readyz |
Unauthenticated |
| GET | /metrics |
Viewer/operator |
Use scripts/smoke.py for a local demo API walkthrough. It generates a fresh UUID, investigates, verifies the expected candidate and records an approval. The executed flag remains false.
This repository includes application source, not managed infrastructure or a claim of production certification. Live backend connectivity, dependency compatibility, load tests, penetration testing, disaster recovery and integration CI must be validated before production. The service is deliberately single-process; shared role tokens are not per-user identity. There is no automatic infrastructure rollback, distributed task queue, Kafka streaming ingestion, MCP endpoint or production OIDC provider. A manual approval handoff lives in persistent workflow state rather than a separate immutable audit service. See operating boundaries.
- LangGraph StateGraph and fan-in semantics
- LangGraph interrupt
- Neo4j Python driver documentation
- Neo4j query API
GraphOps AI is an independent reference project; not affiliated with or endorsed by Netflix, Amazon, Google, Microsoft or any other company.
Ads incident investigation. Existing service-dependency GraphRAG and bounded evaluator loop adapted conceptually to advertising measurement reliability. The ten diagrams below are independent conceptual proposals; they do not claim Google integration, deployment, measured results or affiliation.
Retain graphops/retrieval.py, domain.py, workflow.py and the existing checkpointed investigation/review boundary. Add a Google Ads change/report adapter and GA4 aggregate measurement adapter, plus separately authorized advertiser-side telemetry. Do not claim access to Google's internal infrastructure.
Google integration references: Google Ads reporting · GA4 Data API · Merchant API. These are proposed adapter contracts; live data access and field compatibility must be validated separately.
Concept and architecture. Trace measurement dependencies; a conversion drop is not automatically a demand decline.
How to read it. Nodes represent domain entities; links are proposed dependencies or associations. Components: Conversion drop; Conversion action; Tag deployment; Event collector; Ingestion queue; Reporting store.
Step-by-step workflow: Start with the affected conversion metric and account/window. Resolve conversion action and tracking components, traverse upstream deployment/collector/queue edges, retrieve relevant events and rank competing hypotheses.
How to adapt the current repository: Reuse parameterized dependency traversal in graphops/retrieval.py and stable evidence IDs in domain.py; extend typed nodes with account, conversion action and advertiser-controlled tracking service.
Outputs, failure handling and validation: Return cited paths and suspected components; reject missing tenant mappings and distinguish reporting delay from actual conversion loss.
Concept and architecture. Correlate time-aligned signals without treating sequence alone as proof.
How to read it. Read the sequence from left to right; each stage preserves the relevant evidence or state. Components: Healthy baseline; Tag deployment; Collector errors; Conversion anomaly; Recovery observation.
Step-by-step workflow: Establish a comparable healthy baseline; align deployment, error and anomaly timestamps; compare lagged conversion reporting and subsequent recovery. Consider time zones and event versus report time.
How to adapt the current repository: Reuse deployment/incident/telemetry retrieval and attach Ads change events as an additional evidence source with explicit effective and retrieval timestamps.
Outputs, failure handling and validation: Check events outside the window, late reports and simultaneous changes; chronological correlation is not causal proof.
Concept and architecture. Bounded retry requests additional evidence; abstain if unresolved.
How to read it. Branches represent separate inputs or analyses that must be reconciled at the downstream stage. Components: Incident request; Dependency traversal; Telemetry retrieval; Rank hypotheses; Evidence evaluator.
Step-by-step workflow: Start supervisor with a pinned evidence context, fan out dependency and telemetry retrieval, rank candidates, then evaluate citations and structural evidence. Request targeted missing evidence within the retry limit.
How to adapt the current repository: Reuse native workflow.py's specialist subgraphs and fan-in barrier; add Ads-specific failure hypotheses to domain.py, preserving bounded abstention.
Outputs, failure handling and validation: Test a slow branch, missing signal and contradictory evidence; repeated failure returns inconclusive, not a fabricated root cause.
Concept and architecture. Test each hypothesis against positive and contradictory evidence.
How to read it. Compare the distinct criteria or scenarios; cells are not numerical measurements. Components: Tracking defect; Reporting delay; Budget change; Demand shift; Landing page failure; Auction change.
Step-by-step workflow: For each candidate build expected and contradictory signatures: collector errors, reporting freshness, budget edits, landing availability and demand change. Compare against available evidence and mark unavailable signals.
How to adapt the current repository: Extend deterministic ranking in domain.py with a typed hypothesis/evidence matrix. Distinguish direct observations from assumptions about auction or demand.
Outputs, failure handling and validation: Return ranked hypotheses with counterevidence; evaluate top-k recall and correct abstention on ambiguous fixtures.
Concept and architecture. Use account-level reports plus separately authorized service telemetry; no internal Google telemetry assumed.
How to read it. The rows separate source inputs from proposed normalization and analysis outputs. Components: Ads change events; GA4 aggregate diagnostics; Cloud Monitoring; Scoped normalization; Temporal evidence graph; Incident report.
Step-by-step workflow: Read supported Ads change/report resources and GA4 aggregate reports; separately query advertiser-side monitoring. Normalize account, metric definition, time window, service mapping and provenance before projecting graph edges.
How to adapt the current repository: Add source adapters alongside existing Prometheus/Elasticsearch/Neo4j retrieval, not replacement code. Use explicit account-to-service inventory mapping and allowlisted GAQL fields.
Outputs, failure handling and validation: Test quota/permission errors, late changes and inconsistent time zones; an unavailable source must remain explicitly missing.
Concept and architecture. Dependency reachability estimates affected components, not proven lost revenue.
How to read it. Nodes represent domain entities; links are proposed dependencies or associations. Components: Shared event collector; Search conversion; Shopping conversion; PMax reporting; GA4 events; Dashboard.
Step-by-step workflow: From a failed collector traverse downstream dependents, deduplicate affected conversion actions and dashboards, distinguish direct versus transitive impact, then compare scoped metrics.
How to adapt the current repository: Reuse graphops/retrieval.py bounded graph paths; add typed tracking dependency edges and reverse traversal where required by the model.
Outputs, failure handling and validation: Return affected definitions and evidence paths, not a numerical revenue loss; test cycles, shared dependencies and depth truncation.
Concept and architecture. Existing workflow records review only; never rolls back or modifies Google Ads.
How to read it. Read the sequence from left to right; each stage preserves the relevant evidence or state. Components: Cited hypothesis; Proposed mitigation; Risk check; Independent approval; Manual handoff.
Step-by-step workflow: Package cited finding, mitigation rationale and expected affected services; evaluate risk and obtain an independent human review. Persist manual handoff and keep executed=false.
How to adapt the current repository: Reuse workflow.py interrupt/checkpoint and API role checks; add proposed Ads diagnostic checklist, not a mutation tool.
Outputs, failure handling and validation: Verify stale evidence, role denial and duplicate approval handling; no rollback or Google Ads mutation is invoked.
Concept and architecture. Proposed metrics align timestamps and account scope; thresholds must be calibrated.
How to read it. Compare the distinct criteria or scenarios; cells are not numerical measurements. Components: Error rate; Queue age; Event freshness; Conversion lag; Change timestamps; Evidence confidence.
Step-by-step workflow: Define event freshness, conversion lag, queue age, collector errors and change counts per account/window. Track data quality and trace IDs for retrieval and evaluation.
How to adapt the current repository: Reuse existing health/metrics endpoints and telemetry adapter interfaces; add normalized metric adapters and a missing-data status.
Outputs, failure handling and validation: Alert only against configured baselines; test clock skew, partial periods and stale reports; avoid pretending these are Google internal SLOs.
Concept and architecture. Record both supporting and contradictory facts; do not claim causal certainty.
How to read it. Branches represent separate inputs or analyses that must be reconciled at the downstream stage. Components: Root-cause candidate; Supporting evidence; Contradictory evidence; Uncertainty assessment.
Step-by-step workflow: Associate each candidate with positive and negative evidence IDs, check source timestamps and reliability, then present uncertainty and what extra data would discriminate hypotheses.
How to adapt the current repository: Reuse domain.py evidence validator and deterministic ranking; extend evidence schema with Ads report definition and explicit limitations.
Outputs, failure handling and validation: Verify candidate citations exist and are relevant; reject unsupported certainty and return an inconclusive report when needed.
Concept and architecture. Evaluate root-cause recall, evidence citation and failure behavior.
How to read it. Read the sequence from left to right; each stage preserves the relevant evidence or state. Components: Known synthetic fault; Missing telemetry; Multiple faults; Unauthorized tenant; Bounded abstention.
Step-by-step workflow: Seed known tracking failure, report delay, multiple faults, unavailable telemetry and unauthorized tenant cases. Run native workflow and compare ranked evidence and manual review records.
How to adapt the current repository: Extend graphops/demo.py and tests with mocked Ads/GA4 responses; assert no external writes through the API boundary.
Outputs, failure handling and validation: Measure root-cause top-k recall, citation precision and abstention; test bounded retries and checkpoints without claiming live reliability.
Meta conversion and messaging reliability. Reuse graphops/retrieval.py, domain.py, workflow.py and api.py. Add scoped Meta reporting/change data and advertiser-side Pixel, Conversions API and webhook telemetry; no internal Meta infrastructure is assumed.
Independent proposed adaptations; no live Meta integration, official affiliation, internal architecture or measured outcomes claimed. Validate API version, app review, permissions and platform terms before implementing.
Concept and step-by-step workflow: Trace an observed aggregate conversion decline through advertiser-managed browser/server event paths and reporting dependencies. Compare event health with reporting lag.
Diagram reading guide: Conversion anomaly → Browser Pixel; Conversion anomaly → Server event adapter; Browser Pixel → Deduplication contract; Server event adapter → Deduplication contract; Deduplication contract → Event processing; Event processing → Insights report. Arrows indicate proposed processing or dependency relationships, not proof of causality.
How to adapt the current repository: Extend typed dependency inventory and retrieval.py with event-source nodes and source-specific time windows.
Expected outputs, failure handling and validation: Return suspected components and evidence paths; no assumption that reported decline equals lost sales.
Concept and step-by-step workflow: Compare permitted browser and server event metadata, inspect shared event name/ID and event timing, flag missing or mismatched pairs. Do not ingest raw personal identifiers.
Diagram reading guide: Advertiser event → Browser observation; Advertiser event → Server observation; Browser observation → Event ID dedup check; Server observation → Event ID dedup check. Arrows indicate proposed processing or dependency relationships, not proof of causality.
How to adapt the current repository: Add a diagnostic adapter and structured event-integrity evidence in domain.py; keep data minimized.
Expected outputs, failure handling and validation: Test duplicated event ID, missing server event and timing mismatch; only diagnose, not send events.
Concept and step-by-step workflow: Align timestamps across webhook, queue, worker and provider status. Separate an ingress failure, backlog and ambiguous external delivery.
Diagram reading guide: Inbound event → Webhook acknowledged → Worker queued → Response attempted → Status reconciled. Arrows indicate proposed processing or dependency relationships, not proof of causality.
How to adapt the current repository: Reuse telemetry timeline and incident evidence store; add provider message correlation IDs from authorized business logs.
Expected outputs, failure handling and validation: Test delayed callback, duplicate webhook and timeout; no blind resending.
Concept and step-by-step workflow: Run dependency and signal checks independently; rank candidates with supporting and contradictory evidence and evaluate completeness.
Diagram reading guide: Scoped incident → Tracking health; Scoped incident → Ads report freshness; Scoped incident → Budget or creative change; Tracking health → Ranked hypotheses; Ads report freshness → Ranked hypotheses; Budget or creative change → Ranked hypotheses. Arrows indicate proposed processing or dependency relationships, not proof of causality.
How to adapt the current repository: Reuse native LangGraph fan-in and bounded retry; add Meta-specific hypothesis categories without changing deterministic ranking.
Expected outputs, failure handling and validation: Missing evidence yields qualified or inconclusive result, not fabricated root cause.
Concept and step-by-step workflow: Traverse explicit dependency inventory from degraded gateway to affected measurement/reporting and lead workflows; deduplicate shared nodes.
Diagram reading guide: Shared event gateway → Ad set A; Shared event gateway → Ad set B; Shared event gateway → Lead workflow; Shared event gateway → Commerce reporting; Commerce reporting → Alert dashboard. Arrows indicate proposed processing or dependency relationships, not proof of causality.
How to adapt the current repository: Reuse bounded service traversal and add advertiser-defined account/asset mappings.
Expected outputs, failure handling and validation: Test shared edges, cycles and unknown mappings; impact is structural, not measured revenue.
Concept and step-by-step workflow: Retrieve approved sources independently, reconcile account IDs, date boundaries and definitions, then build immutable evidence snapshot.
Diagram reading guide: Marketing Insights → Owned event telemetry → Authorized webhook logs → Normalize timestamps → Pinned evidence. Arrows indicate proposed processing or dependency relationships, not proof of causality.
How to adapt the current repository: Add read adapters beside existing Prometheus/Elasticsearch interfaces; no private platform telemetry.
Expected outputs, failure handling and validation: Reject expired credentials, incompatible attribution window and incomplete records.
Concept and step-by-step workflow: Explain affected dependency and suggested advertiser-side mitigation; bind approval to exact plan and retain executed=false.
Diagram reading guide: Cited hypothesis → Proposed tracking fix → Risk assessment → Independent review → Manual handoff. Arrows indicate proposed processing or dependency relationships, not proof of causality.
How to adapt the current repository: Reuse workflow interrupt and reviewer role boundary; add Meta-specific diagnostic checklist, not mutation tool.
Expected outputs, failure handling and validation: Stale evidence and duplicate approvals refused; no automatic campaign or Pixel changes.
Concept and step-by-step workflow: Use known synthetic faults and missing signals to test ranking, citation validity, replay and abstention.
Diagram reading guide: Independent dimensions: Event dedup mismatch; Delayed report; Webhook replay; Queue backlog; Contradictory evidence; Tenant isolation. No measured values are implied.
How to adapt the current repository: Extend graphops/demo.py and tests with mock provider reports and event telemetry.
Expected outputs, failure handling and validation: Gate on safe evidence and bounded recovery; no Meta production SLO claim.
Official references: Marketing API · Graph API · Meta developer docs.
Azure dependency-aware incident investigation. Reuse graphops/retrieval.py, domain.py, workflow.py and API with typed evidence, bounded retries and manual remediation review. Add Azure Resource Graph and Azure Monitor read adapters for advertiser-independent cloud operations.
Independent proposed adaptations; no claim of live Microsoft integration, internal architecture, certification or measured results.
Concept and step-by-step workflow: Resolve incident resource ID and pin service inventory; traverse explicit ingress, workload and data dependencies, attach observed telemetry to each path.
Diagram reading guide: Affected API → Ingress dependency; Ingress dependency → Backend service; Backend service → Database dependency; Database dependency → Evidence report. Arrows describe proposed processing/dependencies, with branching semantics explained above.
How to adapt the current repository: Extend graphops/domain.py typed nodes with Azure resource IDs and deployment revisions; import reviewed Azure Resource Graph inventory into existing graph store rather than infer runtime dependencies from inventory alone.
Expected outputs, failure handling and validation: Reject cross-subscription mappings; report known paths and missing dependency evidence, not causal certainty.
Concept and step-by-step workflow: Read scoped metrics and logs in same time window, align deployment events and rank competing hypotheses with contradictory evidence.
Diagram reading guide: Pinned incident → Azure Monitor metrics; Pinned incident → Log Analytics evidence; Pinned incident → Deployment events; Azure Monitor metrics → Hypothesis rank; Log Analytics evidence → Hypothesis rank; Deployment events → Hypothesis rank. Arrows describe proposed processing/dependencies, with branching semantics explained above.
How to adapt the current repository: Reuse graphops/retrieval.py providers and workflow.py specialist join; add read-only Azure telemetry adapters and normalized resource/time contracts.
Expected outputs, failure handling and validation: Test delayed logs, overlapping deployments and unavailable source; abstain on insufficient evidence.
Concept and step-by-step workflow: Traverse downstream dependencies from degraded resource, deduplicate shared paths and identify affected service definitions; compare scoped metrics if available.
Diagram reading guide: Shared database → Service A; Shared database → Service B; Service A → Dependent workflow; Service B → Dependent workflow; Dependent workflow → Impact inventory. Arrows describe proposed processing/dependencies, with branching semantics explained above.
How to adapt the current repository: Reuse bounded graph traversal and explicit reverse dependencies; map actual service topology independently of Azure resource hierarchy.
Expected outputs, failure handling and validation: Cycles and unknown edges bounded; no measured revenue or availability loss inferred.
Concept and step-by-step workflow: Compare each hypothesis with expected signatures and opposing observations, validate cited paths and request missing evidence within existing retry budget.
Diagram reading guide: Hypothesis → Supporting evidence; Hypothesis → Counterevidence; Supporting evidence → Citation validator; Counterevidence → Citation validator; Citation validator → Qualified diagnosis. Arrows describe proposed processing/dependencies, with branching semantics explained above.
How to adapt the current repository: Reuse deterministic domain evaluator and LangGraph retry; extend Azure-specific hypotheses such as quota, network and rollout regression.
Expected outputs, failure handling and validation: Test fabricated citation and conflicting evidence; unresolved result is inconclusive.
Concept and step-by-step workflow: Bind proposed fix to resource ID, revision, blast radius and expected postcondition; review independently and export manual action plan.
Diagram reading guide: Cited diagnosis → Proposed mitigation; Proposed mitigation → Risk and scope check; Risk and scope check → Independent approval; Independent approval → Manual handoff. Arrows describe proposed processing/dependencies, with branching semantics explained above.
How to adapt the current repository: Reuse checkpoint/approval boundary; add Azure runbook references but keep action execution disabled unless separately implemented.
Expected outputs, failure handling and validation: Reject stale evidence and self-approval; no automatic rollback or infrastructure mutation.
Concept and step-by-step workflow: Build known dependency faults and scripted telemetry, evaluate root-cause top-k recall, citation validity, abstention and tenant isolation separately.
Diagram reading guide: Synthetic service graph → Known fault; Synthetic service graph → Missing telemetry; Synthetic service graph → Scope denial; Known fault → Evaluation report; Missing telemetry → Evaluation report; Scope denial → Evaluation report. Arrows describe proposed processing/dependencies, with branching semantics explained above.
How to adapt the current repository: Extend graphops/demo.py and tests with mock Resource Graph and Monitor responses; compare local and native workflow execution.
Expected outputs, failure handling and validation: No production Azure SLO or real fault diagnosis claimed.
References: Azure Resource Graph · Azure Monitor · Foundry Agent Service.
AWS dependency-aware incident diagnosis. Reuse graphops/retrieval.py, domain.py, workflow.py and API with typed evidence and manual mitigation review; add read-only AWS resource and telemetry adapters.
Independent adaptation designs; no internal Amazon architecture, live access, deployment or measured outcomes claimed. Verify region, IAM and API compatibility before implementation.
Concept and step-by-step workflow: Resolve affected resource and pin inventory; traverse reviewed dependencies from ingress to workloads and data services, attach source evidence.
Diagram reading guide: Affected endpoint → Load balancer → EKS service → Database or queue → Evidence paths. Arrows describe processing order; parallel tasks and alternatives follow the workflow explanation.
How to adapt the current repository: Extend typed graph schema with AWS account/region/ARN and deployment revision; ingest AWS Config inventory only with explicit dependency mapping.
Expected outputs, failure handling and validation: Resource ownership is not runtime dependency; cross-account paths require approved mapping.
Concept and step-by-step workflow: Gather independent metric, log and deployment evidence, align event-time windows and rank competing hypotheses with contradictions.
Diagram reading guide: Pinned incident → Metrics branch → Log and trace branch → Deployment events → Ranked hypotheses. Arrows describe processing order; parallel tasks and alternatives follow the workflow explanation.
How to adapt the current repository: Reuse retrieval.py and native specialist fan-in; add CloudWatch/CloudTrail read adapters and source-scoped time normalization.
Expected outputs, failure handling and validation: Missing telemetry remains explicit; correlation is not proof of cause.
Concept and step-by-step workflow: Traverse reviewed downstream edges, deduplicate impacted definitions and compare observed metrics where available.
Diagram reading guide: Degraded RDS instance → Dependent services → Queue consumers → Affected workflows → Scoped impact. Arrows describe processing order; parallel tasks and alternatives follow the workflow explanation.
How to adapt the current repository: Reuse bounded dependency traversal; add RDS/EKS/SQS resource types and explicit application service mapping.
Expected outputs, failure handling and validation: Cycles bounded; no guessed financial loss or inferred AWS internal dependency.
Concept and step-by-step workflow: Check expected and contradictory signatures for quota, connection pool, rollout or queue lag; rank evidence and request missing data within retry budget.
Diagram reading guide: Candidate hypothesis → Supporting signals → Counterevidence → Citation check → Qualified diagnosis. Arrows describe processing order; parallel tasks and alternatives follow the workflow explanation.
How to adapt the current repository: Reuse deterministic domain evaluator and workflow.py; extend AWS-specific typed hypotheses and result-local evidence IDs.
Expected outputs, failure handling and validation: Fabricated citations and stale windows rejected; abstain after bounded retry.
Concept and step-by-step workflow: Bind suggested action to resource ARN, current revision and postcondition; review independently and export runbook proposal.
Diagram reading guide: Cited incident → Typed mitigation → IAM and risk review → Independent approval → Manual runbook handoff. Arrows describe processing order; parallel tasks and alternatives follow the workflow explanation.
How to adapt the current repository: Reuse checkpoint/approval and manual outbox; add approved Systems Manager runbook references but keep mutation disabled.
Expected outputs, failure handling and validation: No auto restart, scaling or rollback; stale evidence invalidates review.
Concept and step-by-step workflow: Replay known dependency fault and competing hypotheses, inspect top-k recall, citation precision and abstention independently.
Diagram reading guide: Synthetic EKS topology → Known fault → Delayed telemetry → Scope refusal → Evidence report. Arrows describe processing order; parallel tasks and alternatives follow the workflow explanation.
How to adapt the current repository: Extend graphops/demo.py and tests with mocked CloudWatch and AWS Config data; trace run IDs and source versions.
Expected outputs, failure handling and validation: No real incident response or claimed AWS operational SLA.
References: Bedrock Knowledge Bases · Neptune Analytics · AgentCore.
Streaming service topology investigation. Reuse graphops/retrieval.py, domain.py, workflow.py and existing persistent manual review. Netflix publicly describes time-aware service topology; this project can implement a synthetic streaming service map.
Independent proposed adaptations inspired by public engineering writing; no private Netflix access, deployed integration, certification or measured results. Examples use fictional or appropriately licensed data.
Concept and step-by-step architecture: Resolve affected region/device and time, traverse explicit service dependencies, attach telemetry evidence to each candidate path and rank plausible causes. Playback degradation may arise from control plane or delivery path; neither is automatically causal.
Diagram reading guide: Playback symptom → Session service; Playback symptom → Manifest service; Manifest service → Delivery path; Session service → Cited hypotheses; Delivery path → Cited hypotheses. Arrows represent proposed processing dependencies; conditions and joins follow the workflow above.
How to adapt the current repository: Extend typed domain with playback session, manifest and delivery dependencies; add synthetic service inventory and read-only QoE telemetry provider to existing retrieval contract.
Expected outputs, failure handling and validation: Test missing edges and conflicting evidence; label hypotheses, never execute rollback.
Concept and step-by-step architecture: Aggregate caller/callee observations into time-windowed edges and attach deployment revision, distinguish observed edge from declared dependency and retain historical views.
Diagram reading guide: Distributed spans → Normalize edges; Deployment metadata → Normalize edges; Normalize edges → Time-versioned graph; Time-versioned graph → Pinned incident view. Arrows represent proposed processing dependencies; conditions and joins follow the workflow above.
How to adapt the current repository: Add trace-to-edge projector to current graph store and graphops/demo.py fixtures; use event time and source IDs; snapshot at incident time rather than latest graph.
Expected outputs, failure handling and validation: Late spans and edge expiry cannot silently rewrite pinned investigation; test duplicate spans and incomplete sampling.
Concept and step-by-step architecture: Query independent synthetic QoE and service signals in same region/time window. Join required evidence before ranking and include counterevidence.
Diagram reading guide: Incident scope → Startup latency; Incident scope → Rebuffering evidence; Incident scope → Error and deployment evidence; Startup latency → Ranked root-cause candidates; Rebuffering evidence → Ranked root-cause candidates; Error and deployment evidence → Ranked root-cause candidates. Arrows represent proposed processing dependencies; conditions and joins follow the workflow above.
How to adapt the current repository: Reuse native workflow.py join and bounded evaluator; extend evidence contract with metric units, denominator and observed time.
Expected outputs, failure handling and validation: No claim of cause from correlation; missing branch yields incomplete result.
Concept and step-by-step architecture: Traverse downstream edges from degraded component, deduplicate common paths and identify affected definitions; use actual observed QoE only if scoped and available.
Diagram reading guide: Degraded shared dependency → Region A playback path; Degraded shared dependency → Region B playback path; Region A playback path → Device cohort mapping; Region B playback path → Device cohort mapping; Device cohort mapping → Affected definition report. Arrows represent proposed processing dependencies; conditions and joins follow the workflow above.
How to adapt the current repository: Reuse reverse graph traversal and explicit resource mapping; add region/device labels and coverage metadata, not real member identifiers.
Expected outputs, failure handling and validation: Test cycles, shared edge and missing region; structural exposure is not observed outage size.
Concept and step-by-step architecture: Verify source IDs and expected signal signatures, inspect contradictions and request missing evidence in bounded loop. Preserve uncertainty when multiple causes plausible.
Diagram reading guide: Candidate cause → Supporting spans; Candidate cause → Contradictory observations; Supporting spans → Evidence replay; Contradictory observations → Evidence replay; Evidence replay → Qualified diagnosis. Arrows represent proposed processing dependencies; conditions and joins follow the workflow above.
How to adapt the current repository: Reuse domain evaluator and workflow retry, add synthetic streaming-specific signatures for manifest failure, origin delay and client network issues.
Expected outputs, failure handling and validation: Fabricated citations and unsupported root cause fail; no automatic remediation.
Concept and step-by-step architecture: Bind proposed mitigation to exact component, topology revision and expected postcondition; review independently and export only manual recommendation.
Diagram reading guide: Cited diagnosis → Proposed mitigation; Proposed mitigation → Blast-radius and risk check; Blast-radius and risk check → Independent reviewer; Independent reviewer → Manual handoff. Arrows represent proposed processing dependencies; conditions and joins follow the workflow above.
How to adapt the current repository: Reuse persistent approval workflow and current no-mutation boundary; add fictional streaming runbook references and recovery criteria.
Expected outputs, failure handling and validation: Stale evidence invalidates review; test self-approval and replay, no Netflix infrastructure access.
Public inspiration: Netflix Technology Blog. The diagrams are independent application proposals, not a reproduction of Netflix's architecture.