Overview
is Lovable’s planning and reasoning mode, designed for moments when thinking, exploration, or clarity is more valuable than immediate execution. It can reason across multiple steps and inspect files, logs, or other relevant project context as needed. In Plan mode, you can explore ideas, investigate issues, and reason about changes before any code is written. Lovable often asks clarifying questions to better understand your goals and constraints. When there is a clear implementation to propose, Lovable creates a formal plan that you can inspect, edit, and refine. Plan mode never modifies your code. Every message in Plan mode deducts one credit.What Plan mode is for
You can use Plan mode to:- Explore product or feature ideas before committing to a direction
- Ask questions about your codebase or existing behavior
- Investigate bugs, errors, or confusing behavior safely before making code changes
- Compare multiple approaches and understand tradeoffs
- Design architecture or database schemas
- Understand the impact of potential changes before making them
How to use Plan mode
You can use Plan mode in two ways:- Start in Plan mode when beginning a new project or exploring an idea
- Switch to Plan mode at any point during development to pause execution and think
Activate Plan mode
Click Plan next to the message input, then describe what you want to explore or decide. Be specific about what you wantWhen Plan mode creates a plan
Plan mode does not always produce a structured implementation plan. A plan is created only when there is a clear implementation to propose. If a plan is generated, it appears in a dedicated Plan view as a readable, structured document. You can open it in full screen to review the entire approach before anything is implemented. A plan typically includes:- A high-level overview of the approach
- Key decisions, assumptions, and constraints
- Components, data models, and APIs
- Step-by-step implementation sequencing
- Optional diagrams such as schemas, flows, or architecture
- Edit the plan directly as markdown to add constraints, remove steps, or rewrite sections
- Approve the plan when you are satisfied with the approach
- Lovable switches to Agent mode
- Implementation begins based strictly on the approved plan
Plans and persistence
When you approve a plan, the latest approved version is saved to.lovable/plan.md.
This file represents the current plan that Agent mode will implement, and you can inspect it like any other project file.
Previous plans are not lost. They remain available in your chat history and can be reopened in the Plan view for reference or comparison, even though only the most recent approved plan is saved to plan.md.
This allows you to:
- Iterate on ideas over time
- Compare different approaches
- Re-plan safely as requirements evolve
- Help new collaborators understand the reasoning behind implementations
FAQ
Does Plan mode ever change my code?
Does Plan mode ever change my code?
No. Code changes only happen after you approve a plan and Lovable switches to Agent mode.
Does Plan mode cost credits?
Does Plan mode cost credits?
Yes. Every message in Plan mode deducts one credit.
Where are plans stored?
Where are plans stored?
The latest approved plan is saved to
.lovable/plan.md. Earlier plans remain accessible from chat history.Can I access old plans?
Can I access old plans?
Yes. Earlier plans remain accessible from chat history.
Can I edit plans after they’re created?
Can I edit plans after they’re created?
Yes. Plans are fully editable before approval.
Can I use Plan mode for debugging?
Can I use Plan mode for debugging?
Yes. Plan mode is well suited for investigating issues and deciding on fixes before implementation.
Where is Chat mode?
Where is Chat mode?
Plan mode was previously called Chat mode. The name was changed to better reflect how the mode is intended to be used before implementation.
Can I reference a specific file when chatting with Lovable?
Can I reference a specific file when chatting with Lovable?
Yes. You can reference code files from your current project directly in chat to make edits and discussion faster and more precise.Type This only references files within your current project. To reference another project, see Cross-project referencing.
@ and select a file, or use the Reference file in chat button in the code editor. For example:Can Lovable reuse code or features from another project?
Can Lovable reuse code or features from another project?
Yes. Lovable supports cross-project referencing within the same workspace.You can use
@ mentions to reference another project directly, or simply ask Lovable to reuse an existing implementation. The agent can access relevant code, files, assets, and chat history from other projects and adapt them to your current one.Cross-project access is read-only and respects workspace permissions.