agent-framework-mem0
Mem0 integration for Microsoft Agent Framework.
Decision gist · record as of 2026-08-14
Yes, if you are building agents with Microsoft Agent Framework and need persistent memory across sessions. The package is actively maintained, has low install friction, carries a permissive MIT license, and integrates cleanly with agent-framework-core and mem0ai. Beta status is appropriate for a fresh integration; monitor for API changes as it stabilizes.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python >= 3.10.
- Mem0 API key required to use the provider.
- Retrieval scope must be explicitly set (search_user_id, search_agent_id, or search_application_id) or no memories will be retrieved.
License · maintenance · safety
permissive license (permissive) — MIT license (permissive) means you can use, modify, and distribute this package with minimal restrictions, provided you include the license notice.
last release 2026-08-14 (0 days) · last repo commit 2026-08-14 · 12,804 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 568,979 downloads/mo, #5,963 on PyPI
Alternatives
Verify before relying
pip install agent-framework-mem0 --pre
from agent_framework.mem0 import Mem0ContextProvider
provider = Mem0ContextProvider(
api_key="your-key",
user_id="user-id",
search_user_id="user-id",
)- Whether the Platform client (AsyncMemoryClient) is required for application_id scoping, or if OSS AsyncMemory client suffices for typical use cases.
- Performance characteristics and memory storage limits when operating at scale across many users or agents.
- Whether telemetry can be re-enabled after import or only before importing the module.
What it is and what it does
This package bridges Mem0's persistent memory service into Microsoft Agent Framework, allowing agents to maintain state across conversations. It provides a context provider that stores and retrieves memories scoped by application, agent, and user identifiers, enabling agents to learn and recall user preferences and conversation history across different sessions and threads.
The package is a thin integration layer built on top of agent-framework-core and mem0ai. It handles memory scoping (separating write scope from retrieval scope) and offers configuration for both Platform and open-source Mem0 clients. Telemetry is disabled by default but can be enabled via environment variable before import.
Use it for
- Build a customer support agent that remembers each user's past issues and preferences across multiple conversations.
- Create a personal assistant agent that learns and recalls user habits, preferences, and context over weeks or months.
- Develop multi-turn conversational agents where context from earlier threads informs responses in new sessions.
- Implement per-user or per-agent memory isolation in a multi-tenant agent deployment.
- Prototype agent memory features quickly using the Mem0 service without building custom persistence logic.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are building agents with Microsoft Agent Framework and need persistent memory across sessions.
The package is actively maintained, has low install friction, carries a permissive MIT license, and integrates cleanly with agent-framework-core and mem0ai. Beta status is appropriate for a fresh integration; monitor for API changes as it stabilizes.
Install
agent-framework-mem0 on PyPI
Before you install
Fresh release (0 days old) from an active Microsoft repository with 12804 stars. Low install friction with only two runtime dependencies. Beta status (Development Status :: 4) signals the package is still stabilizing.
Requires Python >= 3.10. Mem0 API key required to use the provider. Retrieval scope must be explicitly set (search_user_id, search_agent_id, or search_application_id) or no memories will be retrieved.
License in practice
MIT license (permissive) means you can use, modify, and distribute this package with minimal restrictions, provided you include the license notice.
Quickstart
pip install agent-framework-mem0 --pre
from agent_framework.mem0 import Mem0ContextProvider
provider = Mem0ContextProvider(
api_key="your-key",
user_id="user-id",
search_user_id="user-id",
)
Verify before relying
- Whether the Platform client (AsyncMemoryClient) is required for application_id scoping, or if OSS AsyncMemory client suffices for typical use cases.
- Performance characteristics and memory storage limits when operating at scale across many users or agents.
- Whether telemetry can be re-enabled after import or only before importing the module.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesagent-framework-coremem0ai |
| Maintenance | Actively maintained 0 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 568,979 / month, #5,963 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Typing :: Typed |
Evidence: agent_framework_mem0-1.0.0b260813-py3-none-any.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 › “agent memory persistence”
- agent-framework-mem0Integrates Mem0 persistent memory into Microsoft Agent Framework…
- langgraph-checkpoint-awsProvides AWS-based persistence backends for LangGraph agents,…
- langmemLangMem provides memory management tools for LangGraph agents,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Application Frameworks packages
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Textual is a Python framework for building cross-platform user interfaces that run in the terminal or web browser using a modern, component-based API.
Install it if you're developing CLI tools, dashboards, or interactive terminal applications.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Build and connect to Model Context Protocol servers that expose tools, resources, and prompts to LLM applications over stdio, HTTP, or SSE transports.
Install it if you need to build or connect to servers.
Werkzeug is a WSGI utility library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, and a development server for building web applications.
See also agent-framework-azure-ai · agent-framework-redis · hindsight-api-slim · mem0ai · memori · langmem · memsearch · mindroom · agent-framework-azurefunctions · microsoft-agents-a365-runtime