explainx.ai350K+ learn from us
TrendingAI News TodayExplainx for Business
Pricing
explainx.ai

Upskill in AI — 16 free pathways, live workshops & bootcamps, and 50+ courses from practitioners. Plus the skills, tools, and MCP servers to practice on.

follow us

follow on google

Add explainx.ai as a preferred source

corporate training

support@explainx.ai

get started

Find your pathTake Free Evaluation

community

Join the community

learn

mind: share how you thinkpathways — start freeworkshopsbootcampscoursescompare Explainxcertificationsmock testsexplainx universitycorporate traininglearn skills & mcp

discover

skillsmcp serversexplainx mcpestacktoolsmdx readeragentsllmsdesignsdictionarypeopleagi trackerfelony benchranks

company

aboutvisionmissionteaminstructorsteach on explainxpartnershipscommunityhackathonscareers

content

daily AI newsstate of AI — live resultsblogreleasespromptsgeneratorsresource libraryfor LLMsexplainx.ai kids

solutions

all solutionsdeveloper upskillingmarketing upskillingproduct manager upskillingleadership upskilling

newsletter · weekly

Get AI news, tools, and insights in your inbox.

supportcontactprivacytermsdata rightshow we create contentsubmission guidelines

© 2026 AISOLO Technologies Pvt Ltd

explainx.ai

On this page

  • TL;DR
  • Property-based testing recap
  • How Ephyra runs agents on generators
  • Starter prompt Datadog recommends
  • Highlighted bugs and why they matter
  • Coverage hill-climbing animation
  • Comparison with Anthropic logic-bug agents
  • Datadog integration and CLI
  • Roadmap Datadog names
  • Systems in the 26-project sweep
  • PostgreSQL parser exhaustion detail
  • OCaml and soundness expectations
  • LiteLLM streaming invariant
  • Datadog observability angle
  • POPL workshop expectations
  • Risks and responsible use
  • What to do this week
  • Related explainx.ai coverage
  • DuckDB LIMIT bug as API contract test
  • QED float rounding lesson
  • Maintainer notification ethics
  • When not to run Ephyra unattended
  • Closing the loop with CI agents
  • Bottom line
← Back to blog

explainx / blog

Datadog Ephyra: Agentic Property-Based Testing Finds 535 Open Source Bugs

Datadog, Open Source, Testing, AI Agents, Developer Tools

Part of AI Tools and Apps

Datadog Labs open-sourced Ephyra for agent-written property-based tests. The team reports 535 unique bugs across 26 systems including SQLite, PostgreSQL, and OCaml.

Dec 3, 2026·8 min read·Yash Thakker
add explainx.ai
go deep
Datadog Ephyra: Agentic Property-Based Testing Finds 535 Open Source Bugs

Datadog Labs open-sourced Ephyra, a library where coding agents write and refine property-based test generators while a classic property test loop executes and shrinks failures. In a November 24, 2026 engineering post, Datadog says experiments across 26 well-tested open source systems surfaced 535 unique previously unknown bugs, with 373 maintainer confirmations and 313 fixes already landed.

The work matters because AI-generated code volume is outpacing human-authored fuzz harnesses. Ephyra keeps properties human-defined and pushes generator maintenance onto agents.

Catch up on AI

One AI story explained in plain English, plus one thing to try. Every day, free. Unsubscribe anytime.

350K+ Students Already Joined

TL;DR

table · 2 cols
PieceWhat Datadog reports
Repogithub.com/datadog-labs/ephyra
LoopHuman properties, agent-optimized generators, shrinker minimizes failures
Scale26 systems, 535 unique bugs, 313 fixed
Showcase SQL propertyTLP on SQLite, PostgreSQL, DuckDB, DataFusion, Turso
PaperFuture of Property-Based Testing workshop, POPL 27 (January)
Product statusExperimental, not supported Datadog SKU

Property-based testing recap

Properties are rules code must satisfy for all inputs, such as sorting preserves multiset or SQL three-valued logic partitions agree with monolithic queries. A generator proposes random inputs; on failure a shrinker simplifies the counterexample.

Classic QuickCheck-style workflows bottleneck on crafting generators that reach deep code paths. Datadog's claim is that agents hill-climb generators using execution feedback, similar to coverage-guided fuzzing but with LLM-authored structure.

How Ephyra runs agents on generators

Ephyra agentic property testing workflow diagramEphyra agentic property testing workflow diagram Image: Datadog

Datadog describes a loop where engineers specify properties, agents draft generators, Ephyra runs tests, failures feed back, and agents mutate generators across rounds. On SQLite, Datadog says 37 rounds grew instrumented counter coverage from 35.9% to 74.1%, expanding from 79 to 261 SQL features and finding 26 bugs in that thread alone.

