Agent question
Are my AI agents doing the same work twice?
Short answer: Often, once you run several sessions at once. Two sessions pick up the same kind of task in the same repo without knowing about each other, and you pay for both and merge one. Before an agent starts, have it check whether another session is already on that work, and keep one shared list of what is in flight.
Common causes
- Several sessions run in one repo with no shared list of work in progress.
- A retry starts as a new session instead of resuming the old one.
- The same issue gets handed to two agents, or two teammates ask their own agents.
- Scheduled agents and people both pick up the same kind of task.
How to check
List the agent tasks started in each repo over the last week, grouped by day and kind of task. Same repo, same kind, same day is worth a look. So is a pull request closed without merging next to a merged one that does the same thing.
What to change
- Keep one in-flight list, such as an issue label, that every agent checks before it starts.
- Assign each issue to one agent at a time.
- Resume a stopped session rather than starting a fresh one on the same work.
- Add a standing rule: before starting, check whether another session is already on this in this repo.
Where Overdrive helps
Overdrive counts the sessions running in each repo, and the brief your agent gets at the start of each task says when other tasks are running right now. Its Agent health page flags possible duplicate work, and Fix it gives your own agent the check-first rule.