Repository avatar
Version Control
v0.4.3
active

one-ai-memory

io.github.AndrianLeah/one-ai-memory

Tell one AI, they all remember: one memory for all your assistants, in your private GitHub.

Documentation

One AI Memory: an engraved squirrel on periwinkle

One AI Memory

Tell one AI. They all remember. Claude, ChatGPT, Codex, Cursor and the others share one memory: your preferences, your rules, where each project stands, what you learned along the way. Open a new chat in any app, and it already knows. The notes are yours, kept privately in your GitHub account.

By Andrian Leah. The original project is github.com/AndrianLeah/one-ai-memory: if it helps you, give it a star so others can find it.

Website · Is it for you? · Why it's useful · Install · Connect your assistants · The web interface · Technical details

You, in a new chat a week later: Let's pick up the website.

ChatGPT without One AI Memory: Sure! Tell me about it first: which framework does it use, where is it hosted, and what's left to do?

ChatGPT with One AI Memory: Picking up from Tuesday in Claude: the contact form is next. As your rules say, I'll use pnpm and deploy only from main.

The Memory page in the light theme: the note library, a project note opening on its status and next steps, and who wrote it

Is it for you?

Yes, if you use more than one AI assistant and you're tired of repeating yourself. For example:

  • You write, study or plan with AI. Your style, your sources and the work in progress come with you to ChatGPT, Claude or Gemini, without pasting them again.
  • You juggle clients and projects. Each one keeps its rules and where it stands, ready in any chat. No more explaining the brief from the start.
  • You code with more than one assistant. Claude Code, Cursor, Codex: your conventions and each project's next steps follow you from one to the next.
  • You use AI on your phone and at your desk. ChatGPT on the go, Claude at your desk: both know the same things about you.

Probably not for you if you need a memory shared by a team, a memory service for agents you're building, or a tool that records every chat by itself. Here your assistants save what matters, following the rules you give them.

Why it's useful

Each assistant keeps its own memory, if it has one. What you tell Claude, ChatGPT doesn't know; a new chat in Cursor starts from zero; you repeat the same things, and your rules drift apart from one app to the next. And what they remember is hard to see, fix or take with you.

One AI Memory gives them a single memory that belongs to you:

  • Say it once, everywhere. Every assistant you connect reads the same notes and saves what matters as you work, so you pick up where you left off, in any app: on the web, on the desktop or on your phone.
  • They find things the way you ask. Search works by meaning too: ask with other words, or in another language, and the right note still comes up.
  • You stay in charge. The rules for all your assistants, and for each project, are yours: assistants propose changes and you approve them. For each assistant you decide whether it can write, only propose, or only read, and which notes it sees. Every change says who made it, and you can undo it.
  • Your notes, as plain files. Everything is saved as readable text in a private repository on your GitHub: open it, edit it by hand or in Obsidian, take it anywhere.
  • Nothing to run, nothing to pay. It installs from your browser in a few minutes, runs on a free Cloudflare account of your own, and stays free for personal use.
  • Careful with what it keeps. Passwords, keys, card numbers and similar data are refused before they are saved.

Install

You need a GitHub account and a Cloudflare account (the free plan is enough). Nothing to install on your computer, no codes to copy.

Deploy to Cloudflare

The button opens Cloudflare's form. You only do three things there:

  1. At the top, under Git account, press New GitHub connection and allow Cloudflare on GitHub. This is needed only the first time: afterwards your GitHub account is already selected.
  2. Type your GitHub username in OWNER_GITHUB_LOGIN. Only that account can set up and open the memory.
  3. Press Deploy.

Everything else is already filled in: leave it as it is. Create private Git repository is up to you; it works either way.

A drawing of Cloudflare's form: 1, Git account, New GitHub connection; 2, the OWNER_GITHUB_LOGIN field for your GitHub username; 3, the Deploy button. Everything else is already filled in.

The same guide, with what happens next, is on the install page.

Cloudflare then copies the project to your GitHub and starts your server, which takes a couple of minutes. Open its address (it ends in .workers.dev) and follow the four guided steps:

  1. Connect GitHub: one click creates a private GitHub App, just for you.
  2. Create the memory: a private repository for your notes.
  3. Introduce yourself: your name, your language, and the rules every assistant should follow.
  4. Connect your assistants: the quickest way to connect each app you use.

The setup wizard at step 2, "Create the memory"

Prefer the terminal, or a setup without the guided steps? See Technical details.

Connect your assistants

In the web interface, Connections → Connect an assistant shows the quickest way to connect each app, plus an optional line for its settings so the assistant loads the memory at the start of every chat. The first time, a page asks you to name the connection (for example "Claude work"), choose whether it can write, and sign in with GitHub.

  • Claude (web, desktop, phone): once per account; Claude Code on the same account picks it up.
  • ChatGPT: on the web only. Read and write on Business, Enterprise and Edu; read only on Pro.
  • Also Claude Code, Codex, Cursor, VS Code and Copilot CLI, Gemini CLI, Antigravity, LM Studio, Grok Build, and any other app that can connect to MCP servers on the web (Zed, Warp, Raycast, Devin…), at your server's address followed by /mcp.

