MILAGPT
What do you need? Pick an island — I’ll show you where to go.Ask Mila
Talk to MilaYour own Mila — 3 days for $5 · talking to Mila Tashkent is free
RU·EN
Docs · Memory

Memory that learns from remarks

Mila remembers from files, not from the model: a card for every chat, the owner’s tastes, your remarks. The same remark heard a third time turns into a ready line for the rules, and you decide whether it goes in. Every line below links to the code.

Memory is a folder of plain files. You can open it, fix it, export it and move it.

Where memory lives

Not in the model’s head, but in files

The model can change in an evening. The files stay. skills/memory-audit:15-16

01 · MEMORY

The memory folder

A lasting fact, decision or method gets its own file and a line in the MEMORY.md index. A trifle from one session is not written down. Nothing new worth keeping, and she says so instead of inventing entries.

skills/self-check:71-79
02 · CHATS

A card for every chat

What the chat is for, who is in it, what was agreed. The mechanics create a card skeleton and never overwrite what Mila has written. A note is one command, made during the conversation.

docs/REFERENCE.md:300-305chats_index.py:16-18chat_note.py:3-22
03 · TASTES

The owner’s tastes

What you like to watch, read, eat, where you like to go. One file: your words, a date and where it came from, “said himself” or “noticed from a choice”.

skills/tastes:11-14
Remarks

The third remark becomes a rule

Mila writes down each of the owner’s remarks as one dated line, without retelling the conversation. When the same remark comes a third time, she does not wait to be told: she drafts the exact line for the rules of the skill where it happened and asks one question, “Add it?”. Whether it goes in is up to you.

skills/self-check:61-64 CHANGELOG.md:57

How it goes
About people

What a person said, and what she guessed

  • Every fact has a source label. ✅ said himself, with his exact words next to it. ⚠ my conclusion, and what it is based on. ❌ not said, written as such, no guessing. Her own conclusion is never recorded as the person’s words. skills/crm-dialogs:52-54
  • The labels are for her only. They live in the card and in internal notes and never appear in a message to a guest, a client or the owner. skills/crm-dialogs:55
  • No one else’s tastes. The tastes file is about the owner only. Health, money, addresses and relationships do not go there. The file is shown to no one but the owner. skills/tastes:27-31
  • One person’s secret stays with them. A detail of one case does not come up in a conversation about another, neither in words nor through memory. CONSTITUTION.md:15
Tastes

Ask once, remember

The tastes skill picks films, books and places for the owner from one file. CHANGELOG.md:42

01 · PICK

Three options

There is a section on the topic: three options, each with one line on why it suits you. Facts about films and places come from search, not from memory.

skills/tastes:16-20
02 · ASK

One question

No section yet: one question with buttons, for example [Comedy] [Drama] [Sci-fi] [I’ll say]. The answer goes into the file at once. No more than one question per topic.

skills/tastes:16-20skills/tastes:35
03 · LEARN

From your choices

You picked an option, praised it or said “not for me”: one line marked “noticed from a choice”. A new line that contradicts an old one replaces it; the old one moves down, struck through, with a date.

skills/tastes:22-25
04 · FORGET

On request

“Forget my tastes” clears the whole file, “forget about films” clears one section. She says what she has forgotten.

skills/tastes:27-31
Memory audit

Memory needs cleaning too

The memory-audit skill goes through the memory folder and writes a report: what to archive, what to merge, what to fix. Mila deletes and moves nothing in memory on her own; you decide. skills/memory-audit:21-23

01 · DEAD WEIGHT

Done and past

The task is done, the event is over: a candidate for the archive, not for deletion.

skills/memory-audit:42-49
02 · DUPLICATES

Two notes, one topic

She suggests which note stays as the main one. She does not merge on her own.

skills/memory-audit:51-54
03 · LINKS

Broken links

Every [[link]] is checked against a file. When the file is missing, the report says where the link is and the likely reason.

skills/memory-audit:56-60
04 · INDEX

Orphans and stale facts

A file the MEMORY.md index does not mention, and a fact that a newer file has already overtaken.

skills/memory-audit:68-71skills/memory-audit:73-76

Once you name the action, each one is a separate edit. The archive is not deletion: the file moves to memory/_archive/ and a redirect line stays in the index. skills/memory-audit:94-100 skills/memory-audit:102-107

Nothing gets lost

Memory survives a restart and a move

Reminders survive a session restart: each one is mirrored to ~/work/state/crons.json, and at session start the missing ones are set again. The installer puts this hook in place. docs/REFERENCE.md:92 install/install.sh:107-109

mila export packs instructions, skills, memory, crons and settings into one archive with no passwords or keys. Conversations go in only with --with-history. mila backup saves journals and chat cards on a schedule. README.ru.md:62-75 README.ru.md:76 docs/REFERENCE.md:100

$ mila export --out ~/mila-backups
$ mila export verify <archive>
$ mila restore <archive> --dry-run
$ mila restore <archive>

Restore never overwrites what is already there; differences go to a separate folder. README.ru.md:62-75

Honestly

What this page does not claim

In the repository

Read every line yourself

Files behind memory in the mila-companion repository
FileWhat it does
skills/self-checkremarks, the third remark, what goes into memory (in Russian)
skills/memory-auditmemory audit: archive, duplicates, links, index (in Russian)
skills/tastesthe owner’s tastes: ask once, remember, forget
skills/crm-dialogssource labels for facts about people
install/chats_index.pychat registry and empty chat cards
install/chat_note.pynotes in a chat card in one command
install/crons-keeper.pyreminders that survive a restart
skills/mila-exportmila export and mila restore
CONSTITUTION.mdlaws 1 and 2: secrets and facts (in Russian)
Open source · Apache-2.0

Fork it, teach it, send a PR

The kit is open: skills, hooks, tools and templates. Every pull request is read by a person and by Mila Quality.

Facts on this page: github.com/shakhruz/mila-companion (main, 7cd3691), checked 19 Oct 2026. The chat in the phone is an illustration. “Mila”, “MILAGPT” and the logo are trademarks of MILAGPT.