Our take
Activerecent releases- Slower to close issues than 95% of the projects we track
Memoripy is an active, evidence-focused memory library with a clear local-first design, but its v4 API is still under development and should be evaluated against a team's own memory contracts before adoption.
Good fit if
- You need traceable evidence, current-versus-historical facts, and explainable recall in an AI agent.
- You want a Python library that can run locally without a required third-party model or database.
- Your team can evaluate the v4 branch and configure admission, identity, and scope rules for its application.
Look elsewhere if
- You need a mature, stable v4 package release today. The README says v4 is being developed on a branch and the stable PyPI release may still use the older API.
- Your use case depends on general language understanding without supplying a model. The default extractor is explicitly conservative.
- You need a bundled enterprise identity provider. The gateway provides scoped API-key authorization, not enterprise identity management.
All health signals
| Last commit | 2026-08-17 (2 months ago) |
|---|---|
| Commits, last 90 days | 5 |
| Releases, last 12 months | 1 (latest v0.4.0, 2026-08-17, pre-release) |
| Contributors | 6 (top contributor: 65% of commits) |
| Issues closed, last 90 days | 6 (typically closed in 482 days) |
| Pull requests merged, last 90 days | 2 |
| Project age | 23 months |
Checked on 2026-10-09 with the GitHub API.
Overview
Memoripy gives AI agents a local memory layer designed to preserve evidence and explain what was recalled. It addresses common memory failures such as saving noise, treating outdated facts as current, and re-ingesting retrieved memories as new evidence.
The project combines typed, versioned records with scoped retrieval, admission policies, citations, and audit tools. Its core does not require an external model or database, though teams can add optional model providers, a service, MCP support, or PostgreSQL storage.
Key Features
- Admission policies can reject noise, unsupported claims, lower-authority contradictions, and retrieved-memory feedback loops, while quarantining likely secrets and untrusted instructions.
- Bitemporal records and immutable versions preserve how facts change, with separate current and historical queries.
- Retrieval combines independent lanes, including lexical, semantic, entity, temporal, and trust signals, and provides receipts explaining why results were selected.
- User, agent, run, project, organization, and namespace scopes support isolated retrieval.
- CLI audits check for issues such as missing evidence, conflicting facts, sensitive data, expired memories, and citation gaps.
- Correction, explanation, and versioned deletion APIs retain history for inspection.
- Optional HTTP, MCP, tenant gateway, and inspector interfaces extend the local library for services and agent integrations.
Use Cases
- Agent developers can retain user preferences and profile facts while keeping prior values available as historical evidence.
- Teams handling policies or commitments can retrieve current records with supporting citations and inspect their version history.
- Developers integrating external documents can quarantine embedded instructions instead of treating them as trusted user preferences.
- Teams evaluating an existing agent memory store can run CLI audits and memory contracts before migrating.
- MCP-based agent builders can expose scoped memory operations through the optional MCP server.
What you need
Detected in the repository
- Python >=3.10 (from pyproject.toml)
- A Dockerfile, so it can run in a container
- A test suite and automated checks on GitHub Actions
License in plain words
Apache-2.0permissive
- Commercial use: yes
- Modify and redistribute: yes
- You must keep: the license, the NOTICE file and a note of your changes
- Share your changes: no
- Includes an explicit patent grant from the contributors:
A summary, not legal advice: the LICENSE file is what applies.
Getting Started
Install v4 from the repository branch:
pip install "git+https://github.com/caspianmoon/memoripy.git@v4"
See the README for examples, optional extras, and migration guidance.
Alternatives
- EverOS: EverOS stores editable Markdown with local retrieval indexes, rather than screening evidence and tracking cited facts over time.
- Memori: Memori captures conversations and execution context for recall across models and infrastructure, rather than emphasizing local, auditable temporal memory.
- OpenViking: OpenViking organizes knowledge, memories, and skills in a browsable virtual filesystem, with self-hosted or hosted deployment options.
- memvid: memvid is a Rust memory layer that packages content, indexes, and metadata in a portable file, rather than a Python runtime for temporal facts.
| Project | Language | License | Stars | Status |
|---|---|---|---|---|
| memoripy | Python | Apache-2.0 | 694 | Active |
| EverOS | Python | Apache-2.0 | 13.4k | Active |
| Memori | Python | Other | 17.1k | Active |
| OpenViking | Python | AGPL-3.0 | 39.2k | Active |
| memvid | Rust | Apache-2.0 | 16.6k | Active |
Considerations
- The project is active, with recent commits and a recent prerelease, but v4 is still under development and the stable PyPI API may differ. Test the branch and migration path before committing to it.
- Work comes from multiple contributors, with no measured single-contributor concentration. Issue handling has been slow by the available history, so account for that when relying on maintainer responses.
- Python 3.10 or later is required. No GPU or database is required for the core; PostgreSQL, service, and MCP dependencies are optional.
- The deterministic extractor is not general language understanding, and its local hashed embedding is described as a fallback rather than a substitute for a high-quality embedding model.
- The gateway is a self-hosted API-key authorization layer, not a complete hosted or enterprise identity platform. The README recommends TLS and an appropriate reverse proxy for deployment.
- Forgetting creates a versioned deletion rather than irreversibly erasing evidence. Applications with strict deletion requirements need a separate privacy and legal process.
- The project is licensed under Apache-2.0; review the license terms for your distribution and deployment.
Found this useful?
Share it with someone who would like memoripy.