Skip to main content

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

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.

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, sandboxes, and external skills.
  • Coordination: delegate work to specialist agents, share memory, and run scheduled automations.
  • 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, or native MemAgent workers. 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.

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.

Read about continual learning, the learning control plane, 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

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.

Metadata

Release files for memorizz 0.12.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for memorizz 0.12.0
File Size Uploaded
memorizz-0.12.0.tar.gz 2.4 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for memorizz 0.12.0
File Interpreter ABI Platform
memorizz-0.12.0-py3-none-any.whl Python 3 none any Details

Total release size: 4.0 MB

Release files / memorizz-0.12.0.tar.gz

Download URL memorizz-0.12.0.tar.gz
Size 2.4 MB
Tags Source
SHA-256 checksum
How to use checksums
9b268b8486cc68756b2d6c7d1ee47ec936b0fe015d1e6d667d6a61dd601ddae4
BLAKE2b-256 checksum
How to use checksums
a7d02d9f22f2396ebb6cc3a0292703ae1eda5148b5eadc5756fa09fcb235f9ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 28, 2026.

Transparency log

Release files / memorizz-0.12.0-py3-none-any.whl

Download URL memorizz-0.12.0-py3-none-any.whl
Size 1.6 MB
Tags Python 3
SHA-256 checksum
How to use checksums
6881f99c47d4b87131fe17f7560c95d250649c81b72abaaabaac6b05ce943d76
BLAKE2b-256 checksum
How to use checksums
2476cf85a9b8ecc6d8d83bc509ef8d97420edc8616e8ed4a8ff2f8dd638fdf22
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 28, 2026.

Transparency log

Release history Release notifications | RSS feed

0.16.6

2 release files

0.16.5

2 release files

0.16.4

2 release files

This release

0.12.0 This release

2 release files

0.11.0

2 release files

0.9.0

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.3

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

0.0.52

2 release files

0.0.51

2 release files

0.0.50

2 release files

0.0.49

2 release files

0.0.47

2 release files

0.0.46

2 release files

0.0.45

2 release files

0.0.44

2 release files

0.0.43

2 release files

0.0.42

2 release files

0.0.41

2 release files

0.0.40

2 release files

0.0.39

2 release files

0.0.38

2 release files

0.0.36

2 release files

0.0.35

2 release files

0.0.34

2 release files

0.0.31

2 release files

0.0.30

2 release files

0.0.29

2 release files

0.0.28

2 release files

0.0.27

2 release files

0.0.26

2 release files

0.0.23

2 release files

0.0.21

2 release files

0.0.20

2 release files

0.0.19

2 release files

0.0.18

2 release files

0.0.17

2 release files

0.0.16

2 release files

0.0.15

2 release files

0.0.14

2 release files

0.0.13

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page