Skip to main content
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
[![Conversational AI Assistant with Long-Term Memory (Episodic & Profile) — ArchOS Architecture](https://archos.sageideas.dev/d/dgm_chat-with-memory/opengraph-image)](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_5

COMPONENT STACK (6)

  • End UsersSTATELESS
    Multi-session personalized chat
  • Chat OrchestratorSTATELESS
    Budgeted context assembler
  • Memory Recall TierSTATEFUL
    User profile + vector episodes
  • Async ExtractorSTATELESS
    Fact distill, merge & forget
  • LLM & Thread StoreSTATEFUL
    Streaming reply + Postgres log
  • Downstream & OTelSTATELESS
    Consumers, metrics & SLOs

REQUEST & DATA FLOW (6)

  1. End Users → Chat Orchestrator (User turn)[HTTPS]
  2. Chat Orchestrator → Memory Recall Tier (Recall mem)[gRPC]
  3. Chat Orchestrator → Async Extractor (Extract)[Async]
  4. Memory Recall Tier → LLM & Thread Store (Save turn)[SQL]
  5. Async Extractor → LLM & Thread Store (Apply)[Async]
  6. LLM & Thread Store → Downstream & OTel (Emit /)[OTLP/API]
Configure NGINX / Postgres / K8s →60-Sec L4–L7 Diagnostic →