v0.17.34 · Python 3.10+
The intelligence plane for memory-first agents.
MemoRizz connects persistent memory, models, prompts and reasoning, so your agents recall what matters, reuse experience and make better decisions across sessions.
The Mac app runs the local UI in its own window, and installs MemoRizz on first launch. For macOS 13 or later; the first time, allow it in System Settings › Privacy & Security.
pip install memorizzMemoRizz in a minute.
The Python SDK, the CLI, the local UI and MCP, and coding agents side by side. 57 seconds, no sound.
See what your agents remember.
The local UI ships with MemoRizz: run memorizz ui. Chat with an agent and see what it recalls, browse every memory it holds, and watch runs, learning and scheduled jobs.














The Support Assistant recaps a customer's saved sizes and delivery preferences. The Memory panel shows the customer entity it saved and the store-policy document in its knowledge base.
Memory
Five kinds of memory, one SDK.
Agents need more than a chat log. MemoRizz keeps each kind of memory in the shape it is used, scoped to the right agent, user and thread.
Core concepts- EpisodicConversation history, past interactions and session summaries.
- SemanticKnowledge bases, entity facts, preferences and personas.
- ProceduralRegistered tools, recorded workflows and reusable skills.
- Short-termWorking context and a semantic cache for the task at hand.
- SharedA shared workspace where agents coordinate and hand work off.
Memory archive · v1
Take your agents' memory with you.
Export a project or an agent's memory graph to a .memorizz.json file. The format keeps all 13 stores aligned with the memory taxonomy, with explicit links between records and a checksum to check the file's integrity.
Restore to filesystem, MongoDB, Oracle AI Database or Notion through the UI, SDK, CLI, MCP or coding-agent plugins. Agent exports can include delegates, their separate private memories, shared coordination and recorded evolution.
Explore the archive formatOne entry in stores.knowledge_base
{
"id": "dfbde207-859c-4cde-9921-37e959d31ade",
"data": {
"memory_id": "harbor-demo",
"user_id": null,
"content": "The release owner is Mira."
}
}# Export a project's memories from the connected store
memorizz memory export ./harbor.memorizz.json \
--memory-id harbor-demo
# On the destination: preview, then create a separate copy
memorizz memory import ./harbor.memorizz.json --new-ids
memorizz memory import ./harbor.memorizz.json --new-ids --applyForgetting mechanism
Memories decay the way Generative Agents forget.
Retrieval ranks every memory by recency since it was last used, the importance it was given when written, and relevance to the query. Recalling a memory keeps it fresh; unused ones sink. Nothing is deleted by ranking alone.
A governed second tier plans a dry run over records whose retention decayed, needs a named approver, and hides them from retrieval with a reversible state. Pinned, verified and cited records are protected, and every suppression can be restored. Tune the decay, weights, importance rater and thresholds globally in Settings or per agent.
Read how forgetting worksApplied on every turn, per candidate set
# Every retrieved candidate, before it enters the prompt (Park et al. 2023)
recency = 0.995 ** hours_since_last_access
importance = stored 0..1 rating (default 0.5)
relevance = cosine to the query
score = normalize(recency) + normalize(importance) + normalize(relevance)
# Selecting a memory counts as a recall: last_accessed_at = now, access_count += 1# Dry run over conversation, knowledge, entity, summary and workflow records
memorizz learning retention-plan --agent-id support-agent --json
# Approve: records are hidden from retrieval, never deleted
memorizz learning retention-apply PLAN_ID --agent-id support-agent --approved-by operator-7
# Change your mind
memorizz learning unsuppress RECORD_ID --memory-type knowledge_base \
--agent-id support-agent --approved-by operator-7Proactive mode
Your agent suggests the next step before you ask.
Switch on prospection and a background loop reads what the agent remembers, the tools it has and the workflows it has saved, and writes down what is likely to happen next and what to do about it. Each prospect cites the memories it came from. Prospects are kept apart from what really happened, so a guess is never recalled as a fact.
The level decides how far it may go on its own. Risk is worked out from how each tool is declared, never by the model, and every pass stays inside a daily token budget.
| Level | On its own |
|---|---|
| Low | Proposes the next step and waits for you |
| Medium | Also runs read-only preparation |
| High | Also takes steps it can undo |
agent.py
from memorizz import MemAgent
agent = MemAgent(
instruction="You help me plan trips.",
llm_config={"provider": "openai", "model": "gpt-4o-mini"},
prospection="low", # off unless you turn it on
)
agent.run("I fly to Lisbon on 14 March for a conference. No hotel yet.")
for prospect in agent.prospect(force=True):
print(prospect.title, prospect.score, prospect.source_memory_ids)
agent.accept_prospect(prospect.prospect_id) # the agent carries it outSimuground follow-ups
from memorizz import cloud
# Who the agent's published copy met in the Simuground, as a read-only tool
agent.add_tool(cloud.meetings_tool())
agent.with_prospection("low", scan_tools=("simuground_meetings",))
for prospect in agent.prospect(force=True):
print(prospect.title)
# Connect Ada with Bob on agent evals# Run prospection for saved agents in the background
memorizz prospection run # every agent with it switched on
memorizz prospection run --agent AGENT_ID
memorizz prospection run --once # due passes once, then exitFramework
Everything around the memory, too.
Persist and isolate
Scope memory by agent, user and conversation. Start on local files, then move to Oracle AI Database, MongoDB, Notion with separate vectors, or any other database through one provider contract.
RetrievalIngest and recall
Turn files and folders into a knowledge base with configurable chunking and embeddings, then recall with semantic or hybrid search.
ContextKeep context lean
Deduplicate recalled memories, summarize and compact history, cache prompts, and decide what is kept and what is forgotten.
MetaHarnessOne control plane for coding agents
Run tasks through Codex, Claude Code, OpenHands, DeepSeek, pi, Hermes or MemAgent workers, with approvals, workspace isolation, budgets and cancellation.
LearningLearn from experience
Distil repeated successes into skills and demote the ones that stop working. Fine-tune the models behind memory on your own memories, and swap one in when it beats the one in use.
ProactiveSuggest the next step
Switch on prospection and an agent works out the likely next step from what it remembers, its tools and its saved workflows, citing its sources. At higher levels it takes the step, and anything that sends or deletes still waits for you.
OperationsSee every decision
Traces for each model and tool call, usage and cost analytics, and approvals before anything irreversible.
CachingCall a slow tool once
A tool call cache reuses the result of a repeated call to a tool marked safe to reuse, for the same user, while it is fresh. Tools with side effects always run.
PluginsMemory for Codex and Claude Code
Each session starts with the project's memories and the last session's summary, every turn is saved, and every session appears in the UI step by step. Both agents share it, locally or on a hosted MCP server.
MetaHarness
Put coding agents side by side.
Give Codex, Claude Code, a MemAgent and other harnesses the same task. MemoRizz runs them at once, then lines up what each one did, how long it took, what it cost and what it answered.
MetaHarness guide- Same task, same memory.Every harness gets the same task, limits and memory snapshot, and they run at the same time. Comparisons are read-only.
- One timeline.Model calls, tool calls, commands and subagents in one lane per harness. Each lane starts when its harness started, so lengths compare directly.
- Effort marked, judgement yours.The fastest run and the ones with the fewest tokens and actions are flagged. Answers and full trajectories sit side by side for you to judge.


