GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - 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.

BranchesTags
Open more actions menu

Latest commit

 

History

268 Commits
268 Commits

Folders and files

NameName
Last commit message
Last commit date
.agents/plugins
.agents/plugins
 
 
.claude-plugin
.claude-plugin
 
 
.github/workflows
.github/workflows
 
 
deploy/mcp-server
deploy/mcp-server
 
 
docs
docs
 
 
eval
eval
 
 
examples
examples
 
 
packaging
packaging
 
 
plugins
plugins
 
 
scripts
scripts
 
 
src/memorizz
src/memorizz
 
 
tests
tests
 
 
.env.example
.env.example
 
 
.gitignore
.gitignore
 
 
.pre-commit-config.yaml
.pre-commit-config.yaml
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CLA.md
CLA.md
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
NOTICE
NOTICE
 
 
README.md
README.md
 
 
install.sh
install.sh
 
 
mkdocs.yml
mkdocs.yml
 
 
pyproject.toml
pyproject.toml
 
 
pytest.ini
pytest.ini
 
 

Repository files navigation

Memorizz

The intelligence plane for memory-first agents.

Memorizz is a Python framework that connects persistent memory, models, prompts, and reasoning so agents can recall what matters, reuse experience, and make better decisions across sessions.

Documentation · PyPI · Examples · Changelog

The MemoRizz agent dashboard: runs, success rate, run time, model calls, tokens and spend across every agent, a runs-over-time chart, and what needs attention.

The agent dashboard in the local UI (memorizz ui): runs, success rate, run time, model calls, tokens and spend across every agent, and what needs attention.

Memory management

Memory is the foundation: retain information, retrieve relevant context, and refine what an agent knows over time.

Memory What it gives your agents
Episodic Conversation history, past interactions, and summaries.
Semantic Knowledge bases, entity facts, preferences, and personas.
Procedural Registered tools, recorded workflows, and reusable skills.
Short-term Working context and semantic caching.
Shared A shared workspace for agent coordination and handoffs.
  • Persist and isolate: scope memory by agent, user, and conversation. Start with local filesystem storage, or use MongoDB, Oracle, or Notion with separate vector storage through the same provider contract.
  • Ingest and retrieve: turn files and folders into a knowledge base with configurable chunking, embeddings, and semantic or hybrid search.
  • Manage context: deduplicate retrieved memories, summarize and compact history, inspect recall decisions, and control retention and forgetting.
  • Forget the way Generative Agents do: retrieval ranks memories by recency since last use, stored importance and relevance, recalls reinforce a memory, and a governed planner suppresses, never deletes, records whose retention decayed; every suppression is approved and reversible. See the forgetting mechanism.

Explore memory concepts and scope, storage providers, and context efficiency.

Agent framework

Build persistent agents with MemAgent and MemAgentBuilder. Choose assistant, workflow, or deep_research modes and connect cloud or local model providers.

  • Tools and integrations: Python functions, MCP servers, internet search, governed browser control, desktop control of Mac apps (computer use), sandboxes, and external skills. MCP tools are stored in toolbox memory and found by meaning. A tool call cache reuses the results of repeated calls to tools that are safe to reuse.
  • Persona: give an agent a name, role, goals and background. It changes when someone asks, and with persona learning on, it can grow in the background from what the agent is used for, with every change quoted and undoable.
  • Coordination: delegate work to specialist agents, share memory, run scheduled automations, and start timers that count down live in the CLI and the chat.
  • Interfaces: use the Python SDK, interactive CLI, local web UI, or expose Memorizz as an MCP server.

Start with the SDK quickstart or the CLI guide.

Harness

MetaHarness runs tasks through Codex, Claude Code, OpenHands, DeepSeek, pi, Hermes, or native MemAgent workers, and a MemAgent can hand parts of a request to delegates that run on those harnesses. It carries memory scope and learning evidence across harnesses while managing permissions, approvals, workspace isolation, budgets, cancellation, and host-side verification.

Use an external harness for an entire task or let a MemAgent call one as a specialist tool. Inspect installed adapters with memorizz harness doctor.

See the MetaHarness guide and hands-on examples.

The MemoRizz harness dashboard: launch a task on a harness, see which harnesses are ready on this machine, and follow plans and comparisons across Codex, Claude Code and MemAgents.

The harness dashboard: run a memory-grounded task on one harness, chain harnesses into a plan, or compare them side by side, with approvals and verification.

Memory for Codex and Claude Code

MemoRizz is also a plugin for Codex and Claude Code. The agent starts each session with the project's facts and the last session's summary; each turn and a summary of each session are saved as episodic memory; and the agent can search past sessions, save and correct facts, record entities and load project documents. Both agents share the memory, locally or on a hosted MemoRizz MCP server for a team (deploy/mcp-server). Each session also appears on the UI's Harnesses page with its full trajectory, so you can follow a Codex session and a Claude Code session step by step and compare them.

memorizz plugin install codex          # or: memorizz plugin install claude-code

Or codex plugin marketplace add RichmondAlake/memorizz / claude plugin marketplace add RichmondAlake/memorizz, then install memorizz@memorizz. See MemoRizz in Codex and Claude Code, and examples/coding_agent_plugins for Codex and Claude Code sharing one project's memory.

Continual learning and the intelligence plane

The intelligence plane is the model layer and everything that helps it think: the LLM, prompts, reasoning strategies such as planning, reflection, and tool selection, plus the memory and retrieval that supply context. Its job is decision quality. A bad plan or a hallucinated tool call is an intelligence plane problem.

Memorizz makes memory the foundation of this plane. Its opt-in continual learning loop captures tool workflows and their outcomes, distills repeated successful procedures into reusable skills, retrieves relevant active skills, and monitors their performance. Shadow evaluation and review support skill activation; skills that stop working can be demoted.

The learning control plane adds traceable outcome evidence, bounded retrieval, and reversible forgetting. Together, these capabilities help agents retain, recall, reuse, and refine experience.

Memorizz also fine-tunes the small models behind memory on your own memories: decision models that file each memory in the right store, embedding models (EmbeddingGemma 2, Qwen3-Embedding) and rerankers. The datasets stay in the connected memory provider, each model is scored against the one in use on held-out examples, and you swap it in (or back) from the UI, the CLI or MCP.

Where memory used to decide with a similarity score and a fixed threshold, an agent can ask a decision model instead: Liquid's d1 on your machine, TypeSafe's Jev, OpenAI Decisions, or one fine-tuned in Memorizz. It answers whether a message holds anything worth keeping, which memory a request needs, whether a cached answer fits the question as asked, how a new note relates to stored ones, and which tool a request needs, if any.

Read about continual learning, persona learning, fine-tuning, decision models, the learning control plane, the forgetting mechanism, and evaluation methods.

Quick start

Requires Python 3.10+. Install and launch the CLI with a cloud model:

python -m pip install memorizz
export OPENAI_API_KEY="your-key"
memorizz

For a fully local setup, use Ollama. The installation guide covers uv, pipx, npm, Homebrew, and optional integrations.

Save credentials without putting them in shell history, and choose memory storage independently from the model:

memorizz config set OPENAI_API_KEY  # hidden prompt
memorizz memory configure          # guided memory-provider setup
memorizz notion connect            # Notion library + separate vector provider
memorizz config path               # actual save target and precedence

These commands save defaults for the next launch; they do not switch a running agent or migrate memory. See CLI configuration.

Build a memory-first agent in Python using the same environment:

from memorizz import MemAgentBuilder

agent = (
    MemAgentBuilder()
    .with_instruction("Remember useful context and use it to help the user.")
    .with_llm_config({"provider": "openai", "model": "gpt-4o-mini"})
    .with_memory_ids("my-assistant")
    .build_and_save()
)

scope = {"memory_id": "my-assistant", "user_id": "alice", "thread_id": "intro"}
with agent.lifecycle(close_memory_provider=True):
    agent.run("I work on payments systems.", **scope)
    print(agent.run("What did I tell you about my work?", **scope))

Memory persists under ~/.memorizz/memory by default. Save agent.agent_id to restore the agent later.

Explore

  • Memory-first tutorials
  • Persistent notes and searchable history: filesystem and Oracle notebooks
  • MCP connectivity and MCP server
  • Automations and timers and multi-user applications
  • Observability and evaluation suite
  • Usage, cost and memory analytics
  • Persona learning and account-owned persona evolution
  • API reference, configuration, and troubleshooting

License

Source available under PolyForm Noncommercial 1.0.0. See NOTICE. Memorizz is experimental: APIs may change and it has not undergone security hardening for production workloads.

About

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.

github.com/RichmondAlake/memorizz

Topics

aiartificial-intelligencedata-managementmongodboracleoracle-databasepythonsemantic-search

Resources

Readme
License
Activity

Stars

788 stars

Watchers

10 watching

Forks

87 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.