The post argues engineers can remain out of the loop, letting agents pick coverage targets, triage, and deduplicate, though Datadog researchers still validated upstream reports in their experiments.

Starter prompt Datadog recommends

Datadog prints a copy-paste agent prompt:

snippet
Let's test <my library> with ephyra (https://github.com/datadog-labs/ephyra).
Read its README and STARTUP.md first, then autonomously start writing and
optimizing Ephyra tests until we find any bugs; validate, triage, and notify me.

That is the fastest builder takeaway: fork the repo, swap your library name, and bound token and compute budgets before unattended runs.

Highlighted bugs and why they matter

Chart of bug ages Ephyra found across 26 open source systemsChart of bug ages Ephyra found across 26 open source systems Image: Datadog

Datadog's examples emphasize age and severity, not vanity counts:

SQLite TLP inconsistency. A query using sum(b ORDER BY a) returned 1 while partitioned queries totaled 2, per Datadog's SQL walkthrough. That style of semantic drift is easy for unit tests to miss if nobody writes three-valued logic partitions.

OCaml Match_failure. A 24-year non-exhaustive match could crash safe OCaml instead of raising Match_failure, showing property tests can beat decades of manual review when generators finally reach the branch.

PostgreSQL nested BETWEEN. A 670-byte query could demand ~100 GB memory to parse because rewriting nested BETWEEN doubled work each level; Datadog cites 21 years of presence and timeout behavior that blocks cancellation at depth 26.

Lean 4 float patterns. Matching 5 versus 5.0 diverged incorrectly; maintainers fixed within a day of report, illustrating young compilers still benefit.

LiteLLM streaming. Identical server payloads with stream=True skipped a tool call, a regression class agent harnesses catch well when properties assert tool invariants.

Datadog publishes the full appendix list in the repo and paper; this post does not duplicate hundreds of IDs.

Coverage hill-climbing animation

The blog's SQLite coverage story is the conceptual core: as agents add SQL features to generators, they uncover interaction bugs, not only isolated feature bugs. That mirrors how combinatorial explosion breaks manual fuzz plans.

For database startups, the lesson is to budget agent time on generator evolution, not one-shot prompt fuzz.

Comparison with Anthropic logic-bug agents

Our Anthropic logic-bug research post shows plain Claude Code review beating LLM-guided fuzzing on historical logic flaws. Ephyra is not contradictory: it keeps explicit properties and uses agents on generators, while Anthropic tested ad hoc review without TLP-style oracles.

Teams can run both: Ephyra properties for invariants you can name, agentic review for implicit intent bugs.

Datadog integration and CLI

Ephyra ships a CLI for running tests and inspecting results plus a Datadog integration for teams already on that observability stack. Because it is experimental, treat telemetry hooks as research aids, not production gates, until your legal and support teams sign off.

Roadmap Datadog names

The post lists three research directions: clean-room evaluations of agentic testing reliability and cost, packaging Ephyra Agent as a more standalone autonomous tool, and optimizing Ephyra itself inside the classical property loop.

Readers watching POPL 27 should expect methodology detail beyond blog anecdotes.

Systems in the 26-project sweep

Datadog names categories beyond SQL engines:

  • Databases and query layers such as DataFusion, FoundationDB, DuckDB, and Turso
  • Language runtimes including OCaml and Lean
  • Developer infrastructure and AI tooling such as LiteLLM
  • Formally oriented tools like QED SQL prover

The appendix in the repository is the authoritative list. This post highlights representative bugs with age tags to show both stale and fresh codebases benefit.

PostgreSQL parser exhaustion detail

The nested BETWEEN rewrite bug is a lesson in macro expansion: optimizers may duplicate subtrees exponentially even when SQL text looks small. Agent-authored generators can discover depth thresholds humans avoid writing by hand because shrinkers reduce 670 bytes to a minimal failing stack.

If you maintain a SQL dialect, add depth limits in parsers and property tests that nest language features aggressively.

OCaml and soundness expectations

Safe OCaml should raise Match_failure, not crash. A 24-year miss shows soundness bugs hide behind rare pattern combinations. Pair Ephyra with manual review before claiming formal safety.

LiteLLM streaming invariant

The stream=True tool-call skip is a regression class every OpenAI-compatible proxy should property-test: identical server payloads with different stream flags must yield identical tool decisions.

Datadog observability angle

Because Ephyra integrates with Datadog, teams already exporting test flakes and CI spikes can correlate agent loops with cost dashboards. Set budget alerts before unattended generator optimization.

POPL workshop expectations

