---
id: "framework-hybrid-memory-stack"
type: "framework"
source_timestamps: ["00:30:35", "00:33:34"]
tags: ["system-architecture", "data-engineering"]
related: ["concept-hybrid-memory-architecture", "concept-context-graph"]
sources: ["s11-wiki-vs-open-brain"]
sourceVaultSlug: "s11-wiki-vs-open-brain"
originDay: 11
---
# The Hybrid AI Memory Stack

# The Hybrid AI Memory Stack

A three-tier architectural framework designed to provide the factual reliability and multi-agent scalability of a database, combined with the human-readable narrative synthesis of a wiki. This framework establishes a strict **Authority Hierarchy** where the database is the immutable truth, and the wiki is a disposable presentation layer (see [[quote-database-is-truth]]).

## The Three Tiers

### 1. Structured Ingest
All raw incoming data — documents, Slack messages, meeting notes — is ingested into a **structured SQL database**. This layer acts as the immutable single source of truth, preserving exact provenance, timestamps, and raw text. This is the [[concept-openbrain-architecture]] layer. It enforces [[concept-query-time-synthesis]] for raw retrieval and avoids [[concept-error-baking]] entirely.

### 2. Context Graph Generation
An AI agent queries the structured database to map relationships, dependencies, and contradictions between the raw data points, building an intermediate [[concept-context-graph]]. This is where [[concept-silent-contradictions]] are surfaced rather than smoothed.

### 3. Wiki Compilation
A compiler agent uses the context graph to generate human-readable, narrative markdown wiki pages. If these pages drift ([[concept-wiki-staleness]]) or contain errors, they are simply **deleted and regenerated** from the pristine database. This is the [[concept-ai-wiki]] layer treated as disposable.

## Authority Hierarchy

> Database is truth. Context graph is structure. Wiki is presentation. ([[quote-database-is-truth]])

## Implementation Action

[[action-build-hybrid-system]]

## Underpinning Concept

[[concept-hybrid-memory-architecture]]


## Related across days
- [[framework-world-model-architectures]]
- [[framework-intent-gap-layers]]
- [[concept-hybrid-memory-architecture]]
- [[arc-context-architecture-evolution]]
