# ramadhan24021996/ai-noc-itsm architecture

> Architecture diagram of the GitHub repository ramadhan24021996/ai-noc-itsm, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-29). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/ramadhan24021996/ai-noc-itsm
- Repository: https://github.com/ramadhan24021996/ai-noc-itsm

## Overview

AI-NOC-ITSM is a distributed operator-controlled AIOps/ITSM platform. Its main workflow gathers endpoint telemetry, ingests and correlates it for incident analysis, then exposes diagnostics and controlled remediation to operators through the portal and JARVIS. Supporting branches include voice interaction, policy/HITL governance, verification, and governed knowledge learning. The README documents the broad broker and edge architecture; sampled source confirms selected query, decision, policy, and memory-review behavior. Many runtime modules were not sampled, so their internal links are omitted.

Main entry points: [`SERVER/jarvis/runtime/intent_query_handler.py`](https://github.com/ramadhan24021996/ai-noc-itsm/blob/master/SERVER/jarvis/runtime/intent_query_handler.py) (JARVIS query runtime), [`SERVER/go_core/ingestion/ingestion_server.go`](https://github.com/ramadhan24021996/ai-noc-itsm/blob/master/SERVER/go_core/ingestion/ingestion_server.go) (Telemetry ingestion), [`SERVER/orchestrator/cognitive/decision_engine.py`](https://github.com/ramadhan24021996/ai-noc-itsm/blob/master/SERVER/orchestrator/cognitive/decision_engine.py) (Cognitive decision), [`SERVER/memory/reviewer/memory_review_engine.py`](https://github.com/ramadhan24021996/ai-noc-itsm/blob/master/SERVER/memory/reviewer/memory_review_engine.py) (Knowledge review)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_edge["Edge fleet"]
  node_agents["Endpoint agents<br/>[main.go]"]
  node_linux_agent["Linux agent<br/>[main.go]"]
  node_collectors["Telemetry collectors"]
end

subgraph group_core["Ingest and analysis"]
  node_ingestion["Telemetry ingestion"]
  node_normalization["Telemetry normalization<br/>[normalization.go]"]
  node_incident["Incident analysis"]
  node_ai_engine["AI analysis<br/>[ai_engine.go]"]
  node_decision["Cognitive decision<br/>[decision_engine.py]"]
  node_contracts["Domain contracts<br/>[schemas.py]"]
  node_context_tracker["Conversation context<br/>[context_tracker.py]"]
  node_llm_analyzer["LLM context analysis<br/>[llm_analyzer.py]"]
end

subgraph group_jarvis["JARVIS operator copilot"]
  node_portal["Operations portal<br/>[main.go]"]
  node_chat["JARVIS query runtime"]
  node_voice["Voice copilot"]
  node_jarvis_memory[("Episodic memory<br/>[episodic_memory.py]")]
end

subgraph group_governance["Control and governance"]
  node_policy["Tool policy"]
  node_governance_engine["Governance policies"]
  node_verification["Post-action verification"]
  node_broker["NATS JetStream"]
  node_kafka["Kafka audit stream"]
end

subgraph group_knowledge["Knowledge and operations"]
  node_database[("Operational database<br/>[database.go]")]
  node_asset_context["Asset context"]
  node_staging[("Knowledge staging<br/>[staging_manager.py]")]
  node_memory_review["Knowledge review"]
  node_knowledge_export["Knowledge export"]
  node_quality["Knowledge quality<br/>[quality_checker.py]"]
  node_versioning["Knowledge versioning<br/>[version_manager.py]"]
  node_handoff["Shift handoff"]
  node_osi_knowledge["OSI knowledge matrix"]
  node_forensic_db[("Forensic database helper")]
  node_postmortem["Visual postmortem"]
  node_embedding["Hybrid embeddings"]
end

node_operator(("Operator"))

node_agents -->|"collects telemetry"| node_collectors
node_linux_agent -->|"collects telemetry"| node_collectors
node_agents -->|"sends telemetry"| node_ingestion
node_linux_agent -->|"sends telemetry"| node_ingestion
node_ingestion -.->|"normalizes data"| node_normalization
node_ingestion -.->|"routes events"| node_incident
node_incident -.->|"requests analysis"| node_ai_engine
node_operator -->|"uses"| node_portal
node_operator -->|"speaks to"| node_voice
node_voice -.->|"routes queries"| node_chat
node_chat -.->|"queries status"| node_incident
node_chat -->|"generates report"| node_postmortem
node_chat -->|"builds handoff"| node_handoff
node_handoff -->|"reads evidence"| node_forensic_db
node_handoff -->|"uses matrix"| node_osi_knowledge
node_chat -->|"uses skills memory"| node_jarvis_memory
node_decision -->|"tracks context"| node_context_tracker
node_decision -->|"analyzes context"| node_llm_analyzer
node_decision -->|"returns payload"| node_contracts
node_asset_context -->|"reads asset data"| node_database
node_operator -.->|"authorizes actions"| node_policy
node_policy -->|"dispatches commands"| node_broker
node_broker -->|"delivers commands"| node_agents
node_verification -->|"checks execution"| node_broker
node_verification -->|"checks evidence"| node_database
node_ingestion -->|"streams telemetry"| node_kafka
node_memory_review -->|"reviews drafts"| node_staging
node_memory_review -->|"checks quality"| node_quality
node_memory_review -->|"snapshots versions"| node_versioning
node_knowledge_export -->|"reads staging"| node_staging
node_portal -->|"controls fleet"| node_broker
node_portal -->|"reads operational data"| node_database
node_embedding -.->|"supports knowledge search"| node_knowledge_export

click node_agents "https://github.com/ramadhan24021996/ai-noc-itsm/blob/master/CLIENT_DISTRIBUSI_GO/agent/main.go"
click node_linux_agent "https://github.com/ramadhan24021996/ai-noc-itsm/blob/master/CLIENT_DISTRIBUSI_GO/linux_agent/main.go"
click node_collectors "https://github.com/ramadhan24021996/ai-noc-itsm/tree/master/CLIENT_DISTRIBUSI_GO/collectors"
click node_ingestion "https://github.com/ramadhan24021996/ai-noc-itsm/blob/master/SERVER/go_core/ingestion/ingestion_server.go"
click node_normalization "https://github.com/ramadhan24021996/ai-noc-itsm/blob/master/SERVER/go_core/ingestion/normalization.go"
click node_incident "https://github.com/ramadhan24021996/ai-noc-itsm/blob/master/SERVER/go_core/ingestion/incident_service.go"
click node_ai_engine "https://github.com/ramadhan24021996/ai-noc-itsm/blob/master/SERVER/go_core/ai/ai_engine.go"
click node_decision "https://github.com/ramadhan24021996/ai-noc-itsm/blob/master/SERVER/orchestrator/cognitive/decision_engine.py"
click node_contracts "https://github.com/ramadhan24021996/ai-noc-itsm/blob/master/SERVER/contracts/schemas.py"
click node_portal "https://github.com/ramadhan24021996/ai-noc-itsm/blob/master/portal/main.go"
click node_chat "https://github.com/ramadhan24021996/ai-noc-itsm/blob/master/SERVER/jarvis/runtime/intent_query_handler.py"
click node_voice "https://github.com/ramadhan24021996/ai-noc-itsm/tree/master/SERVER/jarvis/voice"
click node_jarvis_memory "https://github.com/ramadhan24021996/ai-noc-itsm/blob/master/SERVER/jarvis/memory/episodic_memory.py"
click node_policy "https://github.com/ramadhan24021996/ai-noc-itsm/blob/master/SERVER/tools/policy/tool_policy_engine.py"
click node_governance_engine "https://github.com/ramadhan24021996/ai-noc-itsm/blob/master/SERVER/enterprise/governance/governance_engine.py"
click node_verification "https://github.com/ramadhan24021996/ai-noc-itsm/blob/master/SERVER/python_ai_core/verification/post_verification_engine.py"
click node_database "https://github.com/ramadhan24021996/ai-noc-itsm/blob/master/SERVER/go_core/database/database.go"
click node_asset_context "https://github.com/ramadhan24021996/ai-noc-itsm/blob/master/SERVER/python_ai_core/cognition/asset_context_engine.py"
click node_staging "https://github.com/ramadhan24021996/ai-noc-itsm/blob/master/SERVER/memory/staging_manager.py"
click node_memory_review "https://github.com/ramadhan24021996/ai-noc-itsm/blob/master/SERVER/memory/reviewer/memory_review_engine.py"
click node_knowledge_export "https://github.com/ramadhan24021996/ai-noc-itsm/blob/master/SERVER/memory/exporter/knowledge_exporter.py"
click node_quality "https://github.com/ramadhan24021996/ai-noc-itsm/blob/master/SERVER/memory/governance/quality_checker.py"
click node_versioning "https://github.com/ramadhan24021996/ai-noc-itsm/blob/master/SERVER/memory/governance/version_manager.py"
click node_handoff "https://github.com/ramadhan24021996/ai-noc-itsm/blob/master/SERVER/jarvis/runtime/shift_handoff_briefer.py"
click node_osi_knowledge "https://github.com/ramadhan24021996/ai-noc-itsm/blob/master/SERVER/python_ai_core/knowledge/osi_layer_matrix.py"
click node_forensic_db "https://github.com/ramadhan24021996/ai-noc-itsm/blob/master/SERVER/python_ai_core/services/shift_forensic_db_helper.py"
click node_postmortem "https://github.com/ramadhan24021996/ai-noc-itsm/blob/master/SERVER/python_ai_core/governance/visual_postmortem_engine.py"
click node_embedding "https://github.com/ramadhan24021996/ai-noc-itsm/blob/master/SERVER/python_ai_core/learning/unified_embedding_manager.py"
click node_context_tracker "https://github.com/ramadhan24021996/ai-noc-itsm/blob/master/SERVER/orchestrator/cognitive/context_tracker.py"
click node_llm_analyzer "https://github.com/ramadhan24021996/ai-noc-itsm/blob/master/SERVER/orchestrator/cognitive/llm_analyzer.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_agents,node_linux_agent,node_collectors toneBlue
class node_ingestion,node_normalization,node_incident,node_ai_engine,node_decision,node_contracts,node_context_tracker,node_llm_analyzer toneAmber
class node_portal,node_chat,node_voice,node_jarvis_memory toneMint
class node_policy,node_governance_engine,node_verification,node_broker,node_kafka toneRose
class node_database,node_asset_context,node_staging,node_memory_review,node_knowledge_export,node_quality,node_versioning,node_handoff,node_osi_knowledge,node_forensic_db,node_postmortem,node_embedding,node_operator toneIndigo
```

## Components

### Edge fleet

- [Endpoint agents](https://github.com/ramadhan24021996/ai-noc-itsm/blob/master/CLIENT_DISTRIBUSI_GO/agent/main.go): `CLIENT_DISTRIBUSI_GO/agent/main.go`
- [Linux agent](https://github.com/ramadhan24021996/ai-noc-itsm/blob/master/CLIENT_DISTRIBUSI_GO/linux_agent/main.go): `CLIENT_DISTRIBUSI_GO/linux_agent/main.go`
- [Telemetry collectors](https://github.com/ramadhan24021996/ai-noc-itsm/tree/master/CLIENT_DISTRIBUSI_GO/collectors): `CLIENT_DISTRIBUSI_GO/collectors`

### Ingest and analysis

- [Telemetry ingestion](https://github.com/ramadhan24021996/ai-noc-itsm/blob/master/SERVER/go_core/ingestion/ingestion_server.go): `SERVER/go_core/ingestion/ingestion_server.go`
- [Telemetry normalization](https://github.com/ramadhan24021996/ai-noc-itsm/blob/master/SERVER/go_core/ingestion/normalization.go): `SERVER/go_core/ingestion/normalization.go`
- [Incident analysis](https://github.com/ramadhan24021996/ai-noc-itsm/blob/master/SERVER/go_core/ingestion/incident_service.go): `SERVER/go_core/ingestion/incident_service.go`
- [AI analysis](https://github.com/ramadhan24021996/ai-noc-itsm/blob/master/SERVER/go_core/ai/ai_engine.go): `SERVER/go_core/ai/ai_engine.go`
- [Cognitive decision](https://github.com/ramadhan24021996/ai-noc-itsm/blob/master/SERVER/orchestrator/cognitive/decision_engine.py): `SERVER/orchestrator/cognitive/decision_engine.py`
- [Domain contracts](https://github.com/ramadhan24021996/ai-noc-itsm/blob/master/SERVER/contracts/schemas.py): `SERVER/contracts/schemas.py`
- [Conversation context](https://github.com/ramadhan24021996/ai-noc-itsm/blob/master/SERVER/orchestrator/cognitive/context_tracker.py): `SERVER/orchestrator/cognitive/context_tracker.py`
- [LLM context analysis](https://github.com/ramadhan24021996/ai-noc-itsm/blob/master/SERVER/orchestrator/cognitive/llm_analyzer.py): `SERVER/orchestrator/cognitive/llm_analyzer.py`

### JARVIS operator copilot

- [Operations portal](https://github.com/ramadhan24021996/ai-noc-itsm/blob/master/portal/main.go): `portal/main.go`
- [JARVIS query runtime](https://github.com/ramadhan24021996/ai-noc-itsm/blob/master/SERVER/jarvis/runtime/intent_query_handler.py): `SERVER/jarvis/runtime/intent_query_handler.py`
- [Voice copilot](https://github.com/ramadhan24021996/ai-noc-itsm/tree/master/SERVER/jarvis/voice): `SERVER/jarvis/voice`
- [Episodic memory](https://github.com/ramadhan24021996/ai-noc-itsm/blob/master/SERVER/jarvis/memory/episodic_memory.py): `SERVER/jarvis/memory/episodic_memory.py`

### Control and governance

- [Tool policy](https://github.com/ramadhan24021996/ai-noc-itsm/blob/master/SERVER/tools/policy/tool_policy_engine.py): `SERVER/tools/policy/tool_policy_engine.py`
- [Governance policies](https://github.com/ramadhan24021996/ai-noc-itsm/blob/master/SERVER/enterprise/governance/governance_engine.py): `SERVER/enterprise/governance/governance_engine.py`
- [Post-action verification](https://github.com/ramadhan24021996/ai-noc-itsm/blob/master/SERVER/python_ai_core/verification/post_verification_engine.py): `SERVER/python_ai_core/verification/post_verification_engine.py`
- **NATS JetStream**
- **Kafka audit stream**

### Knowledge and operations

- [Operational database](https://github.com/ramadhan24021996/ai-noc-itsm/blob/master/SERVER/go_core/database/database.go): `SERVER/go_core/database/database.go`
- [Asset context](https://github.com/ramadhan24021996/ai-noc-itsm/blob/master/SERVER/python_ai_core/cognition/asset_context_engine.py): `SERVER/python_ai_core/cognition/asset_context_engine.py`
- [Knowledge staging](https://github.com/ramadhan24021996/ai-noc-itsm/blob/master/SERVER/memory/staging_manager.py): `SERVER/memory/staging_manager.py`
- [Knowledge review](https://github.com/ramadhan24021996/ai-noc-itsm/blob/master/SERVER/memory/reviewer/memory_review_engine.py): `SERVER/memory/reviewer/memory_review_engine.py`
- [Knowledge export](https://github.com/ramadhan24021996/ai-noc-itsm/blob/master/SERVER/memory/exporter/knowledge_exporter.py): `SERVER/memory/exporter/knowledge_exporter.py`
- [Knowledge quality](https://github.com/ramadhan24021996/ai-noc-itsm/blob/master/SERVER/memory/governance/quality_checker.py): `SERVER/memory/governance/quality_checker.py`
- [Knowledge versioning](https://github.com/ramadhan24021996/ai-noc-itsm/blob/master/SERVER/memory/governance/version_manager.py): `SERVER/memory/governance/version_manager.py`
- [Shift handoff](https://github.com/ramadhan24021996/ai-noc-itsm/blob/master/SERVER/jarvis/runtime/shift_handoff_briefer.py): `SERVER/jarvis/runtime/shift_handoff_briefer.py`
- [OSI knowledge matrix](https://github.com/ramadhan24021996/ai-noc-itsm/blob/master/SERVER/python_ai_core/knowledge/osi_layer_matrix.py): `SERVER/python_ai_core/knowledge/osi_layer_matrix.py`
- [Forensic database helper](https://github.com/ramadhan24021996/ai-noc-itsm/blob/master/SERVER/python_ai_core/services/shift_forensic_db_helper.py): `SERVER/python_ai_core/services/shift_forensic_db_helper.py`
- [Visual postmortem](https://github.com/ramadhan24021996/ai-noc-itsm/blob/master/SERVER/python_ai_core/governance/visual_postmortem_engine.py): `SERVER/python_ai_core/governance/visual_postmortem_engine.py`
- [Hybrid embeddings](https://github.com/ramadhan24021996/ai-noc-itsm/blob/master/SERVER/python_ai_core/learning/unified_embedding_manager.py): `SERVER/python_ai_core/learning/unified_embedding_manager.py`

### Other components

- **Operator**

## Connections

- Endpoint agents → Telemetry collectors: collects telemetry
- Linux agent → Telemetry collectors: collects telemetry
- Endpoint agents → Telemetry ingestion: sends telemetry
- Linux agent → Telemetry ingestion: sends telemetry
- Telemetry ingestion → Telemetry normalization: normalizes data
- Telemetry ingestion → Incident analysis: routes events
- Incident analysis → AI analysis: requests analysis
- Operator → Operations portal: uses
- Operator → Voice copilot: speaks to
- Voice copilot → JARVIS query runtime: routes queries
- JARVIS query runtime → Incident analysis: queries status
- JARVIS query runtime → Visual postmortem: generates report (evidence: `SERVER/jarvis/runtime/intent_query_handler.py`)
- JARVIS query runtime → Shift handoff: builds handoff (evidence: `SERVER/jarvis/runtime/intent_query_handler.py`)
- Shift handoff → Forensic database helper: reads evidence (evidence: `SERVER/jarvis/runtime/shift_handoff_briefer.py`)
- Shift handoff → OSI knowledge matrix: uses matrix (evidence: `SERVER/jarvis/runtime/shift_handoff_briefer.py`)
- JARVIS query runtime → Episodic memory: uses skills memory (evidence: `SERVER/jarvis/runtime/intent_query_handler.py`)
- Cognitive decision → Conversation context: tracks context (evidence: `SERVER/orchestrator/cognitive/decision_engine.py`)
- Cognitive decision → LLM context analysis: analyzes context (evidence: `SERVER/orchestrator/cognitive/decision_engine.py`)
- Cognitive decision → Domain contracts: returns payload (evidence: `SERVER/orchestrator/cognitive/decision_engine.py`)
- Asset context → Operational database: reads asset data (evidence: `SERVER/python_ai_core/cognition/asset_context_engine.py`)
- Operator → Tool policy: authorizes actions
- Tool policy → NATS JetStream: dispatches commands
- NATS JetStream → Endpoint agents: delivers commands
- Post-action verification → NATS JetStream: checks execution
- Post-action verification → Operational database: checks evidence
- Telemetry ingestion → Kafka audit stream: streams telemetry
- Knowledge review → Knowledge staging: reviews drafts (evidence: `SERVER/memory/reviewer/memory_review_engine.py`)
- Knowledge review → Knowledge quality: checks quality (evidence: `SERVER/memory/reviewer/memory_review_engine.py`)
- Knowledge review → Knowledge versioning: snapshots versions (evidence: `SERVER/memory/reviewer/memory_review_engine.py`)
- Knowledge export → Knowledge staging: reads staging (evidence: `SERVER/memory/exporter/knowledge_exporter.py`)
- Operations portal → NATS JetStream: controls fleet
- Operations portal → Operational database: reads operational data
- Hybrid embeddings → Knowledge export: supports knowledge search