The Future of Property-Based Testing workshop at POPL 27 should publish reproducibility criteria. Until then, treat 535 as Datadog-reported, invite independent replication, and file issues on GitHub when you disagree with triage.

Risks and responsible use

  1. False positives still need human triage before upstream firestorms.
  2. Autonomous loops can burn tokens and CI minutes without caps.
  3. Maintainer fatigue if every agent run files duplicate issues.
  4. Security properties on crypto code need coordination with disclosure norms discussed in NSA CISA PQC guidance.

What to do this week

  1. Clone datadog-labs/ephyra and run the STARTUP.md flow on a non-production fork of your service.
  2. Write one property you already trust (sorting, parsing round-trip, API idempotency).
  3. Compare agent generator iterations against your existing fuzz budget.
  4. Read Datadog contact alp.keles@datadoghq.com guidance if you collaborate on research.
  5. Pair testing work with green CI for agent warnings so agents do not silence failures.

Developers adopting agentic CI can link AI builder workshops for team norms on autonomous test bots.

Related explainx.ai coverage

  • Property Finder biased eval labels
  • FrontierCS Berkeley agent benchmark
  • NL2Repo agent library benchmark
  • Skill Distill session to open-weight skill
  • Microsoft Freehand agent harness essay

DuckDB LIMIT bug as API contract test

The DuckDB example where LIMIT 1 returned three rows is exactly the sort of semantic bug integration tests miss when they assert happy paths only. Properties can state row count invariants across version upgrades, catching regressions between 1.5.6 and 2.0.0 named in Datadog's post.

QED float rounding lesson

QED treating decimal constants as 32-bit floats shows prover tools need TLP-style splitting too: if your equivalence engine rounds unlike the database, you prove false equivalences. Agents can author split queries faster than humans when schemas grow wide.

Maintainer notification ethics

Datadog notes researchers personally validated reports before upstream submission. If you automate PR spam, you burn maintainer trust. Cap issues per day and dedupe with Ephyra CLI exports.

When not to run Ephyra unattended

Skip full autonomy on production databases, customer tenants, or crypto modules under embargo. Use fixtures and forked repos first.

Closing the loop with CI agents

Teams already running green CI checks for agent-swallowed errors can treat Ephyra rounds like nightly fuzz: pin generator versions in git, attach shrunk artifacts to tickets, and require human sign-off before upstream disclosure. The pattern matches how Anthropic logic-bug hunts fed maintainer patches, but with machine-generated input spaces instead of ad hoc review prompts alone. Schedule weekly human review of shrunk artifacts even when agents find zero bugs, so you still exercise the generator on refactors and dependency upgrades. Track tokens per confirmed bug so finance can compare Ephyra to manual QA spend.

Bottom line

Ephyra is a practical pattern: keep human properties, let agents own generator evolution, and measure bugs found per round. Datadog's 535-bug headline is only as strong as your replication on your codebase, but the SQLite TLP and OCaml examples show why property-based testing plus agents deserves a slot beside agentic code review.

Spotted something out of date? Let us know.
Daily briefFrom Yash · 350K+ students taught

Catch up on AI

One AI story explained in plain English, plus one thing to try. Every day, free. Unsubscribe anytime.

  • ✓ Free
  • ✓ One email a day, no spam
  • ✓ Unsubscribe anytime
Yash Thakker

Written by

Yash Thakker

Yash is an AI expert with over 300K learners. Join his workshops →

View Yash Thakker in People in AI →

Share

Datadog
Workshops

Learn by building

Live, hands-on workshops on Claude, agents, and AI tooling — taught by practitioners, not slides.

Explore workshops →

Related posts

Dec 3, 2026

Scarlet: Open-Source AI Video Editor That Runs on Your Claude Code or Codex Plan

Scarlet, from Forward Future, is an MIT-licensed desktop video editor where AI agents edit the cut list and you review. It has about 1.1k GitHub stars. Here is how it works, what stays on your machine, how to run it, and where to be careful.

Nov 30, 2026

AG-UI 1.0: The Open Protocol That Connects Any AI Agent to Any App

AG-UI, the Agent-User Interaction Protocol from CopilotKit, reached a frozen 1.0 spec and is trending on GitHub with about 1,000 new stars this week. It defines 31 typed events so any agent framework can stream to any front end. Here is what it does, how it sits next to MCP and A2A, and where it still falls short.

Nov 30, 2026

Clipy: Open-Source AI-Native Screen Recorder With Claude Code /watch Plugins

Clipy is an Apache-2.0 screen recorder built for humans and AI agents. The clipy-recorder/clipy repo gained more than 1,500 stars in its first week. Install Chrome, npx @clipy/cli, or Claude Code plugins to hand agents transcripts, clicks, and frames via the AREC format.