RichmondAlake/memorizz

MemoRizz: A Python library serving as a memory layer for AI applications. Leverages popular databases and storage solutions to optimize memory usage. Provides utility classes and methods for efficient data management.

What it solves

AI agents often start each session with no memory of past interactions, forcing users to repeat themselves and preventing agents from improving over time. Memorizz solves this by giving agents persistent, structured memory that spans sessions, so they can recall relevant facts, reuse successful workflows, and make better decisions based on accumulated experience.

How it works

Memorizz is a Python framework that connects memory, models, prompts, and reasoning. It provides five memory types: episodic (conversation history), semantic (knowledge and preferences), procedural (tools and workflows), short-term (working context), and shared (coordination). Memory can be scoped per agent, user, and conversation, and stored locally or in MongoDB, Oracle, or Notion with vector storage. Agents built with MemAgent and MemAgentBuilder can use tools, MCP servers, internet search, and even desktop control. A continual learning loop captures successful workflows, distills them into reusable skills, and monitors their performance. It can also fine-tune small models (embedding models, decision models, rerankers) on your own memories. A local web UI and CLI provide dashboards for runs, success rate, tokens, and more.

Who it's for

Developers building AI agents that need long-term memory and the ability to learn from experience. It suits anyone creating assistants, workflows, or deep research tools with Python, and who want to give them persistent context and reusable skills. Teams that want to compare multiple coding agents (like Codex and Claude Code) and have them share memory will also find it useful.

Highlights

  • Five distinct memory types (episodic, semantic, procedural, short-term, shared) covering conversation, knowledge, skills, working context, and coordination.
  • Memory persists across sessions and can be scoped per agent, user, and conversation, with multiple storage backends including local filesystem, MongoDB, Oracle, and Notion with vector storage.
  • A continual learning loop that captures successful workflows, distills them into reusable skills, and monitors their performance.
  • Optional fine-tuning of small models (decision models, embedding models, rerankers) on your own memories, with the ability to swap them in or out.
  • A MetaHarness that can run tasks through external agent harnesses (like Codex, Claude Code, OpenHands) while preserving memory and learning evidence.
  • A local UI and CLI for observing runs, analytics, and memory management.

Related

  • Project
  • Project
  • Project
  • Project
  • Project