madre.run/en/manual
Learn to use MADRE in 10 minutes.
You’ll install it, connect the AI you already use and ask it your first question. If you’ve never used the Terminal, don’t worry: I’ll tell you what to copy and where to paste it.
- 10 min5 minto your first answerif you already use the Terminal
- 10 stepsthe page remembers which ones you finished
- No codingyou just copy and paste
Step 130 s15 s
What MADRE is and what you need.
MADRE is a chat that opens in your browser. From there you give work to the AIs that code: Codex, Claude Code, Gemini CLI, OpenCode and Cursor. You can talk to several of them in the same conversation. It runs on your computer, it’s free and it doesn’t ask you to create an account.
Tick what you already have
If you’re new
Four words you’ll see often
- Terminal
- A window where you type commands. Here you only use it to open MADRE.
- Agent
- What we call each AI that codes. It reads the files in your project, answers you and, if you give it permission, changes them.
- Project
- A folder on your computer. Each folder gets its own chat in MADRE.
- Mode
- The permission you give the AI in each message, from #0 to #4. If you don’t pick one, the AI only reads.
You’re good if your computer is ready and you know which AI account you’ll sign in with.
Step 22 min45 s
Install MADRE.
Pick your system. When you see a command, hit Copy, paste it in the Terminal and press Enter.
macOS
-
Open the Terminal
Press ⌘ + Space, type Terminal and press Enter.
-
Install Node
If you have Homebrew, paste this:
brew install nodeIf you don’t know what Homebrew is, download the Mac installer from nodejs.org and open it like any other program.
-
Open MADRE
Paste this line. The first time it asks «Ok to proceed?», which means «Can I download MADRE?». Type y and press Enter.
npx @jossuealcala/madre
Linux
-
Open the Terminal
On many systems it opens with Ctrl + Alt + T. If not, look for Terminal in your apps.
-
Install Node
Install it with your system’s package manager or from nodejs.org. Then check which version you got:
node --versionIt should say v22.5 or a higher number. If it shows a lower one, install the one from nodejs.org.
-
Open MADRE
Paste this line. The first time it asks «Ok to proceed?», which means «Can I download MADRE?». Type y and press Enter.
npx @jossuealcala/madre
Windows
-
Download the installer
Download MADRE-Instalador.exe. It’s a small file: the rest downloads while it installs. If Edge or Chrome say the file is «not commonly downloaded», choose Keep. It shows up because the installer is new and doesn’t have a digital signature yet. I explain it calmly at madre.run/en/windows.
-
Open it and get past the Windows notice
Double-click it. Windows shows a blue window that says “Windows protected your PC”. Click More info and then Run anyway.
That notice shows up because the installer doesn’t have a digital signature yet, not because anything is wrong with it. Its code can be checked on GitHub and the signature is on its way. If your antivirus flags it, it’s for the same reason: here’s how to check it and get it back without turning your antivirus off.
-
Install
Click Install. It takes a few minutes and you don’t have to type anything. Windows may ask for permission to turn on WSL (a part of Windows that MADRE needs) and to restart. If it restarts, open «MADRE» from your desktop and the install carries on by itself.
-
Open MADRE
Open it from the Start menu or from the desktop. It opens in your browser, with no Terminal windows. To remove it: Settings › Apps › MADRE › Uninstall.
MADRE opens by itself in your browser, at http://127.0.0.1:4317. That address belongs to your computer: nobody else can open it from the internet. If it’s already taken, MADRE uses the next one.
Don’t close the Terminal while you use MADRE, because that’s where it’s running. To shut it down, use the power button at the end of MADRE’s bar or press Ctrl + C in the Terminal. To open it another day, paste the same command. It always downloads the newest version.
You’re good if you see MADRE open in your browser.
Step 32 min1 min
The first time, MADRE guides you.
When you open it for the first time, MADRE shows you a seven-step welcome. That’s where you connect your AIs and pick your first project, all with buttons. If you don’t have a project, MADRE makes a test one for you. When you finish, it takes you to write your first message.
123- The seven steps are on the left. You can go to any of them; the ones you finish get a tick.
- Each step tells you what it is and gives you the button to do it: connect an agent, download the AI or choose your folder.
- «Continue» takes you to the next one. Whatever you leave for later can be done in Settings.
Closed it? You can open it again from Home, in Settings › Projects › See the welcome again. It picks up from the step where you left off.
You’re good if you finished the welcome or you know where to open it again.
Step 41½ min45 s
Connect your AIs.
You connect each AI only once and it’s ready for all your projects. One is enough to get started.
Start with the account you already have
Codex OpenAI
You sign in with your ChatGPT account. MADRE opens your browser so you can sign in. An OpenAI API key works too.
Claude Code Anthropic
Pick Claude account if you pay for a Claude subscription, or Anthropic Console if you have API credit. The page gives you a code and you paste it in MADRE.
Gemini CLI Google
You need an API key from Google AI Studio. Google no longer lets Gemini CLI sign in with a free personal account.
OpenCode Many providers
It doesn’t bring an AI of its own. You connect the AI company you already use by pasting its API key.
Cursor Cursor
If you already have Cursor and its program for the Terminal, MADRE finds it. You sign in with your Cursor account from its button.
-
Says «Not installed»?
Click Install and MADRE installs it.
-
Sign in
Each AI has its own button to sign in. When it says «Connected», it’s ready.
-
Click Continue
You can connect the others later, in Settings › Agents.
12- In Home, open Settings (the gear, bottom left) › Agents. The first time, the welcome takes you there.
- Open an agent that says «Not signed in» and press its button, such as «Claude account». You sign in with your account on the provider's page. If you do not have it, you will see Install.
- Once it says «Connected», you can talk to it.
Rather use the Terminal? These are the commands to sign in
- Codex
codex login- Claude Code
claude auth login- Gemini CLI
geminiThen type
/authand choose how to sign in.- OpenCode
opencode auth login- Cursor
cursor-agent login
You’re good if at least one AI says «Connected».
Step 51 min30 s
Pick your project’s folder.
In MADRE, a project is a folder on your computer. It can be your app, your website or an empty folder to start something new.
-
Add your projects
MADRE suggests the folders that look like projects. Pick the ones you want and click Add and continue.
-
Open one
Pick the one you’ll work on today and click Done. The others stay paused until you open them.
Then you land on Home. There you see all your projects, what happened in each one and which one is waiting for your answer. From there you open each project’s chat. To come back another day, use the same command as in step 2.
123- In the left column, press «Add a project» and choose the folder.
- It shows up under Projects. Press Open on its card to go in.
- «Waiting on you» gathers what was left open: a question from an agent, a permission or a reminder.
You’re good if your project shows up in Home and, when you open it, you see its chat.
Step 61½ min45 s
Write to an AI.
Below the chat there’s a text box. In your message you put which AI you’re talking to, what you let it do and what you want it to do.
Practice: build a message
This is how you write it in MADRE
@claude #1 Explain what this project does, no jargon.
- Who answers
- Claude Code, with your Claude account or your Anthropic Console.
- With which permission
- #1 Chat only
- Does it ask for your key?
- No.
- What happens
- It reads your project and answers. It changes nothing.
Four symbols you can use in the box
- @Who
@claudewrites to Claude. Type@and the list shows up.- #What you allow
- From
#0to#4. If you don’t put one, it uses#1, which only chats and changes nothing. - !Which file
!src/app.js:12-20shows it only those lines of that file.- /A command
- Opens the command menu. For example,
/stopallstops everything.
Enter sends the message. To start a new line, use ⌥ + Enter (Alt + Enter on Linux).
On each answer you see which AI replied, with which permission, which model it used and how many tokens it spent. If one takes too long, click the little square next to its timer and only that one stops. Stop all, in the bar, stops them all.
You’re good if an AI already answered something about your project.
Step 71 min30 s
Use several AIs in the same chat.
All the AIs read the same conversation. That’s why you can ask one to continue what another one did, without explaining anything again.
What having several is good for
-
One does, another reviews
Claude makes a change and you ask Codex to review it. Codex already saw everything that happened in the chat.
@codex review what Claude just did and tell me if it missed anything. -
The same question to several
Put several names at the start of the message. You see your question once and each AI answers separately.
@opencode @claude what is the cart missing to take coupons? -
A round table
Up to four AIs answer, one after another, and @madre sums up where they agree and where they don’t. You need your local AI (step 9).
@madre, ask the team: where should I start improving this project? -
If one runs out of plan
If Claude hits its usage limit, you write to another one and it carries on where it left off.
@gemini keep going with what Claude was doing. -
To spend less
Give the heavy work to the AI you pay for. Ask your local AI, which is free, about what was already discussed.
@madre what did we decide last time about the design?
Claude, OpenCode and Codex can ask other copies of themselves for help, called subagents. They do it with the same permission you gave them, from #1 to #3. While they work you see a small box for each one. At the end, the answer says how many helped, for example «Helped by 2 subagents», and there you can see what each one did.
Want to see several AIs work together? In Ideas to build there are two examples I tested. In one, Claude makes a plan from a single message and the others carry it out. In the other, they get together to share ideas and end up making an app.
How they remember what was said
Before answering
Each AI gets the latest messages of the chat. In the conversation you see it as a line that says HANDOFF and how many messages it got.
Every 10 messages
Or after 10 minutes with no activity, MADRE writes down what matters in short notes: what was decided, facts about the project, how you like things and what’s still pending.
Days later
When they’re needed, those notes are passed to whichever AI is answering, even if another one made the decision.
1234- Type in the box and press ↵ to send.
- The circle on the left is the agent that will answer. Tap it to choose another.
- The tag with # is the permission. With #1 the agent reads and answers you, but changes nothing.
- Beside it you choose the model and, for some agents, how much it thinks. If you are not sure, leave it.
Your local AI writes those notes, at no cost. If you don’t have one, the cheapest AI you have connected writes them. You can see them and delete them in the Memory map.
Do you also use an editor like Cursor or VS Code? The Continuity module saves where the work stands inside your project, in the .ahp/ folder. That way your editor knows too. From MADRE you check it with /ahp status.
You’re good if you know how to ask one AI to continue what another one did.
Step 81 min30 s
Give them permission to change files.
If you don’t pick a permission, the AIs only read. For them to create or change files, you raise the permission. No AI can raise it by itself.
Try each permission, risk free
These examples only read or work in a practice/ folder, so your project doesn’t change. If you don’t have that AI, swap the @name for one you do have.
#0 Incognito For asking something without it being saved in the chat or the memory.
@claude #0 What would you call an app for splitting bills with friends? Give me 5.What happens: It answers and, when you reload, it’s gone.
@gemini #0 Explain what an API is like I’m 12.What happens: None of this goes into the project’s memory.
#1 Chat only For understanding your project or asking for opinions. Nothing changes.
@claude #1 Explain how this project is laid out: what’s in each folder.What happens: It reads and answers.
@codex #1 What three things would you improve in this project? Don’t change anything yet.What happens: You get ideas you can later ask for in #2 or #3.
@claude #1 What’s missing before I can publish this project?What happens: A to-do list, without touching anything.
#2 Create For creating new files. It doesn’t touch the ones you have.
@claude #2 Create a practice/ folder with a hello.html file that says «Hello, MADRE» in big letters.What happens: practice/hello.html shows up. Double-click it.
@gemini #2 In practice/, create ideas.md with 10 feature ideas for this project.What happens: A new file full of ideas. Your project stays the same.
#3 Edit For changing files. It asks for your key and first saves a point so you can undo.
@claude #3 In practice/hello.html, make the background blue and center the text.What happens: It changes the file you made with #2. Don’t like it? Undo.
@codex #3 Add a button to practice/hello.html that changes the background color on every click.What happens: When it’s done you see which files it touched.
#4 Full access For also running commands, like installing, testing or using git. It asks for your key twice. Use it only when you need to.
@claude #4 Inside practice/, init git and commit what you created. Don’t push.What happens: It runs commands on your computer. That’s why you tell it clearly what it shouldn’t do.
@codex #4 Run the project’s tests and tell me which ones fail. Don’t change any file.What happens: It runs the tests and explains the result.
-
Pick #3 Edit
In the permission row, below the box, or type
#3in your message. -
Confirm with your key
Your key is a word that confirms it was you. At first it’s the name of the project’s folder. You can change it to a phrase of your own in Settings › Permissions.
-
Check and, if you want, undo
When it’s done you see which files changed. Undo leaves the project as it was before that answer.
1234- #1 Chat only: reads your project and answers you.
- #2 Create: adds new files.
- #3 Edit: changes your files. It asks you to confirm, and MADRE keeps a point to undo.
- #4 Full access: runs commands and may publish. It asks you to confirm twice.
With #4 Full access, the AI can run commands and publish things, for example upload your code with git push. What leaves your computer can’t be undone. Use it only with an AI you’d lend your computer to.
You’re good if you tried a permission in the practice/ folder and you know where Undo is.
Step 91 min45 s
Add a free AI that runs on your computer.
This step is optional. @madre is an AI that runs on your computer with Ollama, a free program. It doesn’t use up your plan and what you ask it doesn’t leave your computer.
What it does
- Answers with what the project remembers and tells you where it got it.
- Runs the round table and gives you the summary.
- Writes the memory notes, at no cost.
What it doesn’t
- It doesn’t create or change files.
- It doesn’t run commands.
- It doesn’t make things up. If something was never discussed, it tells you.
macOS
-
Install Ollama
In Home, open Settings › Local AI and click Install Ollama. If you have Homebrew, MADRE installs it. If not, Get Ollama takes you to ollama.com to download it. From the Terminal it would be:
brew install ollama
Linux
-
Install Ollama
In Home, open Settings › Local AI and click Install Ollama. MADRE uses the official installer. From the Terminal it would be:
curl -fsSL https://ollama.com/install.sh | sh
Windows
-
Use the Ollama on Windows or install it from MADRE
If you already have Ollama on Windows, in the welcome choose Use the Ollama on Windows and MADRE finds it. If you don’t have it, click Install Ollama in Settings › Local AI. If you used the MADRE installer, it installs by itself. If you set MADRE up by hand in Ubuntu, you first need
zstd, because without it Ollama’s installer fails. In the Ubuntu Terminal it would be:sudo apt-get install -y zstd curl -fsSL https://ollama.com/install.sh | sh
-
Turn it on
If it says «Stopped», click Start Ollama.
-
Download the model
The model is the AI you’re going to download. Under Model, the one that says Recommended for your computer is the right one for your machine. Click Download, or Use if you already have it. It takes a few minutes, depending on your internet.
-
Try it
Type
@madre what do you know about this project?and it answers with what the project remembers.
123- In Home, open Settings › Local AI.
- Download the model marked «Recommended for your computer»: it is already sized for your Mac.
- Choose which projects use it.
Your local AI turns on in all your projects. If you want to choose which ones, use Which projects, on that same screen.
Want an AI that knows your project? In Settings › What it remembers › Train your own AI you can train a model with what your project learned. I explain it in Train your AI.
You’re good if @madre shows up among your AIs and answers you.
Step 1030 s15 s
Something not working? Use Diagnostics.
Diagnostics is in your project’s bar. Write what’s happening in your own words, for example «gemini won’t sign in», and it tells you how to fix it. Often it comes with a button that fixes it for you.
123- Press Diagnostics in the bar.
- Type what you see, in your own words.
- Open the case that looks like yours and follow what it says.
The most common problems when you start
The Terminal says «command not found: npx».
Node is missing or the Terminal can’t find it yet. Install it (step 2), close the Terminal, open it again and paste the command once more.
The browser didn’t open.
Open the address that shows up in the Terminal yourself. It’s almost always http://127.0.0.1:4317.
An AI says «Not signed in».
Go to Settings › Agents and use its button to sign in. To see which AIs MADRE found without opening it, paste this in the Terminal:
npx @jossuealcala/madre doctor
An AI changed something I didn’t want.
Click Undo on the changes card. The project goes back to how it was before that answer.
@madre doesn’t show up.
Ollama is off or has no model. In Home › Settings › Local AI you turn it on and download the model.
On Windows, Ollama won’t install.
Ubuntu is missing zstd. In the Ubuntu window paste sudo apt-get install -y zstd and click Install Ollama again.
Gemini says Google rejected its credentials.
Google no longer accepts Gemini CLI with free personal accounts. Get an API key at Google AI Studio and paste it in Settings › Agents › Gemini.
I want the new version.
The usual command downloads the newest version every time you open MADRE. If MADRE tells you there’s a new one, you can also update it with one click.
Got an error message? Look it up in Known errors. Still not fixed? Tell me what happened. You don’t need to create an account and you’ll see my reply right there.
You’re good if you know where to ask for help, inside and outside MADRE.
Once you use it
Other things you can do.
You don’t need these to get started. Read them when you need them. Each one takes a minute and comes with the MADRE screen and a number on what you have to press.
Once you use it45 s
Your chats, on the left.
Each project can have several chats. They’re in the left column, like in any messaging app. They all share the project’s memory: what was decided in one, the AI knows in the others.
1234- «New chat» starts a conversation.
- Your chats stay below it, the latest on top. Click one to go back to it.
- Hover over a chat: the first button opens it beside, in the other half of the window.
- The second opens it in its own window, which you can move. The ✕ deletes it.
The button at the top left hides the column so you have more room. In a narrow window, the column opens over the conversation.
You’re good if you opened a new chat and went back to the previous one.
Once you use it1 min
Your files, next to the chat.
Code opens your project’s files to the right of the chat. What each AI changed is marked in its colour, so you know who changed what.
123- Press Files (</>) in the bar at the top and open a file from the list.
- Click the number of a line. With ⇧ you choose several.
- Press ASK: choose the agent and what you want, or copy the reference to quote it in the chat.
-
Open Code
It’s the Code button on the bar. With
⌘ Pyou find a file by its name. -
Mark the lines
Click a line number. With
⇧(Shift) you mark several. -
Ask
Click ASK, pick the AI and what you want: to explain it, improve it, write tests or fix it.
Want to change it yourself? Switch to EDIT. ⌘ S saves, ⌘ F finds and ⌘ / turns the line into a comment.
You’re good if an AI explained a few lines of your project to you.
Once you use it45 s
The tools on the right.
Code, Your servers and the other tools open to the right of the chat, each in its own tab. You can take any of them out to a separate window and move it wherever you like.
123- Each open tool is a tab. The tab's ✕ closes it.
- The window button takes it out of the column, to put it wherever you like.
- The last button closes the whole column.
If you make your browser window narrow, whatever no longer fits beside the chat moves to a separate window by itself.
You’re good if you took a tool out to its own window and put it back.
Once you use it45 s
The project’s memory.
MADRE keeps what gets decided in your project: names, decisions and how you like things. When you ask an AI something, MADRE passes it what it needs to know, even if another AI said it weeks ago.
12- Press Memory map in the bar. Type the project's name and it opens full screen.
- Each dot is something MADRE remembers. Its color says whether it is a decision, a fact or a preference.
- Click one to read it. If it is no longer true, you forget it from there.
-
Ask it to remember something
For example, write:
remember that prices always include tax. -
Ask another AI
Ask a different AI how the prices work. It already knows.
-
Check it on the map
Click Memory map, on the bar. Click a star to read it. If it’s no longer true, you can forget it right there.
With #0 Incognito nothing is saved to the memory.
You’re good if another AI knew something you told the first one.
Once you use it1 min
Modules: features you turn on.
Modules are extra features you turn on when you need them. For example: notes, reminders, shorter answers or seeing your page inside MADRE. While they’re off, they do nothing.
123- Press Market in the left column.
- Tap a module to read what it does, what it touches in your project and who made it.
- Press Get or Install. Afterwards you turn it on or off in Modules, in the project's bar.
-
Open Modules
It’s on your project’s bar.
-
Read before you turn it on
Click a tile. It tells you what it does, what it changes in your project and what it needs.
-
Turn it on
With its switch. Try Token saver: answers come out shorter and spend less.
123- Turn on Notes and Reminders in Modules, in the bar at the top.
- Each note opens its window: write, change its color or throw it away.
- When a reminder's time comes, MADRE shows it in the project and in «Waiting on you», in Home: «Done», «In an hour» or «Tomorrow».
Notes and Reminders are two modules. A note is like a coloured slip of paper stuck to your project. A reminder lets you know on the day and at the time you say, and you can ask any AI for one: remind me tomorrow at 10 to check the banner.
You’re good if you turned a module on and saw what it does.
Once you use it45 s
Continuity: another AI picks up where you left off.
Continuity saves, inside your project, where the work stands: what was decided, what’s left and points to undo. If you switch AI, editor or computer, the next one starts from there.
123- In Modules, tap Continuity.
- «What it touches» shows what it writes: a .ahp/ folder inside your project, in plain text.
- Press Install. Your project needs to use git, with at least one commit.
-
Open it
In Modules, click Continuity.
-
Read what it changes
Under What it touches you see that it creates a
.ahp/folder in your project, with text files. -
Install it
Click Install. Your project needs to use git and have at least one saved change (a commit).
You’re good if your project has the .ahp/ folder.
Once you use it45 s
Connectors: let your AIs use other apps.
A connector lets your AIs use other apps, like GitHub, Notion or your calendar. They’re also called MCP. You connect them once in each project.
12- Open Settings › Connectors (MCP).
- Choose one from the catalog and press Connect. Some open their page so you can sign in.
- Press «Check the connection» to confirm it answers.
-
Open Connectors
In Settings › Connectors (MCP).
-
Connect one
Pick one from the list and click Connect. Some open their page so you can sign in with your account.
-
Check that it works
Check the connection tells you whether it answers.
Already had connectors in Claude Code, Codex, Gemini or Cursor? With «Import from your apps» you bring them into MADRE.
You’re good if a connector answers.
Once you use it30 s
Copilot: let the AI work on its own for a while.
For a long job, Copilot lets the AI move forward without asking your permission at every step. It can edit files and run commands that only read. If it needs to run your tests or build, it waits for your click. It never deletes or publishes.
123- Press the robot beside the box.
- Choose for how long: from 30 minutes to 24 hours.
- Turn it on and write the task. It asks you to confirm only once.
-
Click the robot
It’s beside the text box.
-
Pick how long
From 30 minutes to 24 hours.
-
Turn it on and give it the task
It asks you to confirm only once. It turns off by itself when the time is up, or with STOP ALL.
You’re good if the AI moved forward several steps without asking you.
Once you use it30 s
Running now: what’s working right now.
Running now shows you what MADRE is doing in all your open projects: which AI is answering, which plan is moving forward and which server is on. You can also stop it from there.
-
Find the beating line
It’s on the bar at the top, in every project and in Home. The number says how many things are working, and the line moves while something works.
-
Open it
Under Now you see each AI that’s answering: what you asked it, how much of its limit it has used and whether it has helpers. You also see the plans with their steps, the servers and what’s being installed. Below is what finished a moment ago and the upcoming reminders.
-
Go there or stop it
Open a row. Go to the chat takes you to that message. Stop stops only that.
Stop everything stops everything in all your projects, and asks you to confirm. In a narrow window, the panel comes up from the bottom.
You’re good if you watched an AI work from Running now.
Once you use it30 s
The Coordinator: an AI that sees all your projects.
The Coordinator is in Home. You can ask it about any of your projects. If you connect two projects, one can look up what the other learned.
12- In Home, press «Talk to the Coordinator».
- Press «Connect projects» and choose two. You decide what it may look up and until when.
-
Talk to it
In Home, click Talk to the Coordinator. Ask it, for example, which project you were on yesterday.
-
Connect two projects
With Connect projects. You choose what it can look up and until when. Your files and your chats never get mixed.
You’re good if the Coordinator answered you about one of your projects.
Once you use it1½ min
Train your AI on what your project knows.
This is the most advanced part of the manual. The first time, set aside an hour. MADRE doesn’t train anything on its own or send anything online. You take out what your project learned, train a small model on your computer and @madre starts answering with it.
What goes in the training file
- What goes in
- Your questions in the project with the answer you got, and the memory’s notes turned into question and answer.
- What stays out
- Nothing from
#0 Incognito, no answers you marked as bad, none from @madre and none that are a single line. - What gets deleted
- Before the file is saved, paths, names, emails and keys are deleted.
- Where it goes
- On your computer, in
~/.pulse/rooms/<project>/dataset/:train.jsonlto learn from,valid.jsonlto check against andmanifest.jsonwith the summary. - How many examples you need
- Under 200, it learns the tone and little else. From about 1000 it’s worth it. Under 50, the training doesn’t start.
What computer you need
- A Mac with an Apple chip
- It’s the tested option. All of the Mac’s memory counts: with 16 GB you can train a model of up to 3B, one of the small ones.
- Linux with an NVIDIA card
- It’s being tested. First the card is checked. If it doesn’t answer, you can’t go on.
- Neither
- The model works, though slower, but it can’t be trained: it would take days.
-
Export
In your project, open Settings › What it remembers and, under Train your own AI, click Export. It tells you how many examples came out. From the Terminal, in the project’s folder, it would be:
npx @jossuealcala/madre dataset -
Pick the size
Open Step by step, in that same section. MADRE checks your computer and marks the biggest model it can train and use. You can pick another one.
-
Set up Python (only once)
It installs in a separate space so nothing else on your computer changes. On Linux, Step by step gives you the version for your card.
python3 -m venv ~/.madre-train && source ~/.madre-train/bin/activate && pip install mlx-lm -
Train
Copy the command from Step by step. It already has your folders and the size. It takes 10 to 40 minutes with small models, and an hour or more with big ones.
-
Hand it to Ollama
Three more commands, also in Step by step. They join what it learned with the model, convert it to Ollama’s format and save it with the name
madre-<project>. -
Use it
In Settings › Local AI, click Check again. @madre switches to your model, and What it remembers shows it.
Before you trust it, ask @madre ten things that were decided in your project and five that never came up. It should get the first ones right and tell you the others never came up. If it makes things up, delete it with ollama rm madre-<project> and train it again with more examples.
You’re good if your project has its training file.
Once you use it30 s
How to uninstall MADRE.
You uninstall it from Home. Before deleting anything, it tells you what will be deleted and what stays.
-
Open it
In Home, go to Settings › Version and click Uninstall….
-
Read the list
The conversations, the memory, the settings, the
.pulsefolder in each project and the points to undo get deleted. Your projects and your AIs aren’t touched. -
Confirm
Click Uninstall. MADRE closes everything and then deletes. If a project can’t be closed, it deletes nothing and tells you which one.
What the AIs created in .pulse/out stays, unless you tick the box. If you installed MADRE with npm -g, at the end it gives you the command to remove the program: npm uninstall -g @jossuealcala/madre.
You’re good if you know how to remove MADRE without losing your projects.
Once you use it30 s
The license.
Since version 1.1, MADRE uses the Business Source License 1.1. Its code is public: you can read it, change it and share it.
-
Free for you and your team
For individuals and for organizations of up to 10 people. Also if you provide services to others, as a freelancer or as an agency.
-
Paid for larger organizations
An organization of more than 10 people, or anyone who wants to offer MADRE to others as a service, needs a commercial license. Write to me through the form, under “Something else”.
-
Free software after four years
Each version moves to the free GNU AGPL v3 license four years after it’s published.
Versions 1.0.2 to 1.0.5 stay under the GNU AGPL v3. This is a summary. What counts is the full text of the license.
You’re good if you know whether MADRE is free for you.
Ideas to build
Not sure what to do first? Pick one.
I tested all of them in MADRE, in an empty folder, with these exact messages (in Spanish). Create a folder, add it in Home and copy the messages in order.
Your personal site
I tested it with Cursor, Claude, Codex, Gemini and OpenCode · 6 messages · about 9 min
The messages, in order
-
@cursor#1 Chat only
@cursor #1 I want a one-page personal website, just HTML and CSS. My name is Ana Torres and I’m a product designer in Guadalajara. Suggest sections, palette, typefaces and a visual detail that makes it memorable, with no images from the internet.Cursor suggested four sections, a palette of paper, ink, cobalt, jade and sun, two typefaces and an AT monogram that draws itself.
-
@claude#2 Create
@claude #2 Build it in index.html and styles.css following Cursor’s proposal. Make up three projects, each with a cover drawn in CSS, and use [email protected] as the email.Claude built it following Cursor’s proposal to the letter, with three made-up projects and covers drawn only with CSS.
Handoff @cursor @claude · 2 messages
-
@codex#1 Chat only
@codex #1 Review index.html and styles.css: how does it look on a phone and how accessible is it? Give me a short list of fixes.Codex reviewed it without touching it and found things to fix on very narrow screens, in link sizes and in contrast.
Handoff @claude @codex · 4 messages
-
@gemini#3 Edit
@gemini #3 Apply the fixes Codex found and add automatic dark mode.Gemini applied Codex’s fixes one by one and added dark mode.
Handoff @codex @gemini · 6 messages
-
@opencode#3 Edit
@opencode #3 Add a discreet line to the footer of index.html saying what each AI did in this conversation.OpenCode put in the footer what each AI did, taken from the conversation, at the minimum text size Gemini had set.
Handoff @gemini @opencode · 8 messages
-
@claude#3 Edit
@claude #3 Almost there. The page pulls its fonts from Google Fonts and I want it with nothing from the internet. Swap them for system fonts with the same character, keep the name just as strong, and update the credits line in the footer.Claude dropped Google Fonts and picked heavy system fonts so the name still hits hard. It also updated the credits.
Handoff @opencode @claude · 10 messages
What you’ll end up with: Your site in index.html and styles.css. Double-click to see it, or turn on Preview in Modules to see it inside MADRE.
Open it and try it (opens in a new tab)It’s the file that came out of the test, in Spanish. I only removed the LinkedIn link, which could lead to a real person’s profile.
A Trello-style board
I tested it with Gemini, Cursor, OpenCode, Codex and Claude · 6 messages · about 8 min
The messages, in order
-
@gemini#2 Create
@gemini #2 Make a Trello-style board in a single file, board.html: three columns (To do, Doing, Done), add cards, drag them between columns, edit them with a double click and save everything in the browser. Make it look modern and open with sample cards.Gemini made it in one file, with sample cards, drag and drop and saving in the browser.
-
@cursor#1 Chat only
@cursor #1 Review board.html as if you were going to use it every day: what’s missing? Short list.Cursor reviewed it as a daily user would: you couldn’t reorder within a column, deleting didn’t ask first and there was no backup or undo.
Handoff @gemini @cursor · 2 messages
-
@opencode#3 Edit
@opencode #3 Add the most useful of Cursor’s suggestions to board.html and tell me what you left out and why.OpenCode added the most useful of Cursor’s list (reordering, undo with Ctrl+Z, export and import) and explained what it left out.
Handoff @cursor @opencode · 4 messages
-
@codex#1 Chat only
@codex #1 Review board.html: what happens with empty cards, super long text or if I drop a card outside a column? Short list.Codex reviewed it without touching it and found that an empty card could slip in on import and that text had no limit.
Handoff @opencode @codex · 6 messages
-
@claude#3 Edit
@claude #3 Fix what Codex found and add a card in Done that tells what each AI did in this conversation.Claude fixed what Codex found and added a card in Done that tells what each AI did. Nobody told it who did what.
Handoff @codex @claude · 8 messages
-
@gemini#3 Edit
@gemini #3 Almost there. On a phone the buttons at the top run off the screen, and on a big screen the columns don’t fill the width. Fix it and add your fix to the who-did-what card.Gemini fixed the buttons for phones, made the columns fill the screen and added itself to the who-did-what card.
Handoff @claude @gemini · 10 messages
What you’ll end up with: board.html, ready to use. It opens with sample cards and the who-did-what card.
Open it and try it (opens in a new tab)It’s the file that came out of the test, untouched and in Spanish.
Your spending tracker
I tested it with @madre, Codex, Claude, Gemini, OpenCode and Cursor · 5 messages · about 8 min
The messages, in order
-
@madreRound table
@madre, ask the team: I want a page to log my monthly spending and see the total per category with a chart, no server and no libraries from the internet, in a single file. How would you build it?Codex, Claude, Gemini and OpenCode said how they’d build it, each one reading the previous ones («I agree with @codex on the essentials…»). @madre summed up where they agreed and where they didn’t. Needs your local AI
Handoffs @madre @codex @claude @gemini @opencode @madre · up to 9 messages
-
@claude#2 Create
@claude #2 Create spending.html with the best of the team’s proposals, make it look like a modern finance app with dark mode, and tell me who you took what from.Claude built it from the best of the table and tells you who it took what from, like Codex’s skeleton and Gemini’s SVG chart.
Handoff @madre @claude · 12 messages
-
@opencode#3 Edit
@opencode #3 Add a month of sample data to spending.html so the chart shows from the start, and a button to delete it.OpenCode added 23 sample expenses, with a notice at the top and a button to remove them that leaves yours alone.
Handoff @claude @opencode · 14 messages
-
@cursor#1 Chat only
@cursor #1 Review spending.html: does it do what the team agreed on at the round table? What’s missing?Cursor checked it against what the table agreed: it covers the essentials, but the sample data wasn’t saved until your first change.
Handoff @opencode @cursor · 16 messages
-
@gemini#3 Edit
@gemini #3 Add what Cursor found missing to spending.html, and put at the bottom who contributed what in this conversation.Gemini fixed what Cursor saw and put at the bottom what each AI contributed, starting with the round table.
Handoff @cursor @gemini · 4 messages
What you’ll end up with: The spending file: you log expenses, see the month’s total, the daily average and the chart per category, and back up your data as JSON.
Open it and try it (opens in a new tab)It’s the file that came out of the test, untouched and in Spanish.
A game made as a team
You give Claude a single instruction. Claude writes a plan and MADRE follows it step by step: Cursor designs, Codex builds it, Gemini reviews it and Claude ends with a summary. You just watch.
I tested it with Claude, Cursor, Codex, Gemini and OpenCode · 3 messages · about 9 min
The messages, in order
-
@claude#2 Create
@claude #2 Make a plan with the team to build a memory game with emoji cards from scratch in memory.html: @cursor proposes the design without writing code, @codex writes the whole game following Cursor, @gemini reviews it and suggests upgrades, and you wrap up summarizing what came out and how to play.Claude wrote a four-step plan and MADRE ran it on its own: Cursor designed the game, Codex wrote it to the letter, Gemini reviewed it and suggested five upgrades, and Claude wrapped up explaining how to play.
Handoffs @claude @cursor @codex @gemini @claude · up to 8 messages
-
@opencode#3 Edit
@opencode #3 Apply Gemini’s upgrades to memory.html and add a «Who made it» button that tells what each AI contributed in this conversation.OpenCode applied Gemini’s five upgrades and added «Who made it», with what each AI contributed, down to the emojis Cursor picked.
Handoff @claude @opencode · 10 messages
-
@claude#3 Edit
@claude #3 Almost there. The game works, but it looks too plain. Give it personality: cards that flip in 3D with a drawn back, lively colors and a celebration when you win. Don’t change how it plays and add your part to «Who made it».Claude gave it purple cards with a drawn back that flip in 3D, lively colors and confetti when you win, and added itself to «Who made it».
Handoff @opencode @claude · 4 messages
What you’ll end up with: The game file: eight emoji pairs, moves, time, restart and the «Who made it» button.
Open it and try it (opens in a new tab)It’s the file that came out of the test, untouched and in Spanish.
Brainstorm that ends in an app
A brainstorm between AIs that ends in an app. Each one reads what the others said before chiming in, and the one that builds it explains why it chose that idea.
I tested it with @madre, Codex, Claude, Gemini, OpenCode and Cursor · 5 messages · about 8 min
The messages, in order
-
@madreRound table
@madre, ask the team: I have an empty folder and a free afternoon. What small but surprising app can we make in a single HTML file, offline? One idea each.Codex pitched a constellation that sings, Claude a garden of living patterns, Gemini a musical pendulum and OpenCode a notebook that saves itself. @madre summed it up. Needs your local AI
Handoffs @madre @codex @claude @gemini @opencode @madre · up to 9 messages
-
@claude#2 Create
@claude #2 From the team’s ideas, pick the most surprising one and build it in app.html, with a design that feels handmade. Say why you picked it.Claude didn’t pick its own idea: it picked OpenCode’s, because it surprises by what it is, not by how it looks. Saving downloads the very same file with your notes inside.
Handoff @madre @claude · 12 messages
-
@cursor#1 Chat only
@cursor #1 Try app.html as if you were the one who proposed the idea: what’s missing for it to really surprise?Cursor tried it as OpenCode would and found a problem: the page explained the trick before you got to live it.
Handoff @claude @cursor · 14 messages
-
@gemini#3 Edit
@gemini #3 Apply what Cursor said to app.html. Nothing should get cut off on a phone.Gemini removed the spoiler, added a generation stamp and a notice when you open a copy, and fit it to phones.
Handoff @cursor @gemini · 16 messages
-
@codex#3 Edit
@codex #3 Add a credits note to app.html that tells how the idea was born and what each AI did in this conversation.Codex wrote how the app was born, with what each AI proposed and did, and tucked it inside «look at the HTML’s guts» so it doesn’t spoil the surprise.
Handoff @gemini @codex · 18 messages
What you’ll end up with: app.html, an «autonomous notebook»: you write and doodle, and when you save you take the file with everything inside.
Open it and try it (opens in a new tab)It’s the file that came out of the test, untouched and in Spanish.
If you don’t like something, ask any AI for the change or click Undo. Gemini needs a Google AI Studio key (step 4). In these tests Cursor could only read: that’s why it designs and reviews, and the others write.
The cheat sheet
All of MADRE on one page.
Keep it handy. It’s also in the PDF.
In the Terminal
npx @jossuealcala/madre- Opens Home, with all your projects.
npx @jossuealcala/madre start- Opens the project of the folder you’re in.
npx @jossuealcala/madre doctor- Tells you which AIs MADRE found and which ones are signed in.
Ctrl + C- Shuts MADRE down, like the power button in the bar.
In the text box
@agent- Who you’re writing to.
#0 … #4- What you let it do.
!file- Which file you hand over.
/- The command menu.
@madre, ask the team- Round table with all of them.
Shortcuts
Enter- Sends the message.
⌥ Enter- New line (Alt + Enter on Linux).
⌘ ,- Opens Settings (Ctrl + , on Linux).
?- The gestures and shortcuts sheet.
The modes
#0- Incognito
#1- Chat only
#2- Create
#3- Edit
#4- Full access
When you want more
To keep learning.
The Coordinator An AI that can look into your projects, only the ones you connect. Ask it from any project with
/bishop.The Memory map What your project remembers, in 3D: decisions, facts, preferences and open questions.
Modules Extra features you turn on with a switch, like GitHub, Suggested effort or the Test browser.
The copilot An AI works on your project with permission #3 for as long as you choose, without asking you to confirm every message.
Make your module Add features to MADRE with a single file.
Technical reference All the options, commands and limits, in case you want to know every detail.
Ready to start.
Paste the command in your Terminal and ask it your first question.
npx @jossuealcala/madre