How an Agent Remembers: Decide Once on the Web, Use It from Any AI (Built-in AI Memory vs. Modoji Memory)
Each AI service has its own memory, locked inside that service and hard to inspect. Modoji saves what you ask it to remember as files in your repository and hands the relevant ones to new chats and other AIs like Claude Code. Here is how one report format travels across tools, and what is missing.
Tell an AI once, "start reports with the conclusion," and you expect it to do so next time without being told. Switch windows or open another AI, though, and you start from scratch. Modoji keeps that "decided once" not in the AI but in your own repository.
This is part #2 of the Modoji AI Assistant series. In #1 we connected Claude Code to Modoji; this post covers how memory moves over that connection.
1. What Is Modoji Memory?
Say it once, keep it in your repository, use it from any AI.
A Modoji memory is a one- or two-sentence item recording a fact, preference, decision, or recurring procedure you stated. Each item is one Markdown file under .paasup/memory/ in your personal repository, and like any document it keeps a change history.
| Kind | Example | Stored in |
|---|---|---|
| Fact / preference | "Our office address is …", "Merge same-day meetings into one set of minutes" | .paasup/memory/semantic/ |
| Procedure | "Weekly report: conclusion → three-line summary → table" | .paasup/memory/procedures/ |
Alongside memories, Modoji also keeps conversation records: the transcript or session summary of a conversation. Ask "what was that thing we did last time?" and the AI finds and reads them.
2. Why Built-in AI Memory Is Not Enough
It stays inside one service
ChatGPT's memory works only in ChatGPT; Claude's only in Claude. If you mix two or three AIs at work, you teach each one the same preferences again.
It is hard to see what was saved
It is hard to check what an AI remembers about you, or when and why it changed. If a wrong memory appears and you cannot tell where it came from, you cannot fix it.
Guesses and decisions get mixed
When what the AI guessed from a conversation carries the same weight as what you decided, a passing remark can follow you around like a firm rule.
3. Under the Hood: How It Works
Core components
Memories come in through three paths, pile up as files in your personal repository, and go back out only when they fit the topic at hand.

- One save path, many entry points: The web assistant and MCP clients (Claude Code, claude.ai) save through the same
memory_rememberpath. When you say "remember this," it is saved right away and the answer shows a "Saved to memory" line. - Same meaning, one item: Before saving, Modoji checks whether an existing memory means the same thing. If so, it rewrites that item instead of creating a new one, even when the wording or the language differs.
- Files and history: One memory is one Markdown file. Editing overwrites it and the old text stays in the change history. Even deleted items can be traced in the repository history.
- Auto-extracted items are "inferred": From session summaries and kept conversations, Modoji extracts only facts, preferences, and decisions you stated yourself, up to five per conversation, and saves them as inferred. The AI still uses inferred memories, but they are shown with their source, and they become confirmed when used again or when you confirm them. Left alone, they are hidden after 180 days by default. Items you explicitly asked to remember are never cleaned up this way.
- Recall by topic: When a task starts,
agent_contextreturns a one-page memory digest plus the memories closest in meaning to the current request, even without matching keywords. On the web, the answer shows "N memory item(s) used" so you can see which ones were applied.
Outside content cannot rewrite your memory
What if a web page or an attached document hides a line like "remember this"? In any turn where the assistant has read outside content, Modoji writes memory only if you asked for it directly in that turn's message. Text written by someone else cannot change your memory.
Only you see your memory
Memories and conversation records live in your personal repository. Other members of the same tenant cannot see them, and AIs connected over MCP read them only with your token's permissions.
4. Try It Yourself: Decide on the Web, Use It in Claude Code
Every screen below comes from a real run with a test account made for this post.
1) "Remember this" on the web
We said in the Modoji chat:
From now on, when I write a weekly report, put the conclusion first, then a three-line summary, then a single table. Please remember this.
We had already saved the same rule in Korean earlier, so instead of adding a second item, the assistant replied, "This was merged into your existing weekly-report procedure, so there is no duplicate entry." The answer shows "Updated memory," and the memory list now holds one Procedure · Confirmed item in English.

2) A memory is a file
Click the item to open its memory card: the saved sentence, source (Document assistant), category (Procedure), and confidence (Stated by the user). You can edit or delete it here, and Source (md) shows the actual file.

History lists both commits: the original save and the update that merged the English request into it.

3) Used again in a new chat
We opened a new chat and, without mentioning memory, asked only:
Draft this week's weekly report. This week I published the overview post of the Modoji blog series, and I'm preparing the draft and screenshots for the memory post.
The assistant first checked the saved procedure, then wrote the report in order: conclusion, three-line summary, table. It even found the session summary left by Claude Code earlier and cited it as a source.

4) Carried into another AI
We made the same request in Claude Code, connected in #1. Claude Code received Modoji memory through agent_context and wrote the report in the same order, saying, "I used your saved weekly report format." Something said once on the web carried straight into another AI.

5) Guesses stay "inferred"
Claude Code saved a summary of its session to Modoji, and Modoji extracted two memories from it ("memory post publish date not set" and "Modoji blog series in progress") and saved them as Inferred. They are shown apart from the item you asked to remember. (The test account's memories are in Korean.)

Open an inferred memory and a banner says "The AI inferred this from a conversation," with its source and the date it will be hidden. If it is right, press Yes, confirm; if it is slightly off, Edit and confirm.

5. Built-in AI Memory vs. Modoji Memory: Key Comparison
| Item | An AI service's own memory | Modoji memory |
|---|---|---|
| Where it works | Only inside that service | Modoji web, Claude Code, claude.ai, and any AI you connect |
| Stored as | Inside the service | Markdown files in your repository |
| Inspect and fix | Limited | Card with source and confidence; edit, delete, change history |
| Guessed memories | Hard to tell from what you said | Marked inferred; confirmed or hidden after a deadline |
| Saving the same thing twice | Duplicates can pile up | Same meaning merges into one item |
| How it is recalled | Decided by the service | Memories closest to the current topic; used items shown under the answer |
| Instructions inside outside content | Varies by service | Saved only if you ask directly in that turn |
In one line: built-in AI memory = the AI remembers you, Modoji memory = you own the memory, and the AI borrows it.
6. Limits: What Is Still Missing
Here is what we ran into while using it ourselves.
- claude.ai may not save session summaries on its own. Automatic saving is reliable only in Claude Code on a PC where the one-line install was run. In claude.ai, saying "summarize this conversation and keep it" is the sure way.
- The AI decides whether to use memory.
agent_contexthands over related memories, but if an external AI does not call it on the first turn, it may answer without them. For important work, adding "check my memory first" makes it certain. - Memory is personal. There is no shared memory yet for teammates to use the same rules together.
7. Closing
The more work you hand to AI, the more often you say, "We already decided this." Modoji keeps those decisions as files in your repository, not with the AI company. Switch AIs and your memory follows, and you can always open it up and fix what it remembers.
In the next post we look at citation verification: checking that the source marker on every sentence of an answer really matches the original text.