Skip to Main Content

Every team trusts its test suite, but passing tests and high coverage only prove that code ran, not that the tests would catch a bug. Most teams have no idea how many real mistakes their tests would miss until one reaches production. BugBait answers that question with two AI agents powered by Meta’s Muse Spark. The Saboteur studies your code and existing tests, then plants small, realistic bugs: an off-by-one, a flipped condition, a wrong operator, a dropped check. It rates each bug’s realism and filters out artificial ones. Every bug runs against your full test suite in a throwaway sandbox, so your files are never touched. Any bug that gets through is a real gap. The Fixer then writes a test for each gap. BugBait never trusts the AI blindly: a test is kept only if it passes on your original code and fails on the buggy version. If not, the Fixer gets the test output and retries. The result is a before/after score, a ranking of the weakest spots in your code, and verified tests ready to merge. On my own Java Spring Boot e-commerce service, my tests caught only 4 of 8 planted bugs, including a string comparison bug that would let sellers cancel orders they shouldn’t. In 105 seconds, BugBait raised that to 8 of 8 with four verified tests. On inflection, an open-source library with 455 tests, the existing tests caught just 1 of 8; BugBait closed every gap. BugBait works on any GitHub repo or local folder in 10 languages: Python, JavaScript, TypeScript, Go, Java, Rust, Ruby, PHP, C# and Kotlin. It includes a live web dashboard, a command line, one-click pull requests (it forks first, so nobody gets surprise PRs), a GitHub Action that scores every PR, and a pre-commit hook. Either agent can switch to an open-weight model. Coverage tells you what code ran. BugBait tells you what your tests would actually catch.

Team

Avinash2907

More from Meta Global AI Developer Hackathon

Cardo turns the world around you into Kurdish flashcards. Kurdish is spoken by tens of millions of people, but it has very few learning tools, and most…

Kurdolingo project preview

oqed is an LLM-guided superoptimizer for x86-64. You point it at a C or C++ project and it does the rest: - builds the project and runs its workload…

oqed project preview

Playtest Agent plays a game from screenshots, looks for bugs, then replays each report and has a judge check it. I make games alone. Solo developers and…

Adrian project preview

Open-source npm malware detection on Meta's models: a live monitor that flags new malware about a day before the public lists, a Muse agent that investigates…

Gatekeeper project preview

Video2URDF turns one short phone video of a real articulated object (a laptop lid, a drawer, a desk lamp, a microwave door) into a measured URDF/MJCF a robot…

Video2URDF project preview

Glimmer Scope opens up Muse Glimmer 30B so you can see and steer the concepts it thinks with. I trained sparse autoencoders on nine layers of Glimmer's…

Kroonen AI project preview