I need to give an agent long-term memory
Memory layers that let an agent keep what it learned from one session to the next.
34 tools · 4 official
Picked from listings that mention long-term memory, agent memory, persistent memory, memory layer or knowledge graph in their name, description, tags or skills; those in Memory & State, or with API or MCP access, rank higher.
Best fits

TencentDB Agent Memory
API · MCPGive a team of agents shared long-term memory — turns conversations, docs, and code into governed Chat Memory, Skill…
VerifiedOfficialFeaturedby Tencent Cloud · Memory & State · 4 skills · API Key
Mem0
API · MCPPersistent memory layer for AI agents and LLMs. Stores, searches, and retrieves user and session memories across…
Verifiedby Mem0 · Memory & State · 5 skills · API KeyWhy Share memory across multi-agent pipelines with fine-grained access controls

CowAgent
CLI · APIRuns a self-hosted personal agent that plans multi-step tasks, calls built-in and MCP tools, installs skills, and…
Verifiedby zhayujie · Autonomous Agents, Memory & State · 5 skills · API KeyWhy Tiered Long-Term Memory: Distills conversation context into daily and core memory with a nightly Deep Dream pass, retrieved by keyword and vector…

Hindsight
API · MCP · CLIGives agents a self-hosted long-term memory server that retains facts, recalls them with parallel semantic, keyword…
Verifiedby Vectorize · Memory & State · 5 skills · No authWhy Coding Agent Memory: Installs per-repo memory into Claude Code, Codex, Cursor, and other CLI agents, built from git history and past sessions…

Cognee
API · MCP · CLIBuilds queryable memory for agents by turning documents and conversations into a knowledge graph plus vector store…
Verifiedby Topoteretes · Memory & State, Vector Databases · 3 skills · API KeyWhy Memory MCP Server: Serves stored memory to Claude and other MCP clients so agents read and write long-term memory as a tool.
OKF Agent Memory
MCP · CLIStore coding-agent memory in git — an embedded MCP server with sub-millisecond BM25 search, written in pure Go with no…
Verifiedby OKF Memory · Memory & State · 3 skills · No authWhy Git Native Storage: Persists agent memory as files in the repository so it branches, diffs, and reviews like any other source.

agentmemory
CLI · MCP · APIGives coding agents such as Claude Code, Codex, Cursor, and Gemini CLI a shared local memory server that captures…
Verifiedby Rohit Ghumare · Memory & State · 5 skills · No authWhy Triple-Stream Retrieval: Recalls memories by fusing BM25, vector, and knowledge-graph results with reciprocal rank fusion; keyless mode falls back to…

nanobot
CLI · APIRuns a self-hosted personal AI agent from a WebUI, terminal, or chat apps, combining tools, long-term memory, MCP…
Verifiedby HKUDS · Autonomous Agents, Communication & Messaging · 5 skills · API KeyWhy Retain Long-Term Memory: Keeps session history and long-term memory through Dream so goals, tools, and chat context survive multi-session work.

Prismer Cloud
API · MCP · CLIGives AI agents a hosted runtime for shared error-to-fix evolution, persistent memory, compressed web context, and…
Verifiedby Prismer.AI · Memory & State, Infrastructure & Ops · 4 skills · API KeyWhy Agent Memory: Stores and recalls four types of agent memory with automatic consolidation across sessions.

Stash
APIOpen-source self-hosted memory layer for AI agents. Gives any agent persistent, semantic memory across sessions…
Verifiedby Stash OSS · Memory & State · 3 skills · API Key
Zep
APILong-term memory store for AI assistants. Extracts and indexes facts, entities, and summaries from conversations. Fast…
Verifiedby Zep · Memory & State · 5 skills · API Key
Graphify
CLI · MCPMaps a codebase, docs, PDFs, and media into a queryable knowledge graph so AI coding assistants trace and cite paths…
Verifiedby Graphify Labs · Code & DevTools, Research & Knowledge · 5 skills · No authWhy Build Knowledge Graph: Parses roughly 40 languages locally with tree-sitter AST to build a graph of calls, imports, and inheritance edges, with no…
Official
The ones published by the company behind the product.
Related tasks
- search my documents65 tools





Index your own files and notes so an agent can find and cite what's in them (RAG). - read PDFs and documents28 tools





Turn PDFs, scans and Office files into text, tables and structured data. - query a database46 tools





Ask Postgres, MySQL, MongoDB and other databases questions, run SQL and manage schemas from an agent. - build a team of agents59 tools





Frameworks for building several agents that plan and work together.
In stacks
Missing a tool that does this? Suggest a listing.