Discover and explore top open-source AI tools and projects—updated daily.
FlowElement-aiCognitive memory system for relevant retrieval
New!
Top 61.1% on SourcePulse
M-flow is a knowledge retrieval system designed for AI agents, offering a cognitive memory approach that prioritizes relevance over mere similarity. It addresses the limitations of traditional Retrieval-Augmented Generation (RAG) systems by making the knowledge graph the core retrieval mechanism, enabling more accurate and contextually aware responses. This system benefits developers building sophisticated AI applications by providing a robust and reasoning-based memory component.
How It Works
M-flow fundamentally shifts retrieval from embedding distance to graph-based reasoning. When a query arrives, an initial vector search identifies potential entry points across a four-level "Cone Graph" (Episode, Facet, FacetPoint, Entity). The system then propagates evidence through this graph, scoring knowledge units based on the tightest chain of reasoning connecting them to the query. This path-based approach, distinct from similarity matching, allows M-flow to uncover relevant information even with zero keyword overlap, mimicking human cognitive recall for superior accuracy.
Quick Start & Requirements
./quickstart.sh), pip (pip install mflow-ai), or from source (pip install -e .).Highlighted Details
Maintenance & Community
The project maintains a comprehensive test suite (963 passed tests) and supports Python 3.10-3.13. Community interaction points include a contact email (contact@xinliuyuansu.com) and the GitHub repository. No dedicated community channels like Discord or Slack are listed.
Licensing & Compatibility
M-flow is licensed under the permissive Apache License 2.0. This license allows for commercial use and integration into closed-source projects without significant restrictions.
Limitations & Caveats
Core functionality requires LLM API keys. The interactive Playground feature, while functional, necessitates a separate companion service (fanjing-face-recognition) and careful setup, particularly regarding camera access on non-Linux systems where Docker cannot directly access USB devices, requiring the companion service to run on the host.
17 hours ago
Inactive
vectorize-io