Plan Mode

AI Agent · 8 articles

Can I edit plans after they're created?

You can edit your message in chat or ask Lovable to refine the plan in a follow-up message. However, you can't directly edit Lovable's generated plan response. Instead, ask a follow-up question like 'Can you focus on X instead?' or 'Let's prioritize Y'—Lovable will create a new plan. You can also revert to an earlier plan from history.

Can I use Plan mode for debugging?

Yes, Plan mode is excellent for debugging. Use it to investigate errors before Agent mode tries to fix them. Ask Lovable to analyze error logs, check your code, and reason about what's wrong. Once you understand the issue, switch to Agent mode to implement the fix. This prevents wasted credits on blind fix attempts.

Does Plan mode cost credits?

Yes, Plan mode costs 1 credit per message. It's cheaper than Agent mode, which uses variable credits depending on task complexity. Use Plan mode for decision-making and investigation, then switch to Agent mode only when you're ready to implement. This saves credits while still letting you explore ideas.

Does Plan mode ever change my code?

No, Plan mode never modifies your code. It's a planning and reasoning mode where Lovable explores ideas, investigates issues, and reasons about changes BEFORE code is written. Lovable asks clarifying questions and presents a plan. Only Agent mode can implement changes. Use Plan mode to think through decisions, then switch to Agent mode to execute.

Use Lovable Plan mode

Use Plan mode to investigate issues, reason about solutions, and plan changes before implementation. Ask Lovable in Plan mode: 'What might be causing this error?' or 'How should I approach this feature?' Plan mode costs only 1 credit per message (vs. variable Agent mode costs). Once you have a clear plan, switch to Agent mode to implement. This saves credits and prevents blind fix attempts.

What is Plan mode?

Plan mode is a conversational, reasoning-focused mode where Lovable explores ideas, investigates issues, and reasons about changes BEFORE code is written. It costs 1 credit per message and never modifies your code—perfect for planning architecture, debugging, or making decisions. Switch between Plan and Agent mode anytime.

When should I switch to Plan mode?

Use Plan mode to explore ideas, investigate issues, and reason about changes before executing. It costs 1 credit per message and never modifies code. Switch to Agent mode once you've decided on an approach.

Where are plans stored?

Plans are stored in your chat history within the project. You can view them by scrolling up in chat or pressing the View History icon. Plans are part of your version history—you can revert to an earlier plan if needed. Plans aren't exported or stored separately; they live in your chat thread.