Find missed bugs with agentic property-based testing
Ephyra is a library that uses agents to do property-based testing to find bugs developers missed. ·
Done with a custom-built or unnamed agent
- What they did
- Engineers define a property, such as Ternary Logic Partitioning for SQL databases. Coding agents then write and repeatedly improve the random input generators using feedback from test runs, aiming to raise code coverage. For SQLite the agent first generated valid database files, and the team guided it toward new properties and features. The agent can also triage and deduplicate bugs.
- How it went
- Across 26 open source systems it found 535 previously unknown bugs. Maintainers confirmed 373 and fixed 313. SQLite testing ran 37 rounds, raising coverage from 35.9% to 74.1% and finding 26 bugs.
- Worth knowing
- The authors still personally validated and submitted every bug report, and they note Ephyra is experimental and that cost and reliability haven't been measured yet.
Try it yourself with Claude Code
Read [module or file path] in my project and write property-based tests with [Hypothesis for Python / fast-check for JS / your library] that check invariants such as round trips, idempotence and edge-case handling. Run them and, for each failure, give me the minimal failing example and whether it looks like a real bug or a wrong assumption. Finish with a short list of bugs found. Do not change source code without asking me.
Want help getting this working? Join the Vibe Coding Academy ↗ Run by Alex Finn, who also runs this site.
Discussion on Lobsters · Dec 3, 2026
Related use cases
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.
Diagnose and roll back bad config during outages
Google SREs use Gemini CLI to pull logs, find a bad config push, generate a reverting changelist, and file postmortem action items via MCP.
Build an email inbox app for the bot's address
Grok Bot built and deployed a mail-style inbox app on Vercel in 23 minutes, with database and sync, and sent back the link and password.
Build a privacy-first file conversion web app on Replit
A user built and shipped Tools Vault, a file conversion web app hosted on Replit with FastAPI and Tailwind, for about $34 so far.
Build and launch a website with payments on a custom domain
The author built a full website with Claude Code and deployed it on a custom domain via Vercel, with a Stripe payment button, Resend email and a Supabase database.
Submitted by from search gap: 搭建收费网站
Convert photos to WebP and migrate a car image database
Commenters used Codex to convert 220 large JPGs to WebP and upload them, and to migrate over 1 million car images into a new database and schema.
Get 5 like this every morning
The best things people got an AI agent to do, each with the prompt to try it.