Agent question
Why does my AI agent get stuck?
Short answer: Most stuck agents aren't broken. They're waiting: on a permission prompt, a question in a chat nobody is watching, a failing CI check they can't read, or a pull request nobody was asked to review. Find what each stalled run is waiting on, then fix the most common reason as a team rule rather than one branch at a time.
Common causes
- It asked for approval or a credential, and the request went somewhere nobody checks.
- CI failed and the agent can't see the failure, or it gave up after one try.
- The pull request is ready but has no reviewer.
- The session ended mid-task: a laptop slept, a terminal closed, or a usage limit hit.
- The finish line was never defined, so the agent stopped where it thought it was done.
How to check
List every open agent branch and pull request with no new commit in two working days. Next to each, write what it's waiting on: a person, CI, review, a closed session, or an unclear goal. The most common answer is where to start.
What to change
- Send agent questions and approvals to a place someone actually watches.
- Let the agent read CI output and retry a set number of times before it reports back.
- Assign a reviewer when the pull request opens, not when someone notices it.
- Run long tasks in the cloud instead of on a laptop that will go to sleep.
Where Overdrive helps
Overdrive counts stalled tasks from your agents' own reports and can answer "which of my agents stalled this week, and on what?" with the task records behind each answer. Its Agent health page flags stalled agents, and Fix it hands the fix to your own agent, then re-checks the tasks that follow.