Overview
Agent mode is Lovable’s autonomous execution mode, designed to implement changes directly in your project. When you give Lovable a task, it takes ownership of execution end to end. It understands your intent, explores the codebase for context, applies changes across files, and resolves issues that appear during development. While it works, you can see progress through visible tasks and review the results before moving on.What Agent mode is for
You can use Agent mode to:- Implement features or changes once an approach is decided
- Fix bugs or errors end to end
- Refactor code across multiple files
- Apply coordinated changes across frontend, backend, and configuration
- Debug issues that arise during implementation
- Inspect logs and network activity to identify problems
- Fetch external documentation or assets when needed
- Generate or edit images and videos for use in your project
- Verify results before finishing
How to use Agent mode
Agent mode is active unless you switch to Plan mode. To use it, describe what you want and send your message. Clear requirements and constraints help Lovable produce better results. Be specific about what you wantTasks and execution visibility
While Lovable is working, tasks appear in the chat interface showing:- Current step being executed
- Files being modified
- Tools being used (search, web fetch, image generation)
- Progress through multi-step implementations
- Follow progress on complex builds
- Understand the steps being performed
- Stay oriented during complex changes
- Spot issues early if something seems off
Message queue
Lovable processes one task at a time. If you send additional messages while it is working, or multiple collaborators send messages simultaneously:- They are automatically queued
- The queue is visible above the chat input
- They are processed in order
Debugging and verification
When using Agent mode, Lovable does more than ensure code compiles. As part of investigation and problem solving, the agent can:- observe build errors and failures from test runs
- inspect console output and network requests when verification tools are used
- reproduce reported issues using browser testing or targeted backend calls
- verify that fixes work as expected by running appropriate checks
Pricing
Pricing for Agent mode is usage-based. Cost depends on factors such as:- Number of files modified
- Complexity of logic changes
- Amount of codebase exploration required
- Use of tools such as verification, browser checks, web search, or image generation
FAQ
Does Lovable modify my project directly when in Agent mode?
Does Lovable modify my project directly when in Agent mode?
Yes. Lovable applies changes directly to your project when using Agent mode. All modifications are visible through file diffs and summaries.
What happens if errors occur during implementation?
What happens if errors occur during implementation?
Lovable can inspect logs, runtime output, and network activity and iterate on fixes until the issue is resolved or clarified. See Test and verify your app for more information.
Can I see what Lovable is doing while it works?
Can I see what Lovable is doing while it works?
Yes. Visible tasks show each step of execution, including progress and which files are being modified.
Can multiple messages be sent while working in Agent mode?
Can multiple messages be sent while working in Agent mode?
Yes. Additional messages are queued and processed in order. You can reorder, pause, or remove queued messages at any time.
How do I stop Lovable if something looks wrong?
How do I stop Lovable if something looks wrong?
Click the stop button while Lovable is responding. The current task will halt and any uncommitted changes will not be saved.
When should I switch to Plan mode?
When should I switch to Plan mode?
Switch to Plan mode when you want to:
- Think through a complex change before implementation
- Compare multiple architectural approaches
- Review or edit a plan before any code is changed
- Investigate an issue and decide on a solution first