Discover and explore top open-source AI tools and projects—updated daily.
neo4j-labsGraph-native memory system for AI agents
Top 98.2% on SourcePulse
A graph-native memory system for AI agents, neo4j-labs/agent-memory enables persistent storage of conversations, construction of knowledge graphs, and learning from agent reasoning, all powered by Neo4j. It targets developers building sophisticated AI agents that require structured, contextual memory beyond simple text logs, offering enhanced learning and decision-making capabilities.
How It Works
This project utilizes Neo4j's graph database capabilities to create a unified memory system. It distinguishes between short-term memory (conversations, session history), long-term memory (entities, facts, preferences, knowledge graph using the POLE+O model), and reasoning memory (traces of tool usage and decision-making). The system supports multi-stage entity and relationship extraction, background knowledge enrichment, and geospatial queries, allowing agents to build rich, interconnected contextual understanding. Pluggable providers for LLMs and embeddings (v0.3) enhance flexibility.
Quick Start & Requirements
pip install neo4j-agent-memory (with optional extras like [mcp], [openai], [litellm]).uvx create-context-graph.neo4j.com/labs/agent-memory.Highlighted Details
Maintenance & Community
This is a Neo4j Labs project, meaning it is community-supported and not officially backed by Neo4j. Community interaction and development guidance are available via GitHub Issues.
Licensing & Compatibility
The project is licensed under the Apache License 2.0, a permissive license suitable for commercial use and integration into closed-source applications.
Limitations & Caveats
As a community-supported project, it lacks official Neo4j backing. The Python API is strictly asynchronous, requiring asyncio or compatible event loops. A running Neo4j instance is a mandatory prerequisite for operation.
1 day ago
Inactive