📢 Announcing our research paper: Zentry achieves 26% higher accuracy than OpenAI Memory, 91% lower latency, and 90% token savings! Read the paper to learn how we're revolutionizing AI agent memory.
Installation
First, install the required packages:Setting Up Environment Variables
Store your Zentry API key as an environment variable:Code Structure
The integration consists of three main components:- Context Manager: Defines user context for memory operations
- Memory Tools: Functions to add, search, and retrieve memories
- Memory Agent: An agent configured to use these memory tools