BuildTube Preview About
Back to the feed

ai-memory: Let coding agents hand off memory to each other across tools

Added · Updated

ai-memory is a self-hosted memory server that lets more than twenty different coding-agent tools — Claude Code, Codex, Cursor, Gemini CLI and others — share one memory instead of each keeping its own that vanishes when you switch tools.

Quit one agent mid-task, open a different one in the same project, and it can pick up a structured handoff describing where you left off, what failed, and what is still open. The underlying data is plain markdown files in a git-backed wiki you can read, edit or grep yourself, with a rebuildable database as a derived index rather than the source of truth.

What it does

Lifecycle hooks in each supported coding tool record what actually happened during a session — prompts, tool calls, session boundaries — sanitised against a defined privacy boundary, then consolidated into readable markdown pages rather than a raw log. Handoffs between agents are a typed protocol, not just a note left behind: they are owned and claimed exactly once, so two agents cannot both think they picked up the same task. The default path needs no LLM calls or API key at all; memory also decays over time on a schedule rather than growing forever.

You could use it to…

  • Let Claude Code and Codex share one memory of your project
  • Pick up a coding session where a different agent left off
  • Search your own project history as plain markdown files

Can I use this?

Terminal, self-hosted

You'll need A server you run yourself, and a git repository · Setup needed

Worth knowing Setting it up means running and maintaining another server on your own machine or a homelab box; team use adds multi-user authentication you are responsible for configuring correctly. MIT licence.

Why it's here

Not trending this week

Last seen on the GitHub trending list on 2 November 2026. It stays on BuildTube so you can still find it.

  • 15,368 people have starred it on GitHub.

Numbers checked on 8 November 2026; not refreshed since.

Behind it

View setup guide

BuildTube has not run or verified this project. Everything above is written from what the creator published.

Made this?

Quick questions

What is ai-memory?
Lifecycle hooks in each supported coding tool record what actually happened during a session — prompts, tool calls, session boundaries — sanitised against a defined privacy boundary, then consolidated into readable markdown pages rather than a raw log.
What can I use ai-memory for?
Let Claude Code and Codex share one memory of your project; Pick up a coding session where a different agent left off; Search your own project history as plain markdown files
Can I run ai-memory on my computer?
It runs from a terminal on your own computer.
What do I need to use ai-memory?
A machine to run the memory server on, and a git repository to store the markdown knowledge base in; a shared team server needs a small amount of ongoing administration.
What license does ai-memory use?
MIT licence.

More from this week

Explore by topic

Post this

A ready-made picture of this card for X, LinkedIn or a group chat. Link to this page alongside it.

Share image for ai-memoryDownload share image

For makers

Made this? Show it’s on BuildTube — add the badge to your README or embed the card on your site.

Featured on BuildTube

README badge (Markdown)

[![Featured on BuildTube](https://buildtube.app/badge/gh-akitaonrails-ai-memory.svg)](https://buildtube.app/p/gh-akitaonrails-ai-memory/)

Embed card (HTML)

<iframe src="https://buildtube.app/embed/gh-akitaonrails-ai-memory/" width="560" height="240" style="border:0;max-width:100%" loading="lazy" title="ai-memory on BuildTube"></iframe>

Back to the feed