Enterprise RAG &
Agent Memory Engineering
Explore the infrastructure behind grounded intelligence: from document ingestion and vector retrieval to graph reasoning, durable agent state and secure enterprise operations.
Follow the intelligence journey
Select a workload, then advance through each processing step. Observe how retrieval, authorization and memory affect the evidence supplied to an agent.
Vector RAG
From retrieval foundations to enterprise mastery
Knowledge foundations
RAG architecture, chunking, metadata and embeddings.
Retrieval engineering
HNSW, hybrid search, query transformation and reranking.
Graph intelligence
Entity relationships, multi-hop retrieval and agentic RAG.
Persistent memory
Memory types, checkpoints, consolidation and context budgets.
Enterprise operations
Tenant isolation, evaluation, incident recovery and capstone.
Educational simulation: illustrative token counts and deterministic processing paths, not live model inference or database queries. Introduction activity does not mark labs complete. Reserved workspace progress namespace: ni_enterprise_rag_memory_v5.
Enterprise Knowledge
Intelligence Command Centre
Build mastery across retrieval, graph intelligence, persistent agent memory and enterprise operations. Your progress is recorded when each lab validates its engineering objectives.
Validate all fifteen labs to earn the local workspace achievement. Progress is stored in this browser; it is not an accredited certification or a cross-device account record.
Enterprise RAG Architecture
and Knowledge Flow
Trace evidence from document ingestion to a grounded response. Diagnose retrieval and authorization failures, then restore a safe knowledge pipeline.
01 / Pipeline control
02 / Engineering telemetry
Latency and token counts are illustrative model values. Retrieval scores use cosine similarity over synthetic vectors.
Authorized retrieval evidence
03 / Diagnostic event console
[READY] Awaiting pipeline execution.
04 / Grounded response
Responses are deterministic extracts from fictional documents, not live LLM output.
Engineering objectives
Titanium Knowledge Transformation Foundry
Document ingestion, chunking and metadata engineering. Transform source material into traceable, tenant-scoped index records.
Ingestion control plane
Transformation telemetry
Engineering evidence
Awaiting execution.
Configure and run the pipeline.
Knowledge asset inspection
Inspect chunk boundaries, source offsets, tenant scope and version lineage. Word counts are not tokenizer counts.
Engineering objectives
Educational model: paragraph-aware chunking approximates semantic boundaries; no embedding model or external index is connected.
Embedding Models & Semantic Vector Spaces
Sapphire Multidimensional Intelligence Universe · Explore the geometry behind retrieval.
Embedding command centre
Ready for execution.
Handcrafted synthetic vectors; dimensions are teaching features, not real model outputs.Semantic universe · 2D projection
Projection shows coordinates 1 and 2 only. Ranking uses all selected dimensions.Ranked knowledge assets
Vector inspection
Awaiting encoding.
Diagnostic evidence
Awaiting execution.
Engineering objectives
Sapphire Cognitive Ascension
Knowledge and Retrieval Foundations
Transform documents into traceable knowledge, understand retrieval pipelines and validate the mathematics of semantic similarity. Your achievement is derived from completed engineering objectives, not visits or button clicks.
Enterprise RAG Architecture and Knowledge Flow
Grounded retrieval, stale-index investigation, authorization and recovery.
Not validatedDocument Ingestion, Chunking and Metadata
Overlapping windows, paragraph-aware chunks, tenant metadata and recovery.
Not validatedEmbedding Models and Semantic Vector Spaces
Cosine similarity, Euclidean distance, model compatibility and recovery.
Not validatedKnowledge Foundation Engineer — pending
Validate all three labs to unlock this local learning achievement.
Progress is stored in this browser. This is a learning milestone, not an accredited certification. Stage 02 is available through the dashboard without a mandatory prerequisite.
Vector Databases, HNSW & ANN Index Engineering
Obsidian Vector Intelligence Citadel — Signature Master Edition
Build a hierarchical proximity graph, inspect its layers and compare approximate search against exhaustive nearest-neighbour retrieval. Investigate recall degradation and restore index connectivity.
Index construction console
Hierarchical vector citadel
Gold: visited / query · Emerald: returned · Cyan: graph links
Retrieval evidence
Recall@K = intersection of ANN and exact results / K. Distance evaluations count unique vectors scored during a query, not measured latency.
Engineering event console
Engineering objectives
Model boundary: deterministic 2D synthetic vectors, simplified directed proximity graph and bounded best-first traversal. Production HNSW uses additional neighbour-selection, insertion and pruning heuristics; this is not a database benchmark. efSearch is clamped to at least K; construction breadth controls the sampled insertion candidates.
Titanium Dual Intelligence Fusion Reactor
Hybrid Search, BM25 and Semantic Retrieval — compare two independent ranking engines and fuse their evidence.
Retrieval control plane
Dual intelligence architecture
Lexical reactor
BM25 · inverted indexSemantic reactor
Cosine · synthetic vectorsReciprocal rank fusion
score = w/(k + lexical rank) + (1−w)/(k + semantic rank)
Inverted index & BM25 evidence
| Document | BM25 | Cosine | Fusion |
|---|
Engineering event console
Validation objectives
Knowledge corpus
Educational model: handcrafted vectors, binary relevance labels, real BM25 and cosine calculations. Missing branches contribute zero to weighted RRF; weights are not silently renormalized.
Platinum Cognitive Retrieval Orchestration Nexus
Query Transformation, Reranking and Context Assembly
Trace a knowledge request from query rewriting to a bounded, attributable context. Compare candidate recall, ranking and evidence coverage before generation.
Orchestration controls
Live retrieval telemetry
Query plan
Awaiting execution.
Diagnostic evidence
Candidate ranking and source lineage
| Source | Retrieval score | Rerank score | Words | Context decision |
|---|
Assembled context
No context assembled.
Engineering objectives
Engineering interpretation
Query expansion can improve coverage but introduces drift. Deduplicate by stable source ID before reranking. A reranker cannot recover evidence absent from the candidate pool. Reserve context capacity for instructions and output in production.
Model boundary: deterministic keyword retrieval and evidence-tag reranking; no live LLM, tokenizer or cross-encoder. Budget measures document words, excluding prompt overhead. Relevance labels are fixed for the two example queries.
Platinum Retrieval Intelligence Ascension
Advanced Retrieval Engineering
Engineer hierarchical vector indexes, fuse lexical and semantic rankings, and assemble evidence within bounded context windows. Your achievement is derived from completed engineering objectives, not visits or button clicks.
Vector Databases, HNSW and ANN Index Engineering
Graph traversal, recall analysis, index partition and recovery.
Not validatedHybrid Search, BM25 and Semantic Retrieval
BM25, cosine similarity, rank fusion and retrieval engine recovery.
Not validatedQuery Transformation, Reranking and Context Assembly
Multi-query retrieval, deduplication, reranker outage and evidence recovery.
Not validatedAdvanced Retrieval Engineer — pending
Validate all three labs to unlock this local learning achievement.
Progress is stored in this browser. This is a learning milestone, not an accredited certification. Stage 03 is available through the dashboard without a mandatory prerequisite.
Emerald Connected Intelligence Universe
Knowledge Graph Construction and Entity Relationships — build a graph from enterprise evidence, resolve aliases, validate integrity and traverse typed relationships.
Source evidence
[S1] R1 peers with R2. [S2] R2 advertises prefix P1. [S3] P1 serves Application A. [S4] Router One is an alias for R1. [S5] Application A depends on Database D.Investigate the directed dependency path from R1 to Database D. Relationships are explicit facts, not inferred causal claims.
Connected knowledge chamber
Engineering controls
Configuration changes reset execution, not earned objectives.
Triple inspection / source lineage
| Subject | Predicate | Object | Source |
|---|
Engineering evidence
Engineering validation
Model boundary: deterministic source triples and alias dictionary, directed breadth-first traversal; no live entity extraction model or graph database. Browser-local progress only.
GraphRAG and Multi-Hop Knowledge Retrieval
Sapphire Graph Intelligence Continuum Signature Master Edition
Incident investigation: Which database supports the application reached through the affected network prefix? Compare semantic retrieval with graph expansion and inspect the evidence chain.
Connected knowledge chamber
Violet outline: vector seed · Emerald: discovered entity · Gold: traversed evidence edge
Evidence and context assembly
Diagnostic console
Retrieval controls
Engineering objectives
Engineering principle
Vector similarity identifies useful starting entities. Directed graph expansion follows explicit relationships, but only authorized, current evidence may enter the context. A path is not proof unless every edge is supported.
Agentic RAG and Adaptive Retrieval Orchestration
Platinum Autonomous Knowledge Intelligence Nexus Signature Master Edition
Investigate which database supports the application reached through R1, and identify its recovery policy. An agent must gather both dependency and policy evidence before answering.
Autonomous orchestration nexus
Evidence ledger
Agent execution trace
Engineering controls
Engineering objectives
Engineering principle
Adaptive retrieval chooses tools according to missing evidence. Tool budgets bound execution. A denied source cannot be bypassed by fallback. The agent abstains if required evidence remains unavailable.
Emerald Cognitive Intelligence Ascension
GraphRAG and Knowledge Intelligence
Construct canonical knowledge graphs, traverse multi-hop evidence chains, and orchestrate adaptive retrieval with bounded agent execution. Your achievement is derived from completed engineering objectives, not visits or button clicks.
Knowledge Graph Construction and Entity Relationships
Canonical entities, relationship triples, alias resolution and graph integrity.
Not validatedGraphRAG and Multi-Hop Knowledge Retrieval
Vector seeds, multi-hop traversal, evidence chains and missing-edge recovery.
Not validatedAgentic RAG and Adaptive Retrieval Orchestration
Adaptive tool selection, bounded execution, evidence validation and authorized fallback.
Not validatedConnected Knowledge Engineer — pending
Validate all three labs to unlock this local learning achievement.
Progress is stored in this browser. This is a learning milestone, not an accredited certification. Stage 04 is available through the dashboard without a mandatory prerequisite.
Amethyst Cognitive Memory Universe
Working, Episodic, Semantic and Procedural Memory — Signature Master Edition
Memory architecture
Request → memory classification → tenant and freshness gate → authorized retrieval → agent context
Memory engineering console
Evidence and decision trace
Select a request and its appropriate memory layer.
Engineering objectives
Memory is not automatically trustworthy. Validate scope, freshness and authorization before assembling agent context.
Persistent Agent State, Checkpoints and Memory Consolidation
Titanium Persistent Intelligence Continuum — investigate a durable incident-response agent. Checkpoint before interruption, validate integrity, replay safely and consolidate evidence.
Durable execution architecture
State and evidence ledger
Execution controls
Advance the task, save a checkpoint, then simulate an interruption. The durable effect ledger survives a runtime crash.
Engineering objectives
Diagnostic console
Educational model: checkpoints and effect ledger are simulated in browser memory. A real deployment requires durable transactional storage, authenticated integrity checks and idempotent external operations.
Context Window Engineering and Memory Lifecycle Management
Obsidian Cognitive Context Intelligence Nexus — preserve mandatory instructions and source evidence while managing a finite context window.
Context allocation engine
Window allocation (simulated tokens)
Memory evidence ledger
Engineering controls
Engineering objectives
Suggested investigation
Run the default naive strategy. Switch to compression at the same budget. Test expired evidence and cross-tenant evidence. Return to healthy memory and compare results.
Diagnostic console
Educational model: token costs and summaries are predefined; no live tokenizer or LLM is used. Eviction removes records from assembled context, not persistent storage. Real systems require server-side authorization and retention enforcement.
Amethyst Persistent Intelligence Ascension
Persistent Agent Memory Engineering
Engineer cognitive memory layers, recover durable agent state from checkpoints, and preserve essential evidence within bounded context windows. Your achievement is derived from completed engineering objectives, not visits or button clicks.
Working, Episodic, Semantic and Procedural Memory
Memory classification, freshness, tenant isolation and evidence validation.
Not validatedPersistent Agent State, Checkpoints and Memory Consolidation
Versioned checkpoints, integrity checks, recovery and memory consolidation.
Not validatedContext Window Engineering and Memory Lifecycle Management
Context budgets, compression, eviction and evidence preservation.
Not validatedPersistent Intelligence Engineer — pending
Validate all three labs to unlock this local learning achievement.
Progress is stored in this browser. This is a learning milestone, not an accredited certification. Stage 05 is available through the dashboard without a mandatory prerequisite.
Obsidian Cognitive Security Fortress
RAG Security, Tenant Isolation and Knowledge Governance — Signature Master Edition
Security investigation console
Candidate evidence ledger
Response decision
Awaiting execution.
Audit trace
RAG Evaluation, Observability and Failure Investigation
Titanium Cognitive Intelligence Command Centre Signature Master Edition
Investigate an enterprise routing incident: identify the affected dependency and approved recovery procedure. Compare retrieved evidence against a labelled reference set, inspect the execution trace and restore service quality.
Distributed execution architecture
Incident controls
Reference evidence: D1 dependency, D2 approved recovery. D3 is irrelevant; D4 is restricted. Latency SLO: 800 ms.
Evidence ledger
Generated claim evaluation
Engineering objectives
Diagnostic console
Awaiting execution.
Educational model: labelled synthetic evidence, simulated span timings and deterministic claim checks. No external model or telemetry service is contacted.
Enterprise RAG and Agent Memory Engineering Capstone
Platinum Cognitive Intelligence Universe — investigate, repair and validate a multi-layer enterprise AI incident.
Incident command console
Run the baseline to establish evidence.
Evidence and distributed trace
| Span / evidence | Decision | Latency |
|---|
Platinum Cognitive Intelligence Architect
Enterprise RAG Operations and Reliability · Validate the final three labs, then ascend through all five engineering milestones.
RAG Security, Tenant Isolation and Knowledge Governance
Not validatedRAG Evaluation, Observability and Failure Investigation
Not validatedEnterprise RAG and Agent Memory Engineering Capstone
Not validatedKnowledge and Retrieval Foundations
0 / 3Advanced Retrieval Engineering
0 / 3GraphRAG and Knowledge Intelligence
0 / 3Persistent Agent Memory Engineering
0 / 3Enterprise RAG Operations and Reliability
0 / 3Enterprise RAG and Agent Memory Architect — pending
Complete all fifteen labs to unlock the platinum achievement.
Local learning achievement, not an accredited certification. Progress is stored in this browser.