agentusecases.aiAll 2,360 use cases
Software & DevOps

Run coding agents like a medical team to fix bugs

Over five months, the author treated bugs like patients and organized coding agents as a hospital-style team to diagnose and fix them. · Oct 9, 2026

Done with a custom-built or unnamed agent

What they did
Cockroach Labs built a GitHub Actions pipeline in which labels on an issue trigger role-specific agents. A Fellow reproduces the bug and posts a treatment plan, and a separate Review Attending approves or rejects it before any code is written. Large issues are split into sub-issues of under 1,000 lines each. A Discharge Nurse audits the review before merge, and humans handle escalations.
How it went
Over five months it merged 1,238 PRs and over a million lines of code with 7 reverts. A Db2 migration feature shipped in under two days. Reviewers sometimes looped on trivial fixes, and agents filed about half of all issues.
Worth knowing
It used about $135,000 in Claude tokens, around $84 per issue. Some issues went 9 to 11 rework rounds before a circuit-breaker was added.

Try it yourself with Claude Code

Treat the bugs in this repo like patients in a hospital. For each bug in [issue list or file], have one agent triage and reproduce it, another diagnose the root cause, and another write a fix with a test, then have a separate reviewer check the fix. Finish with a summary table of each bug, its diagnosis, the fix and test status, and pause for my approval before committing or pushing anything.

Want help getting this working? Join the Vibe Coding Academy ↗ Run by Alex Finn, who also runs this site.

Read the original ↗

Discussion on HN · Oct 9, 2026

Related use cases

  • CL

    Build a C compiler with a team of parallel agents

    Anthropic's engineering write-up on tasking Opus 4.6 agent teams with building a C compiler.

    Claude

  • CC

    Autonomously test an entire iOS app and report bugs

    A tool lets Claude Code drive an iOS app through the accessibility tree, tap every screen, and return a structured bug summary.

    Claude Code

  • CX

    Hand off coding sessions between agent accounts at usage limits

    A developer built an app that tracks usage across multiple Codex and Claude Code accounts and auto-hands-off conversations when one hits its limit.

    CodexClaude Code

  • CX

    Run each coding agent session in a cgroup that is killed on completion

    A developer built an agent spawner that launches each coding agent session in its own cgroup and kills leftover processes when the task completes, plus a job that clears stale tmp files.

    Codex

  • MA

    Generate large amounts of code with Manus

    A user had Manus produce a lot of code quickly for software projects, but lost work a couple of times and had to add extra checkpointing.

    Manus

  • RA

    Build small apps and a weekly hackathon digest with Replit Agent

    The author built a cover letter generator, invoice generator, habit tracker, and a Monday automation that emails Bay Area hackathon summaries, all for under $25.

    Replit Agent

Keep browsing

All 407 use cases from custom-built, lesser-known and unnamed agentsAll 444 Software & DevOps use cases

Get 5 like this every morning

The best things people got an AI agent to do, each with the prompt to try it.

All use casesAgentsTopicsJobsNewRSSAboutContactSponsorPrivacy
Sponsors
VCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor us
VCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor us