Open-Source db-branch Tool Launches to Bring Instant ZFS Copy-on-Write Clones to AI Agents and CI
An independent open-source project called db-branch has released its beta, enabling instant copy-on-write database branches for MySQL and PostgreSQL using ZFS technology.
Photo: Hacker News Front Page
Key points
- db-branch offers instant copy-on-write database branching for MySQL and PostgreSQL using ZFS clones.
- The tool is aimed at supporting CI pipelines, data migrations, and isolated sandboxes for AI agents.
- Released as an open-source project under the Apache-2.0 license, alongside planned commercial enterprise modules.
A new open-source project named db-branch has launched in beta, offering developers and autonomous AI agents the ability to spin up isolated database environments in seconds. Built on top of ZFS clones, the tool generates copy-on-write branches for both MySQL and PostgreSQL without duplicating underlying data. This allows users to safely test risky migrations, run continuous integration pipelines, or let AI agents experiment with database queries knowing they can instantly reset or discard the changes.
Currently available under the Apache-2.0 license, the self-hosted software requires a Linux environment running ZFS, though users on macOS and Windows can test the system via an Ubuntu virtual machine using Multipass. The architecture relies on ZFS datasets for base databases and snapshots for clones, allowing each branch to operate its own database server on a distinct port. Optional components like ProxySQL help route client connections appropriately, while Raft clustering coordinates multiple nodes.
While the core software is open source, the project also outlines separate, closed-source commercial modules for enterprise features such as single sign-on authentication, auditing, change history, and differential storage. Because the platform is still in beta, developers should note that APIs and command-line interfaces are subject to modification prior to the official 1.0 release.
What to watch next: Monitor the stability of the beta release and potential adoption rates among developers integrating automated AI testing workflows.
Source Hacker News Front Page — github.com/db-branch/db-branch ↗
Read next
🤖AI ModelsRumours that AI labs can break encryption run ahead of the evidence
A rumour that AI labs have a fast way to factor large numbers has spread, but no break of RSA has been demonstrated.
🤖AI ModelsAI-Assisted Search Points to a Possible Dwarf Planet in the Outer Solar System
A team that used a Claude model in its analysis reports a candidate dwarf planet, roughly 590 km wide, traced through Rubin Observatory data and 2013–2019 archival images…
⚖️Regulation & PolicyICE Expands Surveillance Reach Using Flock Safety Camera Network via Local Police Proxies
US Immigration and Customs Enforcement is increasingly utilizing AI-integrated license plate readers from Flock Safety by routing requests through local police department…
🔌Chips & HardwareNvidia CEO Jensen Huang Set for Congressional Hearings on China Ties and Chip Sales
Nvidia CEO Jensen Huang faces a series of closed-door and public congressional hearings this week regarding chip sales and ties to China.
⚖️Regulation & PolicyRuneScape Developer Jagex Urges Password Resets Following Security Breach
Millions of RuneScape and Old School RuneScape accounts may have been compromised after unauthorized access exposed player emails, hashed passwords, and authenticator tok…
🏢Big TechAnthropic and OpenAI: how the enterprise AI race has shifted
Enterprise spending estimates and recent product decisions show Anthropic and OpenAI moving toward the same business customers.