mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
2696de7428
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
21 lines
734 B
Markdown
21 lines
734 B
Markdown
# Get Started with Microsoft Agent Framework Mem0
|
|
|
|
Please install this package via pip:
|
|
|
|
```bash
|
|
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](https://github.com/microsoft/agent-framework/tree/main/python/samples/getting_started/context_providers/mem0/mem0_basic.py) 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
|