Cinematic Industrial Facility
Technical Deep Dive

How MEND-X Thinks.

A deterministic, zero-hallucination RAG pipeline backed by pgvector ANN search. Every answer traces back to an OEM manual page. Every millisecond counts.

Live Architecture Flowchart & Execution SimulatorInteractive v1.2

Integrated System Topology & Live Packet Trace

Select a live scenario or enter a custom query to watch data packets traverse the actual FastAPI, pgvector, Cross-Encoder, and 3-Tier AI router pipeline in real time.

Custom Query Probe:
Active Query:Spindle overload alarm E-402 on Haas VF-2 CNC
Stage:Ready to Execute
SLA Target:1,240 ms
Evidence:0.89
Route:GPT-OSS 20B (Groq Fast)
Step-by-Step Architecture PipelineClick any node to inspect source code & payload
Tier 1 Β· Client & Ingestion< 8ms
Tier 2 Β· Query Classification & 1536-dim Embedding~30ms
Tier 3 Β· Hybrid Retrieval (pgvector HNSW + BM25) & Reranking40–80ms
Tier 4 Β· Zero-Hallucination Guardrails & Cutoff Filter< 5ms
Tier 5 Β· Adaptive Model Cascade RouterMini <100ms | 20B 1–2s | 120B 2–4s
Tier 6 Β· Citation Hydration & Sub-second SSE Delivery< 10ms
Zero-Hallucination Guardrail

Evidence Validator & Refusal Circuit

< 2ms

Calculates total evidence sufficiency score. If score is below 0.72 threshold, triggers refusal circuit immediately.

Engine:Evidence Cutoff (Threshold β‰₯ 0.72)
Source:backend/app/services/rag/evidence_validator.py
class EvidenceValidator:
    def validate(self, chunks: list[Chunk]) -> ValidationResult:
        if not chunks:
            return ValidationResult(is_sufficient=False, evidence_score=0.0)
        score = calculate_composite_evidence(chunks)
        if score < self.threshold:
            return ValidationResult(is_sufficient=False, evidence_score=score)
        return ValidationResult(is_sufficient=True, evidence_score=score)
Scenario Expected Resultsuccess

Direct error code lookup. High retrieval confidence (0.89), passes disambiguation, routes to FORGE for verified 3-step repair.

Data Pipeline

From PDF to Instant Answer.

Performance Profile

Every Millisecond Accounted For.

PhaseLatencyDetails
Query Ingestion<10msAPI gateway processing
pgvector ANN Search40–80msCosine NN search (1M vectors)
Nord Inference<100msNord (Groq LPU)
Forge Inference1–2sForge (Fast Diagnostics)
Apex Inference2–4sApex (Deep Reasoning)
Response Serialization<5msJSON + streaming overhead

Target SLA: Mini <100ms, 20B 1–2s, 120B 2–4s. Caching and model selection ensure sub-second median for 92% of queries.

Defense

Security Through Architecture.

πŸ›‘Input Sanitization

Threat

Prompt injection / malicious queries

Mitigation

Query scoped to manual domain. Refusal circuit rejects out-of-scope prompts. No code execution.

πŸ›‘Tenant Isolation

Threat

Cross-tenant data leakage

Mitigation

pgvector search scoped by machine_id. Vectors of Machine A never surface in Machine B queries.

πŸ›‘Encryption in Transit

Threat

Network eavesdropping

Mitigation

TLS 1.3 on all tiers. High-speed Groq LPU API with zero data retention.

πŸ›‘Encryption at Rest

Threat

Stolen database access

Mitigation

AES-256 vector store. Audit logs immutable. GDPR-compliant data residency options.

πŸ›‘Access Control

Threat

Unauthorized API use

Mitigation

API key + RBAC. Role-based machine access. Signature-enforced audit trails.

Flexibility

Deploy Your Way.

Cloud (Default)

Latency

1–2s (GPT-OSS 20B)

Data Residency

Multi-region pgvector

Compliance

SOC 2, GDPR data residency

Pricing

Per-query pricing

Best For

Rapid deployment, shared infrastructure

Private VPC

Latency

500ms–2s (pgvector local)

Data Residency

Customer VPC only

Compliance

DO-254, IEC-61508 audit trail

Pricing

Monthly capacity reservation

Best For

Automotive, aerospace, energy

Air-Gapped (Offline)

Latency

<100ms (Nord)

Data Residency

On-device vectors + local PG

Compliance

Zero external egress, no cloud calls

Pricing

One-time license + maintenance

Best For

Flight-critical systems, classified environments

Verified Performance

Real-World Benchmarks.

ScenarioAvg LatencyP99ThroughputAccuracy
Error Code Lookup (Nord)67ms142ms14,900 q/s99.2%
Multi-Step Procedure (Forge)1.24s2.1s240 tok/s98.4%
Root Cause Analysis (Apex)2.6s4.2s180 tok/s99.4%
Cold Start (Cache Miss)512ms + model latency1.2s + model latencyN/AN/A

Precision Built
Into the Core.

Zero-hallucination RAG, tenant isolation, multi-tier routing, and compliance-ready deployment. Engineering that matches industrial demands.

MEND-XMEND-X v1.2.1PROD
DIMENSITY LABS [VH26-37]β€’VCET NATIONAL HACKATHON 2026β€’From Failure to Function
Β© 2026 MEND-X. All rights reserved.