Dense-Mem
Dense-Mem stores exact Evidence with provenance and a governed lifecycle. AI clients decide when to save or retrieve memory; the server owns authorization, assessment, persistence, and retrieval.
This site describes the approved Evidence-only target architecture and contract dense-mem.v2.8.0. Implementation status identifies gaps between the target and inspected code. Check the connected server’s authenticated tools/list before using tool arguments; a deployed image can lag the source.
%%{init: {"flowchart": {"curve": "linear"}}}%%
flowchart TB
Client["Your AI client"] -->|"Exact Evidence"| Remember["Remember"]
Remember --> Store[("PostgreSQL + pgvector")]
Store -->|"Eligible Evidence"| Recall["Recall"]
Recall --> Client
Store -. "Derived organization" .-> Topics["Topics"]
Topics -. "Discovery and follow-up" .-> Recall
The repository README is the short entry point. The documentation site owns detailed explanations; deployment examples and development scripts keep file-specific instructions beside their sources.
Start Here
| Goal | Read |
|---|---|
| Set up a server or try disposable memory | Quick Start, Hosted Demo |
| Use memory from an AI client | Using Dense-Mem, MCP Clients |
| Integrate Python, Google ADK, or LangChain | Framework Integrations |
| Understand the current model | Evidence Model And Lifecycle, Topics And Organization |
| Understand execution and storage | Architecture, Memory Write Pipeline, Data Model And Storage |
| Inspect the tool contract | Technical Reference |
| Understand search | Recall Ranking, Vector Search And Ranking, ANN, HNSW, And Halfvec |
| Correct, retract, export, or give feedback | Conflicts And Corrections, Memory Packs, Recall Feedback |
| Administer access | Portals And API Keys, User Portal SSO, Request Lifecycle And Security |
| Operate a deployment | Configuration, Public HTTPS And Redis, Operations Runbook, Telemetry |
| Develop or maintain documentation | Development And Testing, Evaluation, PostgreSQL Cluster-Safe Schema, Documentation Maintenance |
Choose The Right Memory
| Input or action | Meaning |
|---|---|
| Remember | Submit exact source text to an explicit private or team-shared destination. |
| Ingest session | Submit exact user-authored events to private memory; the server selects verbatim excerpts. |
| Recall | Retrieve authorized, eligible Evidence and useful current topic hints. |
| Trace | Inspect the provenance and lifecycle of a returned Evidence ID. |
| Topics | Organize shared Evidence without creating new claims or submitted Evidence. |
PostgreSQL is the durable authority. Redis or process memory coordinates requests and workers. Dense-Mem preserves sources and disagreement; a retrieved item is not a guarantee that its contents are true.