In apps that offer ready-made commands (Claude among them), assistants that can write get three: Wrap up the session saves where the project stands, the next steps, the decisions and the lessons; Start a project creates its note; Tidy the memory merges duplicates and removes what is no longer true, asking before deleting anything. Apps that let you attach files to a chat can attach any note.

Connect an assistant, with the instructions for one app open

The web interface

Open your server's address in any browser, phone included, and sign in with GitHub. You can change everything, the protected rules too: the protection is for the assistants. Light and dark themes.

  • Memory: opens on Today: what waits for you, where each project stands and its next steps, and the memory's health (how much of it every chat loads, and what to tidy). Browse, read, edit, create, rename, move, archive and delete notes; rules show as cards you can edit one by one, next steps can be ticked on the page, each note lists the notes that mention it, and lessons read as a list; Ctrl K searches everything.
  • Proposals: approve, reword or discard what the assistants propose: a new rule (in the group you choose), a change or a removal. A reason for discarding reaches every assistant. Import turns the memories of another assistant (ChatGPT's list, for example) into proposals.
  • Activity: every change, by you and your assistants, with what it changed line by line; undo one, or bring a note back as it was.
  • Connections: each connected assistant, what it may do, when it was last used and two weeks of activity. Choose what each one may do (write, propose changes for your approval, or only read) and which folders it sees, look at what it receives at the start of a chat, rename it or disconnect it.
  • Settings: protected files, the sensitive-data check, search by meaning, theme and language, and the version (with one-click updates).
Today: proposals waiting for you, each project's status and open next steps, the latest changes and the memory's health
Today: what waits for you, where each project stands
The Proposals page: an assistant proposes to change a global rule, the current line struck through above the new one
Proposals: a change to a rule, waiting for your review
The Activity page with one change open: the line it changed in a project note, and the button to undo it
Activity: what each change did, and undo
The Connections page with a connection's access open: propose changes only, and see only the projects folder
Access: what a connection may do, and which notes it sees
The Settings page with protected files, the sensitive-data check, theme, language and where the memory lives
Settings: protected files, sensitive-data check, theme
The Memory page in the dark theme, with a project note open
Dark theme: a project note

Your notes stay yours

  • Only you get in. Only your GitHub account can open the memory or connect an assistant, and every connection needs your consent.
  • Nobody in between. The notes live in your private GitHub, and the server runs on your Cloudflare account. The project has no server of its own for them to pass through, and there's no subscription.
  • Nothing gets lost. Every change is saved with who made it, and the history keeps every version.
  • Search by meaning stays in your account. It uses Cloudflare's AI inside your own Cloudflare account; turn it off in Settings and search works by keyword only.
  • Open source. The code is public (MIT): Technical details explain how each part is protected.

Updates

When a new version is out, a dot appears on Settings, and Settings → Version shows what's new and how to update; a security fix also shows a notice on the other pages. To get an email as well, open this repository on GitHub and choose Watch → Custom → Releases. Updating keeps your memory, your connected assistants and your settings as they are.

  • Installed with the Deploy button: turn on one-click updates once. On GitHub, open the memory's app (Settings → Applications → Installed GitHub Apps → Configure), add your copy of the project under Repository access (usually called one-ai-memory), and save; Settings → Version shows the same steps. From then on each new version is one click: Update, and Cloudflare publishes it in 1 to 3 minutes.
  • Installed from a terminal: run npm run update in the project folder.

Update by hand

For a version marked steps by hand, or an update too large for one click: on the releases page, download one-ai-memory-<version>.tar.gz and extract it. In your copy of the project on GitHub, choose Add file → Upload files, drag in everything you extracted except one-ai-memory-release.json and wrangler.jsonc, and commit to the main branch; Cloudflare publishes it in a few minutes. Then do any steps the release notes give. If they say wrangler.jsonc changed, make the same change in yours by hand.

Doing it with git, or coming from 0.1.0: see Technical details.

Disconnect or start over

  • One assistant: press Revoke on the Connections page. Connections unused for 90 days expire by themselves.
  • Everything, right now: on GitHub, suspend or uninstall the memory's app (Settings → Applications → Installed GitHub Apps). Your notes stay in your repository.
  • Start over: see Technical details.

Languages

English and Italian, for the interface and the starter notes. To add a language, see CONTRIBUTING.

More

  • Technical details: how it works inside, search by meaning, security, installing from a terminal or by hand, updating with git.
  • Contributing: the code's layout, tests, releases.
  • MIT license © Andrian Leah. Copies must keep the copyright notice and the license.

No installation packages available.

Remote

streamable-http
https://{server}/mcp