selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

YourMemory logo

Self-host YourMemory

v1.4.26

Persistent AI memory with biological forgetting curve

ReleaseSource AvailableOther
Updatedlast month
LanguagePython
Setup difficultyModerate
Stars
270
Ports
3033 (Memory dashboard UI and API proxy), 8000 (API server (Docker))
Install with Linux

What is YourMemory?

YourMemory equips AI agents with long-term memory that evolves like a human brain. It pulls durable facts from conversations, merges related items into concise summaries, and applies a biologically-inspired forgetting curve so unimportant details fade while frequently-recalled knowledge stays strong. An entity graph connects memories through shared people, places, and concepts, surfacing relevant context you didn't explicitly request. The system includes a tamper-proof audit log, team memory pools with private and shared scopes, and data-rights endpoints for export and deletion. It runs locally with zero-setup DuckDB (PostgreSQL optional), works with any MCP client like Claude or Cursor, and includes a web dashboard at localhost:3033. Licensed CC-BY-NC-4.0 — free for personal and research use, commercial use needs a separate agreement.

Should you self-host YourMemory?

YourMemory scores 45/100 on selfhost.directory (how scoring works) and ranks #138 of 209 in AI Agents. It has 270 GitHub stars.

It shipped 4 stable releases in the past year. The latest, v1.4.26, came out on 25 May 2026. New versions land roughly every 9 days.

Setup is moderate: expect some configuration beyond a single command. It is Other-licensed and written mostly in Python.

Its closest alternative on selfhost.directory is Orca (91/100, 108 446 stars). It scores higher overall, so compare the two before you pick. See YourMemory vs Orca side by side.

Features

  • API Proxy with Guaranteed Memory Injection
  • Ask Without LLM Call
  • Biological Decay (Ebbinghaus Forgetting Curve)
  • Chain-Aware Pruning
  • Data Rights (Export, Erase, Import)
  • Entity graph
  • Local Web Dashboard
  • MCP-Native & Local-First
  • Memory Consolidation
  • Standalone binary releases
  • Subject-Aware Deduplication
  • Survives Context Resets
  • Tamper-evident audit trail
  • Team Memory Pools

YourMemory README

How to install YourMemory

Install YourMemory with Linux

Environment variables
DATABASE_URL, YOURMEMORY_EXTRACT_BACKEND

tar -xzf yourmemory-macos-arm64.tar.gz ./yourmemory-macos-arm64 register ./yourmemory-macos-arm64 setup ./yourmemory-macos-arm64

Fully self-contained (~2 GB); bundles Python, all dependencies, and ML models; no downloads on first run

How to configure YourMemory

  • DATABASE_URLpostgresql://localhost:5432/yourmemoryPostgreSQL connection string for the memory backend

    PostgreSQL connection string for the memory backend

    values: postgresql://..., sqlite:///..., duckdb://...

  • YOURMEMORY_EXTRACT_BACKENDBackend for fact extraction: built-in heuristics, ollama (local), or anthropic (cloud)

    Backend for fact extraction: built-in heuristics, ollama (local), or anthropic (cloud)

    values: heuristics, ollama, anthropic

YourMemory releases & version history

More in AI Agents

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…