Run This Ai
EN DE

AgentMemory

#1 Persistent memory for AI coding agents — works with Claude Code, Codex CLI, Cursor, Gemini CLI, and any MCP client with 95.2% retrieval recall

★ 25,009 GitHub Apache-2.0 persistent-memorycoding-agentsmcpclaude-codeknowledge-graph MCP Servers

Overview

AgentMemory is the #1 persistent memory system purpose-built for AI coding agents. Based on real-world benchmarks, it solves the fundamental problem that every developer faces with coding agents: they forget context between sessions, re-explain the same preferences, and lose track of project decisions. With 95.2% retrieval recall (R@5), 92% fewer tokens needed per query compared to full-context approaches, and 0 external database dependencies, AgentMemory provides lightning-fast persistent memory that just works. It ships with 53 MCP tools, 12 automatic hooks, and over 1,423 passing tests. AgentMemory works with every major coding agent out of the box - Claude Code, Codex CLI, GitHub Copilot CLI, Cursor, Gemini CLI, Hermes, OpenClaw, Aider, Cline, Goose, Kilo Code, and any MCP-compatible client. Install it once with a single npm command and your agent instantly gains persistent cross-session memory. The built-in real-time memory viewer lets you inspect what your agent remembers, and the iii Console provides deep visibility into the knowledge graph engine. The memory server runs on port 3111 and requires zero external databases - everything is self-contained and self-hosted.

Requirements

Min vCPU
1
Min RAM
1024 MB
Min Disk
10 GB
Rec vCPU
2
Rec RAM
2049 MB
Rec Disk
20 GB

Recommended VPS

Hostinger · KVM 2

2 vCPU · 8192 MB · 100 GB

$6.99
View plan

Hostinger · KVM 2

2 vCPU · 8192 MB · 100 GB

$6.99
View plan

Hostinger · KVM 4

4 vCPU · 16384 MB · 200 GB

$11.99
View plan

Affiliate disclosure

Docker Compose

# Generated by Run This Ai — docker-compose.yml
services:
  agentmemory:
    image: agentmemory/hermes-memory:latest
    restart: unless-stopped
    ports:
      - 8080:8080
    volumes:
      - ./data/agentmemory:/data

Best VPS for AgentMemory →

Related tools

Guides & articles