dense-mem logo
dense-mem
★ 39
vs
Perenna logo
Perenna
★ 61

dense-mem vs Perenna

dense-mem: Dense-Mem is a self-hosted, durable memory layer for AI agents designed to preserve evidence, detect conflicts, and prevent silent rewriting of facts. It provides typed claims, verification gates, server-side embeddings, and structured recall, enabling host LLMs to focus on conversation and judgment while Dense-Mem manages memory state.; Perenna: Perenna provides a lightweight, Git-backed permanent memory solution for various AI agents, enabling them to share durable memories without vendor lock-in. It stores human-readable Markdown in a Git repository and uses a local Vexor index for retrieval, ensuring memory persistence across different agents and machines.

01

TL;DR

dense-mem logo
dense-memMemory & Context · ★ 39

Providing durable and verifiable memory for AI agents in complex tasks.

Perenna logo
PerennaMemory & Context · ★ 61

Sharing durable memories across different AI agents like Claude Code, Codex, ChatGPT, and Cursor.

02

Side-by-Side Comparison

Field
dense-mem logodense-mem
Perenna logoPerenna
Category
Memory & Context
Memory & Context
Stars
★ 39
★ 61
License
Apache-2.0
MIT
Install Command
mkdir dense-mem-local && cd dense-mem-local && curl -fsSLo docker-compose.yml https://raw.githubusercontent.com/markhuangai/dense-mem/main/examples/docker-compose.base.yml && curl -fsSLo .env.example https://raw.githubusercontent.com/markhuangai/dense-mem/main/examples/.env.example && cp .env.example .env && docker compose up -d
uv tool install perenna
Updated
1d ago
1mo ago
Open Source
Yes
Yes
Tags
AI Memory, Knowledge Graph, Conflict Detection
AI Memory, Agent Tooling, Git-backed Storage
03

Features

dense-mem logodense-mem
01First-class evidence provenance, tracing memories from source fragments to facts.
02Facts pass through typed claims, verification, and promotion gates.
03Explicit conflict detection where comparable conflicts return clarification tasks, preventing silent overwrites.
04Clear responsibility boundary: host LLM judges, Dense-Mem manages durable state, gates, and audit metadata.
05Self-hosted with operator control over storage, team isolation, API keys, and data egress boundaries.
Perenna logoPerenna
01Git-backed permanent memory storage in human-readable Markdown.
02Local Vexor retrieval index that can always be rebuilt from Git.
03Support for various AI agents and MCP clients to share memory.
04Self-hosted with no account or proprietary cloud lock-in.
05Cross-process locking for multiple local agent processes.
04

Use Cases

dense-mem logodense-mem
↳Providing durable and verifiable memory for AI agents in complex tasks.
↳Building enterprise AI systems that require strong data governance, auditability, and trusted knowledge.
↳Resolving conflicting information in AI knowledge bases through user clarification and structured processes.
↳Enhancing AI agent reliability and explainability by preserving evidence and preventing silent fact rewriting.
Perenna logoPerenna
↳Sharing durable memories across different AI agents like Claude Code, Codex, ChatGPT, and Cursor.
↳Self-hosting a private and controllable AI agent memory service.
↳Inspecting, editing, versioning, and backing up AI agent memories.
↳Ensuring AI agent memory persistence when switching between agents or machines.
FAQ

FAQ

What is the difference between dense-mem and Perenna?
Both dense-mem and Perenna are in the Memory & Context category. dense-mem has 39 stars, while Perenna has 61 stars.
Which is better, dense-mem or Perenna?
The best choice depends on your use case. Choose dense-mem if Providing durable and verifiable memory for AI agents in complex tasks., and Perenna if Sharing durable memories across different AI agents like Claude Code, Codex, ChatGPT, and Cursor..
Is dense-mem free or open source?
Yes, dense-mem is open source on GitHub (Apache-2.0).
Is Perenna free or open source?
Yes, Perenna is open source on GitHub (MIT).
Cloud Infrastructure
Ad

Deploy on DigitalOcean

Host your MCP servers, Docker containers, and AI agents with $200 free credit over 60 days.

Claim $200 Free Credit
→

Related