Have an agent grow property tests and hunt bugs
A testing agent helped engineers build fuzz tests that uncovered bugs they had not already seen.
- What they did
- The team began by writing down a property they wanted the system to satisfy, then let a coding agent generate random test inputs around it. After each run, the agent used the failures and coverage results to adjust its generators and keep iterating. In the SQLite example, it first focused on creating valid database files, and later the engineers pointed it toward other properties and features. The agent also grouped duplicate reports during review.
- How it went
- Over 26 open source systems, the project turned up 535 previously unknown bugs. Maintainers accepted 373 and patched 313 of them. For SQLite, 37 test rounds pushed coverage from 35.9% to 74.1% and uncovered 26 bugs.
- Tips
- The researchers still checked each report themselves before filing it. They also say Ephyra is experimental, and they have not yet evaluated its cost or reliability.
Try it yourself with Claude Code
Inspect [module or file path] in my codebase and create property-based tests for it using [Hypothesis / fast-check / your preferred library]. Target invariants like round trips, idempotence, and edge cases, then run the tests and keep refining the generators from the failures and coverage data. For every failing case, give me the smallest input that reproduces it and say whether it seems to reveal a real bug or just a bad assumption. Before you delete files, submit anything, send data anywhere, or make other irreversible changes, stop and ask for my approval. Finish with a concise list of confirmed issues and anything still uncertain.
Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.
Get 3 agent uses like this every morning
With the day's top AI news. Free, and one click to unsubscribe.
Related agent uses
Check traces for hidden agent errors
Laminar’s flow-1 reviews agent traces end to end so quiet mistakes can be caught without sampling.
Assemble a R coding agent from three basic tools
They wired a Claude agent in R to file and shell helpers, then hardened it with safer path checks and editing functions.
Build your own daily-use apps with an agent
A developer used coding agents to make personalized replacements for core tools, then waited a week before deciding whether each change should stick.
Turn a codebase into a plain-language project site
Ask an agent to browse a project and publish a website that explains its structure for humans.
Convert a spoken brief into a working task tree
A developer fed a spoken project brief into LLM agents, which turned it into a spec, plan, scaffold, module tickets, and PRs.
Use an agent to edit and package your NixOS setup
They let an agent make NixOS config tweaks, package GitHub-only software, and build a locked-down systemd container sandbox.