memori
Memori Python SDK
Decision gist · record as of 2026-08-14
Yes, with conditions. Memori is worth installing if you need persistent agent memory and are willing to adopt its API key model and attribution pattern. The package is actively maintained with no known vulnerabilities and offers genuine efficiency gains. The main friction is the 8 runtime dependencies and the requirement to sign up for Memori Cloud or manage your own database. If you're building stateless LLM applications or don't need cross-session memory, it adds unnecessary overhead.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires MEMORI_API_KEY environment variable set; sign up at app.memorilabs.ai to obtain credentials.
- Also requires an LLM provider API key configured separately.
- Medium install friction due to 8 runtime dependencies including aiohttp, botocore, faiss-cpu, grpcio, numpy, and protobuf.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions, making it suitable for production deployments in most contexts.
last release 2026-05-28 (78 days) · last repo commit 2026-08-14 · 15,950 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 299,041 downloads/mo, #7,863 on PyPI
Alternatives
Verify before relying
pip install memori
from memori import Memori
mem = Memori().llm.register(client)
mem.attribution(entity_id="user_123", process_id="support_agent")
# Memori persists and recalls context automatically from LLM interactions- Whether faiss-cpu is required for all use cases or only for specific memory backends
- Performance overhead of automatic memory capture on LLM request latency
- Data retention and privacy guarantees for memories stored in Memori Cloud
- Which specific LLM providers are supported beyond those mentioned in documentation
What it is and what it does
Memori is a Python SDK that intercepts LLM interactions and automatically extracts, stores, and recalls structured memory across conversations and sessions. It works by registering with supported LLM clients, then transparently capturing conversation history, tool calls, and agent decisions without requiring code changes to your existing LLM calls.
The package is designed for AI agents and multi-turn applications that need persistent context without inflating prompt sizes. It attributes memories to entities (users, systems) and processes (agents, workflows), allowing fine-grained recall and scoping. Memori can run against its cloud API (zero-config) or your own database via BYODB mode. It integrates with frameworks and supports MCP clients for developer-focused memory.
Use it for
- Build support agents that remember customer history and preferences across sessions without manual context management
- Enable multi-step AI workflows to persist decisions and tool outputs so agents can reason over their own execution history
- Reduce LLM token costs by storing structured memory instead of repeating full conversation history in every prompt
- Implement team-wide agent memory so new engineers inherit shared context and project conventions without tribal knowledge transfer
- Connect developer tools via MCP so your coding assistant learns project conventions and coding style over time
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, with conditions.
Memori is worth installing if you need persistent agent memory and are willing to adopt its API key model and attribution pattern. The package is actively maintained with no known vulnerabilities and offers genuine efficiency gains. The main friction is the 8 runtime dependencies and the requirement to sign up for Memori Cloud or manage your own database. If you're building stateless LLM applications or don't need cross-session memory, it adds unnecessary overhead.
Install
memori on PyPI
Before you install
Medium install friction due to 8 runtime dependencies including aiohttp, botocore, faiss-cpu, grpcio, numpy, and protobuf. Package is actively maintained with recent releases and has 15950 GitHub stars, indicating solid community adoption. Requires Python 3.10 or later.
Requires MEMORI_API_KEY environment variable set; sign up at app.memorilabs.ai to obtain credentials. Also requires an LLM provider API key configured separately.
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions, making it suitable for production deployments in most contexts.
Quickstart
pip install memori
from memori import Memori
mem = Memori().llm.register(client)
mem.attribution(entity_id="user_123", process_id="support_agent")
# Memori persists and recalls context automatically from LLM interactions
Verify before relying
- Whether faiss-cpu is required for all use cases or only for specific memory backends
- Performance overhead of automatic memory capture on LLM request latency
- Data retention and privacy guarantees for memories stored in Memori Cloud
- Which specific LLM providers are supported beyond those mentioned in documentation
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | 8 packagesaiohttpbotocorefaiss-cpugrpcionumpyprotobufpyfigletrequests |
| Maintenance | Actively maintained 78 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 299,041 / month, #7,863 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 3 - AlphaIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Database :: Database Engines/ServersTopic :: Scientific/Engineering :: Artificial IntelligenceTopic :: Software Development :: Libraries :: Python ModulesTyping :: Typed |
Evidence: memori-3.3.6-cp310-abi3-android_24_arm64_v8a.whl; memori-3.3.6-cp310-abi3-android_24_x86_64.whl; memori-3.3.6-cp310-abi3-macosx_11_0_arm64.whl; memori-3.3.6-cp310-abi3-macosx_11_0_x86_64.whl; memori-3.3.6-cp310-abi3-manylinux_2_28_aarch64.whl; memori-3.3.6-cp310-abi3-manylinux_2_28_x86_64.whl; memori-3.3.6-cp310-abi3-musllinux_1_2_aarch64.whl; memori-3.3.6-cp310-abi3-musllinux_1_2_x86_64.whl; memori-3.3.6-cp310-abi3-win_amd64.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “llm memory persistence”
- memoriMemori is a Python SDK that automatically captures and recalls…
- mem0aiMem0 adds a persistent, searchable memory layer to AI agents and…
- langgraph-checkpoint-sqliteProvides a SQLite-backed checkpoint saver for LangGraph, enabling…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also memsearch · langmem · agent-framework-mem0 · letta · mem0ai · zep-python · reme-ai · mindroom · cognee · agent-framework-azure-ai