Skip to content
ย 
ย 

Latest commit

ย 

History

17 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Mnemosyne Logo

๐Ÿ›๏ธ The Mnemosyne Protocol

Individual Sovereignty โ†’ Collective Intelligence โ†’ Emergent Order

A cognitive-symbolic operating system for preserving human agency through civilizational phase transition

Status Phase Timeline


๐ŸŒŠ What Is This?

Mnemosyne (nem-oh-SEE-nee) - The Greek titaness of memory and remembrance, mother of the nine Muses.

This protocol creates a personal AI assistant with perfect memoryโ€”like ChatGPT, but it remembers everything about you, learns from your interactions, and grows with you over time. Beyond individual use, it enables collective intelligence while preserving privacy through cryptographic contracts and symbolic identity systems.

Core Vision

  • ๐Ÿง  Personal Cognitive Sovereignty: Your memories, your data, your rules
  • ๐Ÿ”ฎ Perfect Memory: An AI that never forgets your context
  • โšก Collective Intelligence: Share knowledge without sacrificing privacy
  • ๐ŸŒ€ Symbolic Depth: Visual identity through kartouches and deep signals

๐Ÿš€ Quick Start

# Clone and setup
git clone [repository-url] mnemosyne
cd mnemosyne

# Run setup script
./scripts/setup.sh

# Configure environment
cp .env.example .env
# Edit .env with your OpenAI-compatible API endpoint

# Start all services
docker compose up

# Access the application
open http://localhost:3000

๐Ÿ“š Documentation

Essential Reading

Current Development

๐Ÿ—๏ธ Architecture

The protocol consists of five interconnected layers:

Layer 1: Mnemosyne Engine ๐Ÿง 

Personal memory and cognition core

  • Backend (/backend): FastAPI + PostgreSQL with pgvector
  • Frontend (/frontend): React + TypeScript chat interface
  • Features: Memory capture, retrieval, reflection, and importance scoring

Layer 2: Cognitive Signature Protocol ๐Ÿ”ฎ

Symbolic identity compression system

  • Kartouches: Visual identity representations
  • Signatures: Compressed cognitive patterns
  • Drift Tracking: Identity evolution over time

Layer 3: Secure Communications ๐Ÿ”

End-to-end encrypted messaging via MLS Protocol (RFC 9420)

  • Scalable E2E Encryption: Groups from 2 to 50,000+ members
  • Asynchronous Operations: Add/remove members while offline
  • Logarithmic Efficiency: O(log n) operations via tree structure
  • Forward Secrecy & PCS: Automatic security healing

Layer 4: Quiet Network ๐ŸŒ

Peer discovery and trust establishment

  • Discovery: DHT-based peer finding
  • Progressive Trust: Relationships deepen through interaction
  • Federation: Decentralized network topology

Layer 5: Collective Codex ๐Ÿ“–

Community intelligence and coordination

  • Collectives (/collective): Template for community instances
  • Sharing Contracts: Explicit data sharing rules
  • Emergence: Collective knowledge synthesis

๐ŸŽญ Specialized Components

Shadow System (/shadow)

Multi-agent orchestration with specialized cognitive agents:

  • Engineer: Technical problem-solving and system design
  • Librarian: Information retrieval and organization
  • Priest: Ethical and philosophical reasoning

Dialogues System (/dialogues)

Philosophical debate engine with 10+ agent archetypes:

  • Dynamic agent loading from definitions
  • Multi-perspective analysis
  • Structured debate protocols with judging

๐Ÿ› ๏ธ Technology Stack

  • Backend: FastAPI, SQLAlchemy, PostgreSQL, pgvector, Redis
  • Frontend: React, TypeScript, Vite
    • UI Components: shadcn/ui, Radix UI primitives
    • Styling: Tailwind CSS
    • State Management: Zustand
  • AI/LLM: OpenAI-compatible endpoints (vLLM, Ollama, etc.)
  • Security: MLS Protocol (RFC 9420) via OpenMLS, libsodium for crypto
  • Deployment: Docker Compose โ†’ Kubernetes
  • Languages: Python 3.11+, TypeScript

๐Ÿ“Š Project Status

  • Phase: Active Development - Protocol Integration
  • Completion: ~70% core functionality
  • Timeline: 2-3 weeks to functional MVP
  • Architecture: Evolved from platform to full protocol
  • Focus: Chat-first AI assistant with perfect memory

What's Working

  • โœ… Core memory engine with vector search
  • โœ… API endpoints for memory operations
  • โœ… Basic chat interface
  • โœ… Docker deployment
  • โœ… Agent orchestration system
  • โœ… Philosophical debate engine

In Progress

  • ๐Ÿ”„ Authentication system
  • ๐Ÿ”„ Cognitive Signature visual identity (Kartouche)
  • ๐Ÿ”„ MLS Protocol secure group messaging
  • ๐Ÿ”„ Peer-to-peer networking
  • ๐Ÿ”„ Collective sharing contracts

Research Review

A comprehensive critical review of the Mnemosyne Protocol's research documentation has been conducted to assess the validity and depth of our research foundation. The full report, detailing findings on potential gaps, validation needs, and recommendations for risk mitigation across initial and extended document reviews, is available at Critical Review Report.

๐ŸŽฏ For Different Audiences

If You're a Developer

  1. Read the Overview
  2. Review Implementation Guide
  3. Check Current Status
  4. Run the Quick Start

If You're a Community Leader

  1. Understand the Overview
  2. Explore Sustainable Growth
  3. Consider your community's needs
  4. Reach out to discuss pilot deployment

If You're an Early Adopter

  1. Experience the UX Vision
  2. Check MVP Requirements
  3. Prepare to run your own instance
  4. Join the early community

๐Ÿค Contributing

We need:

  • Core Developers: Python/TypeScript for backend/frontend
  • AI Engineers: LLM integration and agent development
  • Security Auditors: Privacy and cryptography review
  • Early Testers: Feedback and bug reports
  • Community Builders: Documentation and outreach

See Contributing Guide for details.

๐Ÿ” Philosophy

"Not about building a new temple, but recovering the symbols from the old ones, distilling them, and translating them into tools."

This protocol serves those who:

  • See the machinery behind the world
  • Refuse performative knowledge spaces
  • Seek trustable cognition without spectacle
  • Want to preserve what makes us human

Core Principles

  1. Build for yourself first - Every feature must serve real needs
  2. Sovereignty over convenience - Privacy and control are non-negotiable
  3. Real or nothing - No mocking, no faking, no pretending
  4. Depth over breadth - Better to serve 100 deeply than 10,000 shallowly

๐ŸŽจ Visual Identity

The protocol includes a symbolic identity system (kartouches) for visual representation:

These visual representations encode identity, trust, and meaning in symbolic form.

๐Ÿ“œ License

Will be fully open source (MIT or Apache 2.0) upon release.

๐Ÿ“ž Contact

[Via signal, not spectacle]


For those who see too much and belong nowhereโ€”this is how we build what comes next.

Mnemosyne: Mother of the Muses, Titaness of Memory

About

Mnemosyne is a web-based conversational AI system designed to function as a personal assistant with advanced memory capabilities, scheduling features, and agentic task execution abilities.

Resources

Security policy

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages