ES Download

No AI changes your files unless you let it.

In MADRE, Claude, Codex, Gemini and other AIs work in the folders on your computer. They can read your files and, if you let them, change them. So every message goes out with the permission you pick. If an AI changed something, you put it back with one click. And you always know what leaves your computer. MADRE has no cloud of its own and doesn’t keep your keys. It’s all here, including what doesn’t protect you yet.

Based on SECURITY.md · MADRE 1.1.5

Five permissions, from least to most.

The permission says what the AI can do with your files while it answers your message: only read, create files, change them or run commands. Every message carries one, and if you don’t pick, your AIs only read and answer. Nothing that message starts can go past that permission, not even a plan across several AIs.

What each of MADRE’s five permissions allows, from #0, which allows the least, to #4, which allows the most.
Runs commands tests, uploading to GitHub, publishingNoNoNoNoYes
Changes files that already existNoNoNoYesYes
Creates new filesNoNoYesYesYes
Gets noted in the projectNoYesYesYesYes
Reads your files and answersYesYesYesYesYes
Asks you to confirmYou pick it and that’s itYou pick it and that’s itYou pick it and that’s itYou confirm onceYou confirm twice
  • #0 Not saved. For a quick question. It isn’t noted in the project and no other AI sees it later. If you reload, it’s gone.
  • #1 Just chat. The AI reads your files and answers, but changes nothing. Every message starts with this permission.
  • #2 Can create. It can add new files and folders. If it changes something that was already there, MADRE puts it back when it’s done and lets you know.
  • #3 Can edit. It changes your files without asking at every step. Before it starts, MADRE saves a restore point, and at the end you get an Undo button. One AI at a time.
  • #4 Full access. All of the above, plus it runs commands with your programs and the sessions you have open. Your files come back with Undo. What already left your computer doesn’t.
Tap a permission to see what it allows.
  • Can edit asks you first. Before you turn it on, a window tells you what the AI will be able to do. If you’d rather, set a phrase of your own in Settings › Permissions and MADRE asks for it instead of the confirmation. Your phrase is never stored as you typed it.

  • Full access, confirmed twice. Twice in a row. On top of that, that AI has to be allowed to go that high, which you decide separately in Settings › Permissions.

  • An AI can’t give itself permission. If an AI writes in its answer that it now has more permission, it doesn’t count. Only you give permission, from MADRE, and the project itself checks it, not the page you see in the browser.

Undo brings your files back. What already left doesn’t.

Before an AI changes anything, MADRE saves a restore point, a copy of how your files were. When it’s done, under the answer it tells you in plain words what changed and gives you two buttons: View and Undo. Undo asks before putting anything back.

  1. Before the AI starts, MADRE saves a restore point.
  2. The AI changes two files and creates one.
  3. Under its answer, a card tells you in plain words what changed.
  4. Undo puts your files back the way they were. What already left doesn’t come back.
The copy stays out of your work.
If your folder uses git (the program that keeps versions of your code), the copy is a separate version under refs/madre/checkpoints/. It doesn’t touch your branch or your work in progress. If it doesn’t use git, the copy is kept outside the project, where only you can open it.
Your keys are read-only.
Your .env files, .pulse/, .madre/ and .claude/settings.local.json, where your keys and settings usually live, are read-only while the AI answers your message. MADRE calls that stretch a turn.
Careful with what git ignores.
Your .gitignore can leave folders out of git. There, Undo deletes what the AI created, but can’t bring back changes inside a file that was already there (except your .env). The card warns you. Keep whatever you can’t lose, like records or data, in git or in a backup.
This is how it looks in MADRE. With Can edit, Claude changed two files. The card says what changed, View takes you to the change and Undo puts it back.

Careful with Full access. Your files come back with Undo, but what an AI uploaded to GitHub, published or sent has already left your computer. Like an email you already sent, there’s no getting it back. Turn it on only if you’d lend that AI your terminal.

What leaves your computer and where it goes.

What you ask each AI goes to the company that makes it, on your account, same as if you used it without MADRE. madre.run, MADRE’s website, only gets anonymous counts, never your files, your keys or what you write.

Your computer

  • Your projects and files
  • Your conversations and what gets noted
  • Your keys and sessions
  • The local AI, which runs on your computer

All of this stays here.

  • What you ask each AI

    • Claude to Anthropic
    • Codex to OpenAI
    • Gemini to Google
    • Grok to xAI
    • Cursor to Cursor
    • OpenCode to the provider you pick

    Along with what the AI reads from your files to answer you. It goes on your account and within your limits, same as if you used that AI without MADRE. It doesn’t go through MADRE.

  • To madre.run, anonymous counts

    Once a day, a note that your copy is still in use: a random number, the MADRE version, your system and your Node version. And unless you turn it off, diagnostics: what failed and how much each feature gets used.

    Never what you write, your projects or your folder paths.

  • What MADRE only checks

    Whether there’s a new version and whether the author posted a notice. Notices arrive signed. MADRE sends nothing about you to ask.

  • You can see what each AI gets. With every message, MADRE sends the AI a text with what it needs to know: the brief. You can see all of it in the Memory map (the screen that draws what your project remembers), under “What is sent”: part by part, and with the command MADRE uses to open that AI. Your keys show up by name only.

  • MADRE notes everything it sends. Where each send went and how many times, never what it carried. That includes its modules, the add-ons that give it new features. What each AI says to its company is logged by that AI’s own program.

  • Turn diagnostics off whenever you like. Anonymous diagnostics turn off in Settings › Version and reports, and right there you see exactly what would go out. The daily usage note carries nothing of yours.

What MADRE doesn’t do.

  • No cloud, no accounts. It runs on your computer and only listens to what comes from that same computer (127.0.0.1). You don’t sign up for anything, and no server keeps what’s yours.

  • It doesn’t keep your keys. It uses the session you already have open in each AI. If you paste a key, it puts it where that AI looks for it, where only your user can open it, and makes no copies.

  • No other program can use it. Anything that talks to MADRE has to bring a secret pass, a key only your user on the computer can read. So other people with their own user on that computer stay out.

  • It doesn’t note what’s private. Before anything reaches the memory and the other AIs, MADRE covers keys, emails and personal paths. In Settings › Privacy you add the names that must never show up, like a client’s.

What doesn’t protect you yet.

MADRE is still being tested (beta). Read this before you give an AI more permission.

Can edit puts things back, but doesn’t stop them.
If an AI changes something protected on purpose, MADRE puts it back when the turn ends, but nothing stops it before. The .git folder stays open while the AI works, because the AIs need it, and it’s restored afterwards.
Full access is like lending your terminal.
The AI runs commands with your programs and sessions: tests, builds, uploading to GitHub, publishing. Files come back. What left doesn’t.
Every AI in the project reads what’s noted.
Unless you use #0 Not saved, what you say can be read by every AI in that project. For what shouldn’t stay, use Not saved.
Modules have limits, but they don’t stop everything.
Modules you install run on their own and can’t write your files or start programs. Node sets those limits (it’s the program MADRE runs on), and Node itself warns they won’t stop code built to do harm. Read a module before you install it. The Market’s list of modules, on madre.run, is signed.
The secret pass doesn’t stop your own programs.
It keeps out other users and anything that only reaches the port (the door MADRE takes requests through). But a program running as you can read it, just as it can read everything else of yours.
On Windows, keep your projects inside Linux.
On Windows, MADRE works through WSL2, the Linux that runs inside Windows. Put your projects in Linux (~/…), not in /mnt/c, which is the Windows drive. There, the permissions’ read-only doesn’t hold the same way.

If you find a security flaw, tell me privately.

For example, an AI writes outside its permission, keeps Can edit when it shouldn’t, reaches another project’s memory or makes MADRE send something you didn’t allow. If that happens, tell me first.

Report privately

What to send me.
Your MADRE version, your system, which AI and permission you were using, and the shortest run of messages that makes it happen again.
What happens next.
The fix ships in a patch release, and the advisory goes public once that release is out. If the flaw is in an AI’s own program (Codex, Claude Code, Gemini, Grok, OpenCode or Cursor), I pass it on to the people who make it.

Open MADRE in your project.

Download for macOS

For Macs with an M1 chip or later · 53 MB

Other downloads

Back to MADRE