From the terminal:
memorizz harness compare "Find the failing test" --harness codex --harness claude-code --harness memagentTool call cache
Don't call the same tool twice.
A tool that is safe to reuse opts in. When the same call comes again for the same user, the agent answers from the stored result while it is fresh. MCP tools qualify when their server marks them read-only and idempotent. Anything with side effects always runs.
@governed_tool(cacheable=True, cache_ttl_seconds=600)
def lookup_order(order_id: str) -> dict:
"""Look up an order's status, carrier and dates."""
return orders_api.get(order_id)
agent = MemAgent(tools=[lookup_order], tool_cache=True)| Measure | No cache | Tool cache |
|---|---|---|
| Real API calls | 8 | 4 |
| Queue time | 36.6 s | 28.6 s |
| Correct answers | 8 of 8 | 8 of 8 |

Computer use
Let agents operate the apps on your Mac.
An agent reads any app's window as a numbered outline of its buttons, fields and text, then clicks, types, presses keys and scrolls by number. It reads text, not pixels, so it works with any tool-calling model, local ones included.
Actions reach the app in the background, so you keep working in another one and your typing never lands in the agent's app. Reading is free; every action waits for your approval. Each run is kept as workflow memory, step by step with screenshots, so you can see what the agent did and repeated procedures can become skills.
Read the desktop control guide# The macOS extra, then Accessibility for the app you run MemoRizz in
uv tool install --python 3.12 "memorizz[desktop]"
memorizz desktop doctor --ask
# One MCP connection, one tool per action; restart the chat to use it
memorizz desktop connect
memorizz
> Open Calculator and work out 12 × 7.read_window("Calculator")
Calculator — window "Calculator"
[1] button "Clear"
[2] button "7"
[3] text field "Search" = "hello" (focused)
Act by number: click(n), type_text(text, element=n), press_keys("cmd+f"),
scroll("down"). Numbers change after every read or action.# Reading never asks; every other action waits for you
/approvals pending
/approvals approve PROPOSAL_ID you@example.com looks right
/approvals resume PROPOSAL_ID
# Every run is kept as workflow memory, step by step
memorizz ui # Memory Types → WorkflowsCodex + Claude Code
One project, two coding agents, one memory.
With the MemoRizz plugin, Codex and Claude Code share each project's memory. Codex fixes a bug and saves why; Claude Code, in a new session, explains the change without reading the diff. Every session also shows up in the UI as a run, with each command, tool call and file change, so you can compare them.
Install it in Claude Code, straight from GitHub:
claude plugin install memorizz --marketplace RichmondAlake/memorizzOr install both plugins with MemoRizz:
memorizz plugin install codex
memorizz plugin install claude-code
memorizz ui # Harnesses: every session, step by step| Session | Codex | Claude Code |
|---|---|---|
| Asked to | Fix the failing test | Explain why points use int() |
| Memory | Saved what it changed and why | Read the summary, searched the fact |
| Took | 53 s · 6 commands | 13 s · $0.05 |

