E5C5 agent-framework/python/packages/mem0 at main · microsoft/agent-framework · GitHub
[go: up one dir, main page]

Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

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

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
0