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
  1. Select Stop in the Agent panel.
  2. Open the command palette with Cmd+K on Mac or Ctrl+K on Windows. Search for Restart compute and select it.
  3. 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.

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.

Share or save this answer

Send a link

Point someone to this answer.

Save the answer

Paste the answer into your notes.

Last updated