A clear path forward
Agent is looping or repeating the same steps—how do I stop it?
Select Stop in the Agent panel to end the loop, then restart the environment and begin a new chat.
VerifiedRH-0002v2
- Select Stop in the Agent panel.
- Open the command palette with
Cmd+Kon Mac orCtrl+Kon Windows. Search for Restart compute and select it. - Open a new Agent chat and describe the task more specifically.
To help avoid another loop:
- Give Agent one clear goal per message.
- Use Plan mode to scope the work before Agent builds.
- Set a usage limit through Managing your spend.
Was this page helpful?
Still stuck? Try troubleshooting with Agent.
Still stuck? Try troubleshooting with Agent.
Copy this prompt and paste it into Agent. For a project issue, open the project where it happens first. Add what happened and anything you've already tried. Don't include passwords, API keys, database connection strings or payment-card details.
Copying does not open Agent or send a support request. Agent availability and usage depend on your account.
Can't open your project, or need another kind of help? Get help.