ARCHOS 525 BLUEPRINT · /d/dgm_chat-with-memory
Conversational AI Assistant with Long-Term Memory (Episodic & Profile)
6 COMPONENTS · 6 FLOWS · UPDATED 2026-11-24
GITHUB README / PR PREVIEW CARD
[](https://archos.sageideas.dev/d/dgm_chat-with-memory) *Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_chat-with-memory)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_chat-with-memory" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Conversational AI Assistant with Long-Term Memory (Episodic & Profile) — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
client_0["End Users"]
n1_1["Chat Orchestrator"]
n2a_2[("Memory Recall Tier")]
n2b_3["Async Extractor"]
n3_4[("LLM & Thread Store")]
downstream_5["Downstream & OTel"]
client_0 -->|"1. User turn · HTTPS"| n1_1
n1_1 -->|"2a. Recall mem · gRPC"| n2a_2
n1_1 -.->|"2b. Extract · Async"| n2b_3
n2a_2 -->|"3a. Save turn · SQL"| n3_4
n2b_3 -->|"3b. Apply · Async"| n3_4
n3_4 -.->|"4. Emit / · OTLP/API"| downstream_5COMPONENT STACK (6)
- End UsersSTATELESSMulti-session personalized chat
- Chat OrchestratorSTATELESSBudgeted context assembler
- Memory Recall TierSTATEFULUser profile + vector episodes
- Async ExtractorSTATELESSFact distill, merge & forget
- LLM & Thread StoreSTATEFULStreaming reply + Postgres log
- Downstream & OTelSTATELESSConsumers, metrics & SLOs
REQUEST & DATA FLOW (6)
- End Users → Chat Orchestrator (User turn)[HTTPS]
- Chat Orchestrator → Memory Recall Tier (Recall mem)[gRPC]
- Chat Orchestrator → Async Extractor (Extract)[Async]
- Memory Recall Tier → LLM & Thread Store (Save turn)[SQL]
- Async Extractor → LLM & Thread Store (Apply)[Async]
- LLM & Thread Store → Downstream & OTel (Emit /)[OTLP/API]