Quickstart
An agent that remembers, in a few lines.
Without a provider, memory persists to ~/.memorizz/memory. Point the same code at Oracle AI Database, MongoDB or any other database of your choice when you deploy.
agent.py
from memorizz import MemAgentBuilder
agent = (
MemAgentBuilder()
.with_name("Support memory")
.with_instruction("Answer concisely; use prior context when relevant.")
.with_llm_config({"provider": "openai", "model": "gpt-4o-mini"})
.with_memory_ids("support-demo")
.build()
)
scope = {
"memory_id": "support-demo",
"user_id": "user-42",
"thread_id": "thread-1",
}
agent.run("I prefer Python examples.", **scope)
# A later turn recalls the preference.
print(agent.run("How should you show me code?", **scope))
agent.close()python -m pip install memorizz
memorizz config set OPENAI_API_KEY # hidden prompt, saved for next launch
memorizz # chat with an agent in the terminal
memorizz ui # or open the local web UI# Give Codex or Claude Code a memory that outlasts each session
memorizz plugin install codex
memorizz plugin install claude-code
# Claude Code, straight from GitHub (no MemoRizz install needed)
claude plugin install memorizz --marketplace RichmondAlake/memorizz
memorizz ui # Harnesses: each Codex and Claude Code session, step by step
# A team: one hosted MemoRizz server, one API key per person
memorizz plugin install codex --remote https://mcp.example.com/mcp
# Or serve MemoRizz to any MCP host
memorizz mcp serve --transport stdioIntegrations
Bring your models, stores and agents.
- Models
- OpenAIAnthropicAzure OpenAIOllamaHugging FaceMLX
- Memory stores
- Local filesMongoDBOracle AI DatabaseNotion
- Coding agents
- CodexClaude CodeOpenHandsDeepSeekpiHermes
- Interfaces
- Python SDKCLILocal UIMCP serverCodex & Claude Code plugins