Phygital Memory README

The full upstream README, mirrored for reference. Install config, tool schemas, adoption signals and our own overview live on the Phygital Memory listing page.

Phygital Memory. Your notes, your AI, your rules. A notes app that becomes your second brain: open source, private, encrypted, your files. A note about a kite festival goes through the Phygital Memory brain mark, which lets through only what you allow, and your AI answers from it.

Phygital Memory

A notes app that becomes your second brain.
Open source, private, encrypted when you want it, and every file stays yours.

Open source: AGPL-3.0 No tracking Cryptomator format encryption Mac, Windows and Linux Latest release Install with npx phygital-memory OpenSSF Scorecard

41 languages ready, add yours Agents: Claude, Codex, Hermes Agent, OpenClaw and others Search: Phygital Engram, about 11 ms Notes: plain Markdown No telemetry Pull requests welcome

Download · Get started · Connect your AI · Questions · All guides

Contents

What it is · Install · How to use · Two kinds of memory · Your AI, on your terms · Privacy · Words you'll see · What it can do · Languages · All the guides · This repository · Help and feedback · Contributors · Credits · License

What it is

Phygital Memory is a notes app for your computer. You write notes, and your AI app (Claude, Codex, Cursor and others) can read them, search them and help you keep them in order. Over time it becomes a second brain: what you know, decided and planned, in one place your AI can use.

It's built around four promises:

  • Open source. Every line of code is here to read, check and change.
  • Private. No account, no tracking, no server of ours. Your notes stay on your computer unless you choose a cloud or a backup.
  • Encrypted when you want it. Lock a memory with a password. Without it (or your recovery key), the files are unreadable.
  • You own your data. Notes are normal files. Stop using the app and they're still yours, readable by anything.

Home in Phygital Memory: today's note, the tasks waiting for your AI, and the notes you changed lately.

Install

Download for Mac Download for Windows Download for Linux

Mac: one download for Apple chips and Intel. Linux: Ubuntu and Debian. Other Linux files (.rpm, AppImage, ARM) are on the Releases page.

Or with Node.js, on any computer:

Terminal
npx phygital-memory
  • Mac: open the file and drag Phygital Memory into Applications. The first time, right-click the app and choose Open.
  • Windows: run the file. If Windows asks, choose More info, then Run anyway.
  • Linux: open the file with your software installer.

It keeps itself up to date after that.

Or install from the terminal

One line, for you or your AI agent. Each one gets the latest version and installs it.

Mac

Terminal
curl -fL -o /tmp/pm.dmg https://github.com/Phygital-Brain/Phygital-Memory/releases/latest/download/Phygital-Memory-mac.dmg && hdiutil attach -nobrowse -quiet -mountpoint /tmp/pm /tmp/pm.dmg && cp -R "/tmp/pm/Phygital Memory.app" /Applications/ && hdiutil detach -quiet /tmp/pm

Windows (PowerShell)

powershell
irm https://github.com/Phygital-Brain/Phygital-Memory/releases/latest/download/Phygital-Memory-windows-setup.exe -OutFile "$env:TEMP\pm-setup.exe"; Start-Process "$env:TEMP\pm-setup.exe" -ArgumentList '/S' -Wait

Linux (Ubuntu, Debian)

Terminal
curl -fL -o /tmp/pm.deb https://github.com/Phygital-Brain/Phygital-Memory/releases/latest/download/Phygital-Memory-linux-$(dpkg --print-architecture).deb && sudo apt install -y /tmp/pm.deb

Linux (Fedora, openSUSE)

bash
sudo dnf install -y https://github.com/Phygital-Brain/Phygital-Memory/releases/latest/download/Phygital-Memory-linux-$(uname -m).rpm

Or run it on your own server

Phygital Memory Server. Your server, your data, your phone. A phone and a computer are wired to your own server racks, inside a locked zone.

So the AI on your phone reaches your memories when your computer is off.

Deploy on Railway Deploy on Render Run with Docker

Or Coolify, or Docker Compose on any server: Run it on your own server.

How to use

  1. Make a memory. Open the app and press New memory. Give it a name, pick Open or Encrypted, choose where it lives, and press Set it up. The app builds a ready-made set of folders for you (a Phygital Brain), or you can start empty.
  2. Write. Press New note, or open a folder on the left. Notes are Markdown. Home shows today's note and what you changed lately. Search finds anything across your memories.
  3. Connect your AI. In AI › Connect an AI app, press Add to Claude Code, or Download the extension for Claude Desktop (Mac). For Codex, Cursor and others, see Connect your AI.
  4. Ask your AI. Ask things like "Search my memory for the logo brief" or "What did I decide about pricing?". More ideas in Things to ask.
  5. Let it write, when you're ready. Switch on Allow edits for that AI app in Settings › AI apps. Every change it makes shows in AI tasks and activity, with Undo.
  6. Give it work. On any note, press Give AI a task and say what you want. Then tell your AI "Do my Phygital Memory tasks."
  7. Lock it. An Encrypted memory locks with Lock and opens again with your password (or Touch ID on a Mac).
  8. Share and back up. From the memory's menu, Share sends an invite to someone, and Storage and backup keeps a copy on GitHub, WebDAV, S3 or R2.

The full walkthrough is in Get started.

A note open in the editor: properties, tags, headings and a callout, all in a normal Markdown file.

Two kinds of memory

When you make a memory, you pick one:

OpenEncrypted
What it isA normal folder of Markdown notesA locked vault, opened with your password
Who can read itAny app, any AI, your phone through a cloud folderOnly this app, and only the AI apps you let in
Good forNotes you're happy for your AI to see anywhereClients, money, health, anything private

You can have both, side by side.

Making a new memory: you choose Open, a normal folder, or Encrypted, locked with your password.

Your AI, on your terms

  • AI apps start read only. They can change notes only after you switch on Allow edits for each one.
  • You choose which memories each AI app can see.
  • Every AI change shows in Activity, with Undo.

More on how it keeps you safe in Safety.

Privacy

  • No account, no tracking. The app never asks who you are and sends no usage data. There is no server of ours.
  • On your computer. Your notes stay where you put them. They go online only if you choose a cloud folder, a backup or sharing.
  • Unreadable without your password. An Encrypted memory, file names included, can't be read without your password or recovery key, even in your cloud or backup.
  • The AI sees what you allow. Each AI app gets its own key and only the memories you pick.

The full list of what leaves your computer, and when, is in Privacy.

Words you'll see

WordWhat it means here
MemoryOne folder of notes the app looks after. You can have several.
Open memoryA plain folder of readable notes. No password. Any AI app or program that can open the folder can read it.
Encrypted memoryA locked folder (a Cryptomator format 8 vault). You open it with your password, or Touch ID on a Mac.
Recovery key44 words that let you set a new password for an Encrypted memory. Keep them offline.
AI appClaude Code, Claude Desktop, Codex, Cursor or any app that can use tools through MCP.
MCPModel Context Protocol: the standard way AI apps plug into tools like this one.
The AI doorThe part of the app that AI apps talk to, at http://127.0.0.1:8790/mcp. It exists only while the app is open. AI apps can also start the engine themselves, which reaches Open memories with the app closed.
Allow editsThe switch that lets one AI app change notes. Off means read only.
Private for AIA folder or note the AI opens only when you ask in the chat. The tools follow this rule. The folder itself stays readable.
AI tasksA hidden note in each memory where you leave work for your AI. It is never shared.
Phygital BrainAn optional set of folders, rules and first notes for working with an AI. The app can build it for you.

What it can do

Where a memory can live: this computer, a synced cloud folder or WebDAV. Where it can be backed up: private GitHub, a WebDAV server, Amazon S3 or Cloudflare R2, or a backup file. It can also be shared straight between computers.

  • Write. An editor, a note graph, and Version history for every note.
  • Find in milliseconds. Search across your memories runs on Phygital Engram, built in. It finds the right note and the exact line, in about 11 ms per search in Engram's own tests (how they were measured). Your AI apps search the same way, and nothing leaves your computer.
  • Undo. A trash that keeps things for 7 days, and Undo for every change an AI made.
  • Let AI apps in, one by one. 17 tools for search, read, write, move, trash and AI tasks. See docs/tools.md.
  • AI tasks. Press Give AI a task on a note, then ask your AI "Do my Phygital Memory tasks."
  • Back up. To a private GitHub repo, a WebDAV server, Amazon S3 or Cloudflare R2, or one backup file. Encrypted memories are backed up as encrypted files.
  • Share from computer to computer. A whole memory, one folder or one file, with Can edit or Can view, through Syncthing. No account and no cloud. You link your own second computer the same way.
  • Use cloud folders. Put a memory in iCloud Drive, Dropbox, Google Drive or Nextcloud. For an Encrypted memory the cloud sees only encrypted files.
  • Make it a Phygital Brain. One setup page builds folders, rules and first notes, and leaves one AI task for your AI to finish the rest.

Ideas for what to ask are in docs/examples.md.

The Share window: someone waiting to be let in, the people who have the memory, and a button to invite someone new.

Languages

The app's screens come in 41 languages. It follows your computer's language, or you pick one in Settings › General › Language. The translations were made with AI and checked by a script. A native speaker's eye always helps: see docs/languages.md and core/languages/TRANSLATING.md. The AI tools and these docs stay in English, and your AI app answers you in your own language.

All the guides

