Memory: what Lovable remembers as you build - Lovable Documentation
Documentation Index Fetch the complete documentation index at: /llms.txt Use this file to discover all available pages before exploring further. Skip to main content Assistant Responses are generated using AI and may contain mistakes. Lovable remembers what you tell it, so a preference you state once keeps applying. Set a price format, rule out an approach, or correct the tone of your copy, and Lovable saves it. Lovable applies it in later conversations without being reminded.
Memory is what Lovable saves as you work. It is the counterpart to Instructions , which you write yourself. Memory is enabled by default on all plans, and you can change or disable what Lovable remembers at any time. What Lovable remembers about your project Project memory belongs to one project, and Lovable adds to it as you chat. Everyone who can edit the project uses the same memory, so a teammate’s correction changes what Lovable does for you too.
Lovable saves: Preferences for how things should be done, and the corrections you make Approaches you have ruled out, so Lovable does not propose them again Design decisions, such as colors, typography, and tone of voice Business facts, such as prices, rates, opening hours, delivery areas, formulas, and words to avoid Links to references Lovable should use For example, after a few conversations about a café app, Lovable applies facts such as these: Prices are shown in kronor, formatted as "39 kr".
The tone across the app is warm and short. Never use the word "cheap" in customer-facing copy. The brand colors are forest green (#1E4D3A) and coral (#E8735A). Do not add a newsletter signup. It was rejected. Technical and architecture decisions, such as which service handles payments or how your app’s pages are organized, are saved in your project files instead. See Rules in your project files . What Lovable remembers about you Personal memory is about you rather than any one project.
Lovable saves how you want it to work with you: how long replies should be, how technical they can get, and whether it asks before making a small change. Lovable keeps a separate personal memory for you in each workspace, and applies it in that workspace’s projects and in Chats . What Lovable learns about you in one workspace does not carry over to your other workspaces. Each workspace has its own switch for personal memory, in your Memory settings .
Disable it in a workspace where you do not want Lovable to use what it remembers about you. Personal memory is yours. Other people on a project cannot read it, and it is never saved into a project’s memory. When personal memory and project memory disagree about a project decision, project memory wins, because it is specific to what you are building. What Lovable leaves out Memory is for what still applies after the current task.
Lovable leaves out anything it can read in your code, such as file paths and how a feature is built. It also leaves out the details of one build request and the summaries it writes of what it built. If a memory would contain an API key, a token, or a password, Lovable removes the value before saving the rest of the memory. Lovable recognizes only values in a known secret format, such as a provider’s API key, so it can miss other confidential text.
Everyone who can edit the project can read what it remembers about that project. Keep personal data and other confidential information out of your messages. Rules in your project files Technical and architecture decisions do not go to memory. Lovable writes each one as a short rule, with a one-line reason, in a file named AGENTS.md at the top level of your project. Lovable reads that file when it works on your app. When the main file gets long, Lovable moves its rules that cover one part of the app into a second AGENTS.md beside that part.
The main file stays short. Lovable reads the second file when it opens or edits a file in that part of the app. These files belong to your project. Open one in the code editor and edit it as you would any other file. It is included when Lovable syncs your project to GitHub. What Lovable remembers is stored separately, so memory never appears among your project files. Dreaming: how Lovable keeps memory up to date What Lovable remembers can go out of date as your app changes.
A rule may describe a page you have since removed, or a price you have since changed. On paid plans, Lovable tidies up project memory in the background, a process called Dreaming . Dreaming does not use credits. During Dreaming, Lovable checks what it remembers about the project and the rules in its AGENTS.md files against your code and the project chat. Lovable rewrites what has changed and removes what no longer applies or appears twice.
A rule you asked for stays as written, even when your code does not follow it yet. When Lovable later works on that code, it points out the difference and asks whether to keep the rule or change the code. Rules about approaches you have ruled out also stay. Dreaming checks a few memories and AGENTS.md files at a time, starting with those checked least recently. In a large project, Lovable needs several passes to cover everything.
Dreaming never changes your app’s code, but it can move rules into a second AGENTS.md , as described in Rules in your project files . Changes to AGENTS.md files show in the project chat and in version history as Lovable tidied up its notes . To see the exact edits, select View code changes on that version. The project’s Memory settings show what Lovable remembers now, but not what Dreaming removed. Dreaming does not change what Lovable remembers about you.
Dreaming does not run in projects that use Git sync , in workspaces with EU inference enabled, or in projects with Memory for this project set to Nothing . To bring back something Lovable removed, tell Lovable in the project chat, or edit the AGENTS.md file in the code editor . Tell Lovable what to remember or forget You do not have to wait for Lovable to save something on its own. Say it in the project chat, and Lovable updates its memory while it handles that message: Remember that all prices are shown in kronor, formatted as "39 kr".
Forget the dollar formatting rule. The same works for a preference about you, such as asking for shorter replies from now on. You can say it in the project chat or in Chats . See and change what Lovable remembers On a computer, Account settings → Memory shows what Lovable remembers about you. Pick a workspace at the top to see your memory in it. On a phone, the same page opens under Workspace settings → Memory , for the workspace you are in.
In a project, More → Settings → Memory shows what Lovable remembers about that project. Anyone who can edit the project can open that page. When the project’s memory setting is You and this project , the page also shows that Lovable uses what it remembers about you. Manage in Account settings opens that memory. Both Memory settings show a summary that Lovable writes, grouped under a few headings. To change part of it, select the text and choose Change in chat .
Lovable opens the project chat with that text attached to an unsent message, and you say what to change. In Account settings, Lovable first asks which project’s chat to use. Choose what memory Lovable uses Use memory , in Account settings → Memory , controls whether Lovable uses what it remembers about you in the workspace you pick there. Disable it, and Lovable stops using and saving your personal memory in that workspace’s projects and Chats .
Your other workspaces are not affected. Memory for this project , in the project’s Memory settings, has three options: You and this project : Lovable uses what it remembers about the project, and what it remembers about you when Use memory is enabled for the workspace. This is the default. Just this project : Lovable uses what it remembers about the project, and nothing about you. Nothing : Lovable uses no memory in this p
The rest of this page is on the live site.