Skip to main content

Code

cookbook/os/interfaces/whatsapp/agent_with_user_memory.py

Usage

1

Set up your virtual environment

2

Set Environment Variables

3

Install dependencies

4

Run Example

Key Features

  • Agentic Memory: MemoryManager captures user preferences, hobbies, and personal details
  • Cross-Session Recall: Remembers user information across conversations
  • Web Search: Uses WebSearchTools to find up-to-date information during conversations
  • Persistent Storage: SQLite database for both sessions and memory