# 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.

The best fits to give an agent long-term memory on Agent Switchboard, as of 20 Nov 2026: TencentDB Agent Memory, Mem0 and CowAgent, of 43 tools that do it.

## Quick answers

- **Which official tools give an agent long-term memory?** TencentDB Agent Memory, LangMem and Amazon Bedrock AgentCore, among 5 that are official.
- **Which have a hosted MCP server?** Beacon, Configure and MemoryLake, among 4 that have one.
- **Which need no API key or sign-in?** Hindsight, OKF Agent Memory and agentmemory, among 19 that need none.

## Best fits

1. [TencentDB Agent Memory](https://agentswitchboard.dev/agents/tencentdb-agent-memory) (api, mcp · Official): Give a team of agents shared long-term memory — turns conversations, docs, and code into governed Chat Memory, Skill, LLM-Wiki, and Code-Graph assets reusable across frameworks.
2. [Mem0](https://agentswitchboard.dev/agents/mem0) (api, mcp): Share memory across multi-agent pipelines with fine-grained access controls
3. [CowAgent](https://agentswitchboard.dev/agents/cowagent) (cli, api): Tiered Long-Term Memory: Distills conversation context into daily and core memory with a nightly Deep Dream pass, retrieved by keyword and vector…
4. [Hindsight](https://agentswitchboard.dev/agents/hindsight) (api, mcp, cli): Coding Agent Memory: Installs per-repo memory into Claude Code, Codex, Cursor, and other CLI agents, built from git history and past sessions…
5. [Cognee](https://agentswitchboard.dev/agents/cognee) (api, mcp, cli): Memory MCP Server: Serves stored memory to Claude and other MCP clients so agents read and write long-term memory as a tool.
6. [OKF Agent Memory](https://agentswitchboard.dev/agents/okf-agent-memory) (mcp, cli): Git Native Storage: Persists agent memory as files in the repository so it branches, diffs, and reviews like any other source.
7. [agentmemory](https://agentswitchboard.dev/agents/agentmemory) (cli, mcp, api): Triple-Stream Retrieval: Recalls memories by fusing BM25, vector, and knowledge-graph results with reciprocal rank fusion; keyless mode falls back to…
8. [nanobot](https://agentswitchboard.dev/agents/nanobot) (cli, api): Retain Long-Term Memory: Keeps session history and long-term memory through Dream so goals, tools, and chat context survive multi-session work.
9. [Engram](https://agentswitchboard.dev/agents/engram) (mcp, api, cli): Gives coding agents persistent memory in a single Go binary with an MCP server, HTTP API, CLI and TUI.
10. [Omnigraph](https://agentswitchboard.dev/agents/omnigraph) (cli, mcp, api): Stores agent memory in a typed, branchable graph database with graph, vector and full-text search in one query, served over CLI, HTTP and built-in MCP.
11. [Stash](https://agentswitchboard.dev/agents/stash-memory) (api): Open-source self-hosted memory layer for AI agents. Gives any agent persistent, semantic memory across sessions — model-agnostic, deployable on your own infrastructure.
12. [Zep](https://agentswitchboard.dev/agents/zep) (api): Long-term memory store for AI assistants. Extracts and indexes facts, entities, and summaries from conversations. Fast hybrid search combines semantic and full-text retrieval.

All 43, with filters: https://agentswitchboard.dev/browse?task=give-an-agent-memory

## For agents

- This task as JSON: https://agentswitchboard.dev/api/tasks/give-an-agent-memory
- One pick for your user's need, with the next step: https://agentswitchboard.dev/api/recommend?need=give%20an%20agent%20long-term%20memory (or the `recommend` MCP tool at https://agentswitchboard.dev/api/mcp)
- Every task: https://agentswitchboard.dev/tasks · the whole site: https://agentswitchboard.dev/llms.txt

Updated 20 Nov 2026 with the weekly drop. Ranked by how well each listing matches the task, never by payment. Page: https://agentswitchboard.dev/tasks/give-an-agent-memory
