AI product Open source

ai-memory

ai-memory is an open-source local server for long-term memory and session handoff among AI coding agents. It captures prompts, tool calls, and agent context through MCP integrations and lifecycle hooks, storing the material in a searchable, Git-backed Markdown wiki. When a session ends or is explicitly finalized, it generates handoff context for a subsequent session, including the project architecture, failed approaches, and open questions, so work can continue across agent vendors without restating the context; clients without a true session-end hook use explicit finalization commands.

View repository Mentioned in 2 videos ↓

Overview

The project documents integrations for Claude Code, Codex, Command Code, Devin CLI, OpenCode, Cursor, Gemini CLI, Oh My Pi, Pi, and Crush, with agent-specific configuration, generated plugins or extensions, and capture exclusions. It runs on Linux, macOS, and Windows through WSL2, with experimental native Windows support, and is distributed through Docker images and native release binaries.

What ai-memory is used for

2 uses taken from transcripts — each links to the moment in the video.

  • An open-source local server that provides persistent memory and session handoff for coding agents. It captures prompts and tool calls in a searchable Git-backed Markdown wiki.

  • A self-hosted server that provides shared long-term memory for AI coding agents across agents, machines, and teammates. It stores memory in a Git-backed Markdown wiki with indexing, search, lifecycle hooks, and support for multiple agent harnesses.

Videos mentioning ai-memory

2 in the library.