dolt: a MySQL-compatible SQL database with Git-like version control for tables
dolt: a MySQL-compatible SQL database with Git-like version control for tables
What it solves
Dolt is a SQL database that integrates Git-like version control directly into the data layer. It solves the problem of managing changes to structured data, allowing users to fork, clone, branch, merge, and push/pull tables just as they would with source code in a Git repository.
How it works
Dolt functions as a MySQL-compatible database. Users can interact with it using standard SQL queries to modify schema and data, or use a dedicated command-line interface (CLI) that mirrors Git commands (e.g., dolt commit, dolt merge, dolt branch). Version control operations are also exposed within SQL via system tables and stored procedures (e.g., dolt_add and dolt_commit).
Who it’s for
It is designed for developers and data engineers who need versioning for their databases, as well as those building AI agents that require robust memory management across multi-agent and multi-machine workflows.
Highlights
- Git-for-Data: Supports branching, merging, and cloning of entire database tables.
- MySQL Compatibility: Works with any MySQL-compatible client and supports foreign keys, secondary indexes, and triggers.
- Dual Interface: Manage data via standard SQL or a Git-like CLI.
- Agent Memory: Specifically noted as an effective database for agent memory in complex AI workflows.
Sources
- undefineddolthub/dolt