matrixorigin/memoria

Secure memory management for AI Agents • Ensures data integrity • Reduces hallucinations • Maintains consistent long-term context

What it solves

Memoria provides a persistent memory layer for AI agents that allows them to remember facts, preferences, and decisions across different sessions. It solves the problem of memory instability and lack of control by introducing Git-like version control for agent memory, enabling users and agents to track, audit, and reverse changes to the agent's knowledge base.

How it works

Memoria acts as a bridge between AI agents and a storage backend powered by MatrixOne's Copy-on-Write engine. It uses a Model Context Protocol (MCP) server to provide agents with a set of tools for storing, retrieving, and managing memory. The system supports hybrid retrieval (combining vector and full-text search) and implements versioning features such as snapshots, branching, and merging to isolate experiments or roll back errors.

Who it’s for

Developers building AI agents (using tools like Cursor, Claude Code, or Kiro) who need their agents to have long-term, auditable memory that persists across conversations.

Highlights

  • Git-for-Memory: Supports zero-copy branching, instant snapshots, and point-in-time rollbacks for memory mutations.
  • Hybrid Search: Combines vector and full-text search to find memories by meaning and keywords.
  • Self-Governance: Automatically detects contradictions and quarantines low-confidence memories.
  • Flexible Deployment: Available as a cloud service or self-hosted via Docker for full data control.
  • Steering Rules: Provides guidance for agents on when to store, retrieve, or purge memory based on the conversation lifecycle.

Related

  • Project
  • Project
  • Dispatch
  • Project
  • Project