Local and self-hosted tools for agent memory
Agents and assistants that can run on your own machine or server, keeping data local. Of the 303 tools on our memory for agents page, 64 fit this narrower job. By pricing: 55 open source, 1 source-available, 2 free or freemium, 6 pricing on the maker's site. The most-starred open repos here are OpenClaw (395,582 stars), Graphify (156,297 stars), Claude-Mem (121,388 stars). Most come from the memory & RAG (22), personal agents (13), MCP servers (11) categories.
Updated
OpenClaw
OpenClaw is an MIT-licensed personal AI assistant that runs on your own computer and answers in the chat apps you already use, including Discord, iMessage, Slack, Teams, Telegram and WhatsApp, with native apps for macOS, iOS, Android, Windows and Linux. State, memory and credentials stay on your hardware, models and harnesses such as Claude, Codex or local models are swappable plugins, and one gateway can run a personal or shared multiplayer assistant. It is stewarded by the non-profit OpenClaw Foundation with no paid tier or hosted service.
Added
Graphify
Graphify is an Apache-2.0 /graphify skill for Claude Code, Cursor, Codex and Gemini CLI that maps a whole project, including code, docs, SQL schemas, configs and PDFs, into a knowledge graph the agent can query instead of grepping through files. Code is parsed locally with tree-sitter, so the map is deterministic, needs no LLM or vector store, and nothing leaves your machine, and every edge in the graph says why it exists. A separate paid Graphify Cloud adds always-on team memory with a 14-day trial.
Added
Claude-Mem
Claude-Mem is an Apache-2.0 memory plugin for coding agents that records what the agent does during a session, compresses those observations with AI, and feeds the relevant context back into later sessions, so the agent does not start from zero each time. It works with Claude Code, Codex, Gemini CLI, Copilot, OpenCode, OpenClaw, Hermes and others, stores memory locally, and includes search tools for looking back through past work.
Added
RAGFlow
RAGFlow is an Apache-2.0 retrieval-augmented generation engine that combines deep document parsing with agent capabilities, a converged context engine and pre-built agent templates to build grounded question answering over complex files. It reached v1.0 on November 6, 2026, and can be deployed locally with Docker or used through RAGFlow Cloud.
Added
Headroom
Headroom is an Apache-2.0 library, proxy and MCP server that compresses what an AI agent reads, including tool outputs, logs, files, RAG chunks and chat history, before it reaches the model, so you send fewer input tokens for the same answers. The project's own measurements show 21 to 57 percent fewer input tokens across four agent scenarios and over 90 percent on repeated JSON arrays and log lines, with little saving on prose. Compression runs locally, and it is on PyPI and npm as headroom-ai.
Added
MemPalace
MemPalace is an MIT-licensed, local-first memory system for AI agents that stores conversation history as verbatim text (it does not summarize or paraphrase) and retrieves it with semantic search. People and projects are organised as wings, topics as rooms and original content in drawers so searches can be scoped, and the retrieval backend is pluggable (ChromaDB by default) with no API calls required. Official docs are on the MemPalace site. A release shipped on 14 Oct 2026.
Added
Nanobot
Ultra-lightweight, self-hosted personal agent framework in Python with a web UI, tools, memory and MCP support.
Added
OpenViking
OpenViking is an AGPL-3.0 context database for AI agents from ByteDance's Volcano Engine that keeps memory, knowledge and skills in one virtual filesystem under viking://. Agents navigate it with ls, tree, read, write and grep, every directory carries a generated summary so they can scan before reading, and people can open any folder to inspect or correct what an agent knows. It runs self-hosted or in the browser via OpenViking Studio, with retrieval tuned for long-running agents.
Added
LangChain Deep Agents
Deep Agents is LangChain's MIT-licensed, batteries-included agent harness for long-horizon, multi-step work: an opinionated agent that runs out of the box and lets you override or replace any piece. It provides sub-agents with isolated context windows, a pluggable filesystem (local, sandboxed or remote), context summarisation and offloading, shell access in your sandbox, persistent memory and human-in-the-loop approvals. It is model-agnostic for any tool-calling LLM and builds on LangGraph, with tracing, evals and deployment through LangSmith.
Added
xerj
A local-first search engine and MCP server for agents: one Rust binary indexes code, docs, logs, CSV/JSONL and PDFs for full-text, vector and hybrid search plus agent memory, behind an Elasticsearch-compatible API.
Added
llmware
Framework for building private, local RAG and agent applications with small specialized models on AI PCs, edge and self-hosted setups.
Added
EverOS
Local-first, portable memory layer for AI agents stored as Markdown.
Added
Brigade
Brigade by SpinaBot is a self-hosted, MIT-licensed crew of AI agents arranged on an org chart that share one long-term memory, Tideline, so what one agent learns the others can use. Agents delegate to each other, switch models mid-task and act inside the apps you already use. There is no account or SaaS layer: your API keys stay on your machine, or you sign in with a Claude, ChatGPT or Copilot subscription. It runs on anything from a Raspberry Pi to a server.
Added
ChatLab
ChatLab is a local-first social memory agent that relives and explores your chat history with SQL and AI agents.
Added
Inngest
Inngest is a durable workflow orchestration platform for running stateful step functions and AI workflows on serverless, servers or the edge. You write functions in TypeScript, Python or Go with automatic retries, queues, throttling and human-in-the-loop waits, and its AgentKit and AI inference steps let you build durable, long-running AI agents with tracing and evals. The server is source-available (SSPL, converting to Apache 2.0 later) and can be self-hosted, or you can use Inngest Cloud.
Added
AnyModelBot
AnyModelBot is an open-source, local-first personal AI agent app for Windows, macOS and Linux where each bot has its own persona, model, workspace and memory, reachable in the app or chat apps, and it can work files, commands and your desktop with any model on pay-as-you-go billing.
Added
OpenKnowledge
OpenKnowledge is a free, local-first markdown editor and knowledge base built for working alongside AI agents. It looks and feels like a Notion-style WYSIWYG editor, with callouts, tabs, Mermaid diagrams and media blocks, but every page stays a plain markdown file on your disk. Coding agents such as Claude Code, Codex, Cursor, Gemini CLI and dozens of others can read and write the same files through its integrations, so specs, team wikis and LLM wikis stay in one place that both people and agents keep up to date. It ships as a desktop app plus a web UI and CLI.
Added
Basic Memory
Persistent memory for Claude, Codex and Cursor stored as local Markdown knowledge, available open source or as a hosted cloud workspace.
Added
Agent Sandbox (Kubernetes)
A Kubernetes project that adds a Sandbox resource for running isolated, stateful agent workloads such as code execution and browsers, with warm pools and fast startup on your own cluster.
Added
LongMemory
Local-first memory engine for agents that keeps durable, time-aware memories in SQLite and serves them to Claude, Copilot, Codex and others over MCP, CLI or HTTP.
Added
Mercury Agent
Self-hosted personal AI agent with a written personality, local memory, permission-gated tools and token budgets, reachable via CLI or Telegram.
Added
Tigerless Agent Memory
Tigerless Agent Memory is an MIT runtime that keeps one Markdown store for agents that can run a shell, including Claude Code, Codex CLI and Muse Code. The README says retrieval is local, writes happen at conversation boundaries, and no API key is required. GitHub tigerless-labs/agent-memory showed 4,291 stars on 26 Nov 2026. The repo has no homepage.
Added
Edgeever
AI-native knowledge base & Evernote/Obsidian alternative with instant sync & native MCP. Free on Cloudflare or self-hosted via Docker
Added
TrustGraph
TrustGraph is an Apache-2.0 ontology runtime for AI agents: it turns your documents and data into ontology-grounded knowledge graphs built on W3C standards (RDF, OWL, SHACL, PROV-O) and governs what each agent and user can see. It is aimed at enterprises where agent decisions carry real risk, keeps your ontology, knowledge and audit trail portable and self-hosted, and has a playground, Docker images and a PyPI package.
Added
Webcmd
Browser layer for AI agents that learns how each website works as agents use it and saves that as local memory to make later runs faster and cheaper.
Added
Jarvis
Private, local-first desktop AI assistant with voice and text chat, personal memory, dictation and MCP tools.
Added
Memmy
A local-first personal AI agent with a self-evolving long-term memory that its desktop app, CLI and your other AI agents can all share.
Added
Waku Agent
Waku Waku! Waku Agent is a local-first AI agent harness you actually own, including loop, memory, eval, all in code built to stay legible as it grows
Added
MCP Memory Service
MCP Memory Service is a self-hosted memory backend for agent pipelines. Agents store decisions, share a knowledge graph, and read that context back through MCP, a web API, a command line, or a dashboard. The README says one service covers those transports, and that a self-hosted copy does not charge an API fee. It names LangGraph, CrewAI, AutoGen, Claude Desktop, and OpenCode as clients. The repository is Apache-2.0. GitHub recorded 2,180 stars and 443 forks on 3 Dec 2026, and the project site showed no dollar price.
Added
agentes.chat
agentes.chat is an AGPL-3.0, self-hosted Slack alternative where your team and AI agents share channels and DMs. Agents join with a role, an owner and a budget, think with Claude, ChatGPT/Codex, Gemini, Grok or any OpenRouter model, use MCP tools, get their own computer and browser, run routines, keep memory and ask before sensitive actions. It has web, desktop and phone apps, self-hosts with Docker Compose and Postgres, and also runs as a hosted cloud.
Added
CyberVerse
CyberVerse is a GPL-3.0, self-hosted framework for real-time digital-human agents: it builds voice-first AI agents over WebRTC with persona memory, tools and RAG, and can add a talking digital-human video generated from a single photo. It suits teams that want a JARVIS-style assistant or avatar agent they run on their own infrastructure.
Added
OpenLore
A self-hosted knowledge repository for AI agents written in Go, where agents and teams share docs, notes and findings over SSH and MCP with scoped access.
Added
Synthadoc
Synthadoc is an AGPL-3.0 LLM knowledge compilation engine that turns raw documents into a structured, local-first, human-readable wiki as an alternative to traditional RAG. The knowledge base keeps itself accurate as documents accumulate through autonomous self-optimization, and it is aimed at individuals, teams and enterprises.
Added
Jonex
Jonex is an enterprise knowledge engine for AI agents that combines a multimodal parsing engine (documents and video) with an ontology layer and Jonex Wiki, an LLM-wiki processor in the OKF format. It ingests raw content, compiles domain knowledge before retrieval, builds vector and graph indexes and serves source-grounded answers with feedback loops, all in one governed system you can run locally or call through its API.
Added
MEX
MEX gives engineers and their coding agents shared project memory stored as Markdown in a .mex folder that travels with Git, with a local hub for people, CLI and skills for Claude Code and Codex, an MCP server and checked statechart explanations.
Added
Deja Vu
Deja Vu is an MCP server that gives agents a way to handle deja-vu: local memory over the session histories of forty-three coding agents.
Added
AI DevKit
AI DevKit is an Apache-2.0 control plane for AI coding agents that gives Claude Code, Codex CLI, Gemini CLI, opencode, Cursor, GitHub Copilot and others one local-first layer: a shared .ai-devkit.json config, a live TUI console to supervise running sessions, cross-agent messaging, local SQLite memory that agents search on demand, and composable engineering skills led by dev-lifecycle.
Added
Minutes
Minutes is a free, MIT-licensed, local-first conversation memory app, an open alternative to Granola or Otter: it records and transcribes meetings, calls, voice memos and dictation on your device into Markdown files you own, then lets Claude Code, Codex, Cursor or any MCP client search the history you choose to share. It ships as a desktop app and a CLI.
Added
Memorix
Memorix is an MCP server that gives agents a way to handle local-first project memory with legacy MCP and 2026 discovery compatibility.
Added
projectmem
A local-first memory layer for coding agents that records issues, attempts, fixes and decisions and warns your agent before it repeats a past mistake.
Added
Pi Bot
Pi Bot is an Apache-2.0 desktop app where named bots work as a team on your own computer. You chat with one bot or put several in a group, give them a folder, and they plan, run commands, edit files and browse, while each risky step waits for your approval. Chats, files, memory and keys stay on the machine. Only the model provider you choose sees the prompts you send. It runs on Mac, Windows and Linux, and there is an Android app. A release was published 28 Nov 2026. GitHub recorded Apache-2.0, 734 stars and 104 forks on 29 Nov 2026. No dollar price was in the README sections checked on 29 Nov 2026.
Added
Graphicle
Graphicle, from KarLex AI, is a single local Rust program that gives Claude Code, Cursor, Codex and other MCP agents a code graph and memory, returning excerpts with file and line references from your code, docs and past sessions, with no account or telemetry.
Added
taOS
taOS is a self-hosted AI agent operating system. The GitHub description says memory, chat, agents and files stay on hardware you own, offline by default, with a web desktop and an app store. GitHub jaylfc/taOS recorded AGPL-3.0, 614 stars and 48 forks on 25 Nov 2026.
Added
Telemem
Telemem is an MCP server that gives agents a way to handle long-term and multimodal memory for AI agents - character-aware, mem0-compatible, fully-local option.
Added
Dodaios
Open-source desktop agent OS for Windows, macOS and Linux (formerly Personal Jarvis): talk to it and it runs your coding CLIs side by side, your browser and your apps, with offline Whisper speech, a local wiki memory and support for Ollama, Claude or ChatGPT subscriptions.
Added
Casecite
Casecite is an open-source agent project builders use to open-source, self-hosted legal RAG caselaw research & document analysis platform.
Added
Crew44
Orchestrate a crew of specialist AI agents in one local-first workspace. Each role on its best model, with memory and skills that compound. Free, MIT.
Added
SuperLocalMemory
SuperLocalMemory is an MCP server that gives agents a way to handle local-first memory for AI agents: recall with sources, answer checks, documents, mesh.
Added
Deepseekgui
基于 DeepSeek Harness(DSH)的稳定桌面端,集成Git、内置浏览器与记忆功能 | DeepSeek Harness desktop GUI with local workspaces, Git, browser and memory.
Added
Mneme Memory
Mneme Memory is an MCP server that gives agents a way to handle cross-session memory for AI coding agents via six tools; local-first SQLite store.
Added
MineEcho
MineEcho is an open-source agent project that helps builders handle local-first Memory OS for personal AI assistants with L0-L3 memory, Wiki++ knowledge.
Added
Mind
Mind is an MCP server that gives agents a way to handle persistent local memory for AI coding agents.
Added
Akeru Bot
Open-source alternative to Grok Bot for named AI teammates: local-first desktop, web and mobile clients where each bot has its own tools, instructions and memory. MIT-licensed independent fork of T3 Code.
Added
Guaca
Desktop workspace inspired by Grok Bot where AI agents collaborate, write code and use tools; runs locally or on your own server, with shared conversations, persistent memory and MCP plugins. AGPL-3.0.
Added
Adrkit Decision Memory
Adrkit Decision Memory is an MCP server that gives agents a way to handle deterministic, offline, read-only ADR decision memory for coding agents.
Added
Koed
Koed is an Apache-2.0 memory layer for Codex, Claude Code and Pi. It records coding sessions on a machine you run and lets the next session search them, with no extra model in the middle. On 26 Nov 2026 the project site listed self-hosted use as free and said cloud, team and enterprise prices were not announced. The GitHub project showed 20 stars that day.
Added
Context Nest
Context Nest is a structured, versioned context vault for AI agents: typed Markdown nodes, selector queries, hash-chained versions and an optional review gate, served to agents over MCP or a CLI, self-hosted or in PromptOwl's cloud.
Added
M1K3
Private memory, documents, voice and a local LLM for your agents, served by a Mac app on-device.
Added
Open Agent API
Open Agent API is a self-hosted, Apache-2.0 server that runs an agent with tools, project memory, and permission limits, then returns one task per request. Official OpenAI, Claude, and Gemini clients can point at it with a base address and a key. The English page does not list a hosted price.
Added
Ml) Persistent Agent Memory & Code Localization
Sub-millisecond persistent memory, behavioral code search, and bug localization for AI agents.
Added
TecAdRise Bot
TecAdRise Bot is a free, MIT-licensed Windows desktop app (Electron and Cursor SDK) for running a local team of AI agents, each with its own model, memory, skills, MCP servers, workspace and schedule.
Added
Perfect Memory
Search what you've seen on screen and heard in meetings, recorded on your own Mac or PC.
Added
PHOENIX AI Harness
PHOENIX AI Harness is an open-source AI workspace made in the Dominican Republic. It brings local models and cloud providers together with agents, memory, tools and small apps, so you can research, write, program and turn ideas into work on your own machine. A named assistant called Kira is part of that workspace. The project page is in Spanish, with an English switch.
Added
Teebots
Teebots is a free desktop app that keeps a small team of AI bots on your own computer. Each bot can use a different model through your own API key, with requests going straight to the provider, and keeps its own private memory alongside a shared group memory. Put several bots in one group chat and @mention one to hand it a task, or let them pass steps to each other. Bots can work with files in their own folder, run commands, use skills including MCP and browse in their own browser, but they stop and wait for your approval before submitting or paying for anything. Scheduled daily or weekly jobs keep running from the menu bar. Chats, memory, files and logins stay local. Available for Mac (Apple silicon) now, with Windows and Linux coming soon.
Added
GitHub repos (61)
| Repo | GitHub stars | Licence | Last push |
|---|---|---|---|
| 395,582 | MIT | 2026-12-02 | |
| 156,297 | Apache License 2.0 | 2026-12-02 | |
| 121,388 | Apache License 2.0 | 2026-12-02 | |
| 95,066 | Apache License 2.0 | 2026-12-02 | |
| 81,387 | Apache License 2.0 | 2026-12-02 | |
| 60,800 | MIT | 2026-12-01 | |
| 50,505 | MIT | 2026-12-02 | |
| 43,149 | GNU Affero General Public License v3.0 | 2026-12-02 | |
| 31,764 | MIT | 2026-12-02 | |
| 23,394 | Apache-2.0 | 2026-11-29 | |
| 14,820 | Apache License 2.0 | 2026-10-01 | |
| 14,041 | Apache License 2.0 | 2026-12-02 | |
| 11,393 | — | 2026-11-04 | |
| 7,717 | — | 2026-11-30 | |
| 6,096 | — | 2026-12-02 |
Top 15 of 61 by stars. Stars and licence come from each repo, checked when the listing was last verified.
FAQ
What are the best AI tools for memory for agents focused on local and self-hosted?
We list 64. The first three by GitHub stars and featured status are OpenClaw: OpenClaw is an MIT-licensed personal AI assistant that runs on your own computer and answers in the chat apps you already use, including Discord, iMessage, Slack, Teams, Telegram and WhatsApp, with native apps for macOS, iOS, Android, Windows and Linux. State, memory and credentials stay on your hardware, models and harnesses such as Claude, Codex or local models are swappable plugins, and one gateway can run a personal or shared multiplayer assistant. It is stewarded by the non-profit OpenClaw Foundation with no paid tier or hosted service.; Graphify: Graphify is an Apache-2.0 /graphify skill for Claude Code, Cursor, Codex and Gemini CLI that maps a whole project, including code, docs, SQL schemas, configs and PDFs, into a knowledge graph the agent can query instead of grepping through files. Code is parsed locally with tree-sitter, so the map is deterministic, needs no LLM or vector store, and nothing leaves your machine, and every edge in the graph says why it exists. A separate paid Graphify Cloud adds always-on team memory with a 14-day trial.; Claude-Mem: Claude-Mem is an Apache-2.0 memory plugin for coding agents that records what the agent does during a session, compresses those observations with AI, and feeds the relevant context back into later sessions, so the agent does not start from zero each time. It works with Claude Code, Codex, Gemini CLI, Copilot, OpenCode, OpenClaw, Hermes and others, stores memory locally, and includes search tools for looking back through past work.
Are there free or open-source options?
Yes: 55 open source, 1 source-available, 2 free or freemium, 6 pricing on the maker's site. Pricing is as each maker states it.
More from memory for agents
Tools are grouped by what each says it does. Missing one? Submit it free.