AgentScout / Best lists / Best AI Agent Memory & RAG Tools

Best AI Agent Memory & RAG Tools (2026)

Memory layers, knowledge graphs, vector databases and RAG frameworks that give AI agents long-term memory and access to your documents. Below are the top 20 of 40 matching tools in the AgentScout directory, ranked.

How we ranked: Ranked by GitHub stars as recorded on each AgentScout listing (link checks 2026-10-18). Tools without a tracked public repo come after, in alphabetical order. Stars measure developer popularity, not quality or fit for your job, so read each listing before you choose. No paid placements.

  1. MarkItDown logo

    1. MarkItDown

    memory & RAGOpen source★ 190,824 GitHub stars

    Microsoft's Python tool and MCP server that converts PDFs, Office documents, images, audio and web pages to Markdown for LLM and agent pipelines.

    Pricing (as stated): Open source · Mature

  2. Claude-Mem logo

    2. Claude-Mem

    memory & RAGOpen source★ 101,230 GitHub stars

    Gives coding agents memory across sessions by capturing what they do, compressing it and feeding the relevant context back in later.

    Pricing (as stated): Open source · Mature

  3. RAGFlow logo

    3. RAGFlow

    memory & RAGOpen source + cloud★ 92,335 GitHub stars

    Open-source RAG engine with deep document parsing and agent features for building grounded question-answering over your files.

    Pricing (as stated): Open source + cloud · Mature

  4. Headroom logo

    4. Headroom

    memory & RAGOpen source★ 75,629 GitHub stars

    Library, proxy and MCP server that compresses tool outputs, logs, files and RAG chunks locally before they reach the LLM, cutting tokens for coding agents.

    Pricing (as stated): Open source · Mature

  5. Mem0 logo

    5. Mem0

    memory & RAGOpen source + cloud★ 67,147 GitHub stars

    Memory layer for AI agents.

    Pricing (as stated): Open source + paid cloud · Mature

  6. MemPalace logo

    6. MemPalace

    memory & RAGOpen source★ 59,622 GitHub stars

    Local-first AI memory system that stores conversations verbatim with a pluggable backend and serves recall to agents without API calls.

    Pricing (as stated): Open source · Mature

  7. Hindsight logo

    7. Hindsight

    memory & RAGOpen source + cloud★ 50,483 GitHub stars

    Agent memory system that stores experiences and learns from them so agents improve over time.

    Pricing (as stated): Open source + cloud · Mature

  8. OpenViking logo

    8. OpenViking

    memory & RAGOpen source★ 40,217 GitHub stars

    Context database for AI agents that keeps memory, knowledge and skills in one inspectable virtual filesystem agents can navigate.

    Pricing (as stated): Open source · Mature

  9. PageIndex logo

    9. PageIndex

    memory & RAGOpen source + cloud★ 39,186 GitHub stars

    Document index for reasoning-based, vectorless RAG that lets agents navigate long documents like a table of contents.

    Pricing (as stated): Open source + cloud · Mature

  10. Cognee logo

    10. Cognee

    memory & RAGOpen source + cloud★ 32,405 GitHub stars

    Open-source memory platform that builds knowledge graphs so agents keep long-term memory.

    Pricing (as stated): Open source + cloud · Mature

  11. Graphiti logo

    11. Graphiti

    memory & RAGOpen source★ 31,819 GitHub stars

    Builds real-time, temporal knowledge graphs that serve as memory for AI agents.

    Pricing (as stated): Open source · Mature

  12. Supermemory logo

    12. Supermemory

    memory & RAGOpen source + cloud★ 31,281 GitHub stars

    Memory and context engine for agents with an API, app and MCP server, which can also run fully locally.

    Pricing (as stated): Open source + cloud · Mature

  13. AgentMemory logo

    13. AgentMemory

    memory & RAGOpen source★ 29,593 GitHub stars

    Persistent memory layer for AI coding agents.

    Pricing (as stated): Open source · Mature

  14. Chroma logo

    14. Chroma

    memory & RAGOpen source + cloud★ 29,512 GitHub stars

    Open-source search and vector database widely used for agent memory and RAG.

    Pricing (as stated): Open source + cloud · Mature

  15. TencentDB-Agent-Memory logo

    15. TencentDB-Agent-Memory

    memory & RAGOpen source★ 29,346 GitHub stars

    Team-level memory hub that turns conversations, docs and code into shared memory for agents.

    Pricing (as stated): Open source · Mature

  16. llmware logo

    16. llmware

    memory & RAGOpen source★ 14,814 GitHub stars

    Framework for building private, local RAG and agent applications with small specialized models on AI PCs, edge and self-hosted setups.

    Pricing (as stated): Open source · Mature

  17. memU logo

    17. memU

    memory & RAGOpen source★ 14,553 GitHub stars

    Lightweight memory system that gives Codex, Claude Code, Cursor and other agents a shared memory across sessions and devices and distills reusable skills.

    Pricing (as stated): Open source · Mature

  18. EverOS logo

    18. EverOS

    memory & RAGOpen source★ 13,451 GitHub stars

    Local-first, portable memory layer for AI agents stored as Markdown.

    Pricing (as stated): Open source · Mature

  19. txtai logo

    19. txtai

    memory & RAGOpen source★ 13,024 GitHub stars

    All-in-one Python framework for semantic search, LLM orchestration and agents built on an embeddings database of vector, graph and relational indexes.

    Pricing (as stated): Open source · Mature

  20. MemOS logo

    20. MemOS

    memory & RAGOpen source★ 11,892 GitHub stars

    Memory operating system for LLMs and agents with persistent memory and retrieval.

    Pricing (as stated): Open source · Mature

Browse by category

Related: Memory for agents · RAG and documents for agent memory · AI agent memory tools

Related searches: AI agent memory tools · Free AI document and RAG tools

More best-of lists: All best lists · Best AI Coding Agents · Best AI Agent Frameworks · Best AI Browser Agents · Best Open-Source MCP Servers · Most-Starred Open-Source AI Agent Projects · Best Self-Hosted AI Agents · Best Free AI Agents (Free Plans) · Best No-Code AI Agent Builders · Best AI Voice Agent Platforms · Best AI Vision Tools for Agents · Best AI Agent Observability & Eval Tools · Best Personal AI Agents · Best AI Agents for Business Teams · Best Crypto AI Agents · Best AI Productivity Agents · Best AI Agent Security & Governance Tools · Best AI Sales & Marketing Agents · Best AI Customer Support Agents · Best Local AI Models & Runtimes

Facts come from our directory listings; pricing is as each maker states it and GitHub stars are as recorded on each listing. Check official sites before you choose.

Get the best new AI agents, weekly

One short email with new tools, launches and what's worth trying. Free, unsubscribe anytime.