Files
Evan Mattson ae7fa3389c Python: Bump Python package versions for 1.14.0 release (#7661)
* Bump Python package versions for 1.14.0 release

Bump the CHANGELOG-selected packages for the 1.14.0 release: minor versions for root/core, AG-UI, Foundry, OpenAI, and orchestrations due to additive public APIs; patch versions for declarative and GitHub Copilot fixes; and Pacific-date prerelease stamps only for changed alpha/beta packages. No beta cohort bump was applied. Core dependency floors follow the strict policy and remain unchanged because no dependent package requires a new 1.14 API. Release validation also identified and corrected missing AG-UI and Copilot Studio runtime dependencies and aligned GitHub Copilot metadata with its Python 3.11 SDK requirement. Lab is intentionally skipped because its changes are development-only, and the moved Azure Functions and Durable Task packages are documented but no longer versioned here.

* Raise AG-UI core dependency floor
2026-08-14 11:06:35 +09:00
..

Get Started with Microsoft Agent Framework Mem0

Please install this package via pip:

pip install agent-framework-mem0 --pre

Memory Context Provider

The Mem0 context provider enables persistent memory capabilities for your agents, allowing them to remember user preferences and conversation context across different sessions and threads.

Basic Usage Example

See the Mem0 basic example which demonstrates:

  • Setting up an agent with Mem0 context provider
  • Teaching the agent user preferences
  • Retrieving information using remembered context across new threads
  • Persistent memory

Memory Scoping

The provider separates the scope used to store memories from the scope used to retrieve them:

  • application_id / agent_id / user_id stamp every memory that is written.
  • search_application_id / search_agent_id / search_user_id select which memories are searched.

Note: application_id and search_application_id are only supported by the Platform client (AsyncMemoryClient), not the OSS AsyncMemory client. Retrieval scope values never inherit from the storage scope. If none of the search_* values are set, no memories are retrieved and a warning is logged. Set search_user_id for per-user memory, and only set search_agent_id when memories under that agent are safe to share across all of its users.

provider = Mem0ContextProvider(
    api_key="your-key",
    user_id="user-id",
    search_user_id="user-id",
)

Telemetry

Mem0's telemetry is disabled by default when using this package. If you want to enable telemetry, set the environment variable before importing:

import os
os.environ["MEM0_TELEMETRY"] = "true"

from agent_framework.mem0 import Mem0ContextProvider