# Your agent keeps failing at the same thing

**What you see:** Your agent tries fix after fix and the problem stays.

**Why it happens:** It's guessing instead of finding the root cause, often because the task is too big or the error isn't reproduced.

## How to fix it

1. Ask it to stop and go back to the last version that worked.
2. Ask it to reproduce the problem and explain the cause before changing anything.
3. Split the task into smaller steps.

## Message for your agent

```text
Stop. Go back to the last checkpoint that worked. Then reproduce the problem, tell me the root cause in one sentence, and propose options before changing code.
```

**How to prevent it:** The guide tells your agent: after two failed attempts, go back and explain the options.

---
Source: [Agentic Makers](https://agenticmakers.app/en/help/agent-keeps-failing) · License: CC BY 4.0
