Skip to main content
Glama
M4F-S

Mnemosyne

by M4F-S

🧠 Palimpsest

The Context Engine for AI Agents β€” Give your AI agents persistent, observable, compliant memory.

All memories are plain markdown files you own. Search by meaning, traverse relationships, schedule reminders, and protect against poisoned data.

Python PostgreSQL License


⚠️ Rebrand Notice

This project was formerly known as Mnemosyne. We rebranded to Palimpsest in July 2026 to avoid confusion with an unrelated project that adopted the same name.

Why Palimpsest? A palimpsest is a manuscript on which later writing has been superimposed on earlier writing β€” yet traces of the original remain. It's the perfect metaphor for layered, persistent, evolving memory.


Related MCP server: Synapto

What is Palimpsest?

Palimpsest is a production-grade memory platform for AI agents. Unlike simple chat history or RAG, it gives agents:

  • Long-term persistent memory β€” survives restarts, works across sessions

  • Semantic search β€” find ideas by meaning, not just keywords

  • Graph memory β€” notes link via [[wiki-links]], traverse relationships

  • Security gates β€” injection detection, contradiction flagging, near-duplicate checks

  • Prospective memory β€” "remind me in 3 days" β€” and it actually happens

  • Sleep consolidation β€” nightly maintenance: archive stale, merge duplicates

  • MCP server β€” Claude Code, Cursor, any MCP client can read/write memory

  • Observability β€” audit trails, contamination detection, memory health dashboard

  • Compliance β€” GDPR Article 17, EU AI Act ready

Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  Your Question                              β”‚
β”‚  "What did we decide about API rate limit?" β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                   β”‚
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  Palimpsest Memory Platform               β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”   β”‚
β”‚  β”‚ Semantic β”‚ β”‚ Keyword  β”‚ β”‚  Graph   β”‚   β”‚
β”‚  β”‚ Search   β”‚ β”‚ Search   β”‚ β”‚ Search   β”‚   β”‚
β”‚  β”‚(pgvector)β”‚ β”‚(tsvector)β”‚ β”‚(wikilinksβ”‚   β”‚
β”‚  β””β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”˜   β”‚
β”‚       β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜          β”‚
β”‚                    β”‚                       β”‚
β”‚            β”Œβ”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”             β”‚
β”‚            β”‚ RRF Merge      β”‚             β”‚
β”‚            β””β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”˜             β”‚
β”‚                    β”‚                       β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚
β”‚  β”‚ Markdown Vault (source of truth)     β”‚ β”‚
β”‚  β”‚ ~/Palimpsest/vault/*.md             β”‚ β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Quick Start

# Clone the platform
git clone https://github.com/M4F-S/palimpsest
cd palimpsest

# Install (SQLite works out of the box)
pip install -e ".[dev]"

# Or with PostgreSQL + pgvector for production:
docker run -d --name palimpsest-pg -p 15432:5432 \
  -e POSTGRES_USER=palimpsest \
  -e POSTGRES_PASSWORD=palimpsest_secret \
  -e POSTGRES_DB=palimpsest \
  ankane/pgvector:latest
from palimpsest import UnifiedMemorySystem

memory = UnifiedMemorySystem()

# Save a memory
memory.remember(
    title="API Rate Limit Decision",
    content="100 req/min with burst to 200. Alert if p95 > 200ms.",
    tags=["api", "decision"],
    salience=0.9
)

# Search by meaning
results = memory.recall("rate limiting policy", mode="hybrid", top_k=5)

# Schedule a reminder
memory.remind_me("Review API metrics", "2026-07-07T09:00:00", recurring="weekly")

# Run nightly maintenance
memory.consolidate()

Kimi Skill

For the Kimi AI skill (minimal installable version):

πŸ‘‰ github.com/M4F-S/kimi-palimpsest-skill

The skill repo contains only the essential files for Kimi integration: SKILL.md, palimpsest/ package, and tests.

Documentation

Document

Purpose

PLATFORM_BUILDER_BRIEF.md

Architecture and design decisions

SETUP.md

Installation and configuration guide

PALIMPSEST_V3_REBUILD_PLAN.md

V3 roadmap and rebuild strategy

PALIMPSEST_STRATEGIC_DECISIONS.md

Strategic decisions log

RESEARCH_*.md

Research reports and competitive analysis

TEST_REPORT.md

Test coverage and results

CHANGELOG.md

Version history

CONTRIBUTING.md

Contribution guidelines

Environment Variables

Variable

Default

Purpose

MEMORY_DB_DSN

(none)

PostgreSQL connection string

MEMORY_SQLITE_PATH

~/.palimpsest/palimpsest.db

SQLite database path

MEMORY_VAULT_PATH

~/Documents/Kimi/Workspaces/Palimpsest/vault

Markdown vault directory

EMBEDDING_MODEL

all-MiniLM-L6-v2

Sentence-transformers model

OLLAMA_URL

http://localhost:11434

Ollama server for embeddings

License

Apache 2.0

A
license - permissive license
-
quality - not tested
B
maintenance

Maintenance

–Maintainers
–Response time
–Release cycle
–Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/M4F-S/mnemosyne'

If you have feedback or need assistance with the MCP directory API, please join our Discord server