Skip to main content

Dense-Mem

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

GoalRead
Set up a server or try disposable memoryQuick Start, Hosted Demo
Use memory from an AI clientUsing Dense-Mem, MCP Clients
Integrate Python, Google ADK, or LangChainFramework Integrations
Understand the current modelEvidence Model And Lifecycle, Topics And Organization
Understand execution and storageArchitecture, Memory Write Pipeline, Data Model And Storage
Inspect the tool contractTechnical Reference
Understand searchRecall Ranking, Vector Search And Ranking, ANN, HNSW, And Halfvec
Correct, retract, or give feedbackConflicts And Corrections, Recall Feedback
Administer accessPortals And API Keys, User Portal SSO, Request Lifecycle And Security
Operate a deploymentConfiguration, Public HTTPS And Redis, Operations Runbook, Telemetry
Develop or maintain documentationDevelopment And Testing, Evaluation, PostgreSQL Cluster-Safe Schema, Documentation Maintenance

Choose The Right Memory

Input or actionMeaning
RememberSubmit exact source text to an explicit private or team-shared destination.
Ingest sessionSubmit exact user-authored events to private memory; the server selects verbatim excerpts.
RecallRetrieve authorized, eligible Evidence and useful current topic hints.
TraceInspect the provenance and lifecycle of a returned Evidence ID.
TopicsOrganize 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.