Open-source memory layer for autonomous agents
Top 20.3% on sourcepulse
Memary provides an open-source memory layer for autonomous agents, aiming to emulate human memory to enhance agent reasoning and task execution. It's designed for developers building advanced AI agents, offering a structured way to manage and leverage agent interactions and knowledge.
How It Works
Memary integrates with existing agents by automatically updating memory as the agent interacts. It utilizes a graph database (FalkorDB or Neo4j) for knowledge storage, with LlamaIndex used for adding nodes. For external queries, it leverages Perplexity (mistral-7b-instruct) or OpenAI. The system employs recursive retrieval and multi-hop reasoning for efficient knowledge graph querying, reducing latency by focusing on relevant subgraphs. Memory is managed through a Memory Stream (tracking entities and timestamps) and an Entity Knowledge Store (tracking entity frequency and recency).
Quick Start & Requirements
pip install memary
.env
with API keys and database credentials.streamlit run app.py
from the streamlit_app
directory.Highlighted Details
Maintenance & Community
No specific contributors, sponsorships, or community links (Discord/Slack) are mentioned in the README.
Licensing & Compatibility
Limitations & Caveats
The project is noted to use a ReAct agent for demonstration purposes, with plans to remove it in future releases to support any agent type. The README specifies Python version <= 3.11.9, which might be a constraint for users on newer Python versions.
9 months ago
1 day