GuideRead it when
Guides indexYou want every guide on one page
Setup on your computerYou want to install the app and make your first memory
Connect your AI appYou want Claude Code, Claude Desktop, Codex, Cursor or another AI app to use your memory
Claude Desktop extensionYou use Claude Desktop and want to connect it with one file
Run it on your own serverYou want your memories reachable from your phone's AI when your computer is off
Things to askYou are not sure what to say to your AI
The AI toolsYou want the list of everything an AI app can do
SettingsYou want to change how the app works, or find where something is kept
SafetyBefore you let an AI read or change your notes
PrivacyYou want to know what leaves your computer and who can see what
Use it from your phoneYou want your AI agent on your phone or the web to use your memories
Find your threat modelYou are making a memory and want to pick Open or Encrypted
Threat modelYou want to know what the app protects against, and what it cannot
How it worksYou want to know what happens inside, in plain words
UpdatesYou want to know how the app gets updated
LanguagesYou want the app in another language
TranslatingYou want to add a language or fix a translation
Questions people askYou have a quick question
If something goes wrongSomething does not work
RoadmapYou want to know what might come next
SECURITY.mdYou found a security problem
CHANGELOG.mdYou want to know what changed in each version
CONTRIBUTING.mdYou want to report a bug or send a change
CONTRIBUTORS.mdYou want to see who helped, or be added
GOVERNANCE.mdYou want to know how decisions are made
SUPPORT.mdYou need help and don't know where to ask
CODE_OF_CONDUCT.mdYou want to know how people behave here
TRADEMARKS.mdYou want to use the name or the logo
AGENTS.mdYou (or your AI coding agent) want to change the code

This repository

Folder or fileWhat it is
core/phygital_memory/The engine (Python): memories, encryption, search, sharing, backups, the AI door.
core/phygital_memory/vault/How a memory is stored: plain.py for Open memories, the rest for Encrypted ones.
core/frontend/The app's screens (JavaScript). They build into core/phygital_memory/web/.
core/languages/Every screen text in 41 languages. en.json is the source.
core/tests/Every test, the sample notes they use, and run.sh to run one.
core/packaging/Turns the engine into one program, plus the Touch ID and Keychain helper (Mac only).
core/scripts/Small tools, such as i18n.py for the screen texts.
app/The window around it all (Tauri, Rust): starts the engine, draws the menu bar, asks before closing.
server/Phygital Memory Server: the Docker image and Compose files (guide).
render.yamlThe Deploy to Render button's settings for the server (Render looks for it here).
npm/The npx phygital-memory installer on npm. It downloads the latest app from Releases, and each release publishes it (.github/workflows/npm.yml).
glama.jsonWho maintains the listing on Glama, the MCP server directory.
brand/Logo, colours, icons and the brand guide.
rebuild.shBuilds the Mac app and makes the .dmg.

To build the Mac app yourself you need uv, npm, Rust with cargo tauri, syncthing and rclone. Then run:

bash
bash rebuild.sh --install

You should see a .dmg in release/, and the app replaced in Applications and reopened. The first build takes longer, because it fetches the build tools. The Windows and Linux apps are built on GitHub. To run one test:

bash
sh core/tests/run.sh test_open.py

You should see PASS or FAIL for each check. More for developers in AGENTS.md and CONTRIBUTING.md.

Help and feedback

You want toGo to
Fix a problem yourselfIf something goes wrong
Report a bugSomething doesn't work
Suggest an idea or a featureIdea or feature
Ask a questionQuestion
Ask for a commercial licenseOpen an issue
Report a security problem, privatelyPrivate report (SECURITY.md)

Issues are public, so leave out passwords, keys and private notes.

Contributors

Everyone who helps is listed in CONTRIBUTORS.md. Fixes, docs and translations are all welcome, and a native speaker checking one of the 41 languages helps a lot. Add yourself when you send a pull request.

Credits

Phygital Memory is made by Phygital-Brain and the Phygital Memory contributors. The vault code and the Finder view come from Encryptor MCP, by the same author, under the same license.

It builds on the work of others:

  • Cryptomator. Encrypted memories use the Cryptomator vault format (version 8), so Cryptomator can open them. The app contains no Cryptomator code. Not made by or affiliated with Cryptomator or Skymatic. "Cryptomator" is a name and trademark of its owners.
  • Syncthing (MPL-2.0) for sharing between computers, and rclone (MIT) for WebDAV and S3 or R2. The built app bundles both unchanged.
  • Tauri for the app window, and the libraries listed in core/uv.lock (Python), core/frontend/package-lock.json (JavaScript) and app/src-tauri/Cargo.lock (Rust), each under its own license. The app lists the bundled programs under Settings › Licences.
  • Baalda. Design and feature ideas, including the style of some sidebar icons, come from Baalda (Apache-2.0). No Baalda code is included.

You're welcome to use, fork, change and build on it under the GNU Affero General Public License, version 3 only (AGPL-3.0-only), and the notices in NOTICE. In short:

  • Keep LICENSE, NOTICE and the copyright lines.
  • If you share a changed version, or run one that other people use over a network, offer them its source code under the same license.
  • Mark your version as changed.

GitHub's "Cite this repository" button uses CITATION.cff.

License

GNU Affero General Public License, version 3 only (AGPL-3.0-only), with the notices in NOTICE. A commercial license is also available for use without the AGPL's terms: open an issue to ask. Copyright (C) 2026 Phygital-Brain and Phygital Memory contributors.