Git4Data: Database-Native Version Control for AI Agents

Hongshen Gou, Zuyu Zhang, Yuze Sun, Peng Xu, Feng Tian +2 more
9/2/2026
cs.DBcs.AI

No confident code implementation found for this paper. 4 possible matches can be shown below.

Abstract

Large Language Model (LLM) agents increasingly explore many candidate states of relational data in parallel, each of which should remain isolated, reproducible, and auditable, preferably through the same SQL interface used for ordinary data work. Existing tools support this requirement only partially: source-code version control does not scale to large datasets, whereas relational databases manage large data efficiently but rarely expose native branching, comparison, and merging.

Show full abstract

We present Git4Data, a database-native version-control layer for agentic workflows. Git4Data treats a database as a repository and a table as a versioned object, exposing Git-style operations (snapshot/tag, branch, diff, and merge with explicit conflict-resolution policies) through SQL extensions. Implemented in MatrixOne, a cloud-native relational database, Git4Data leverages immutable object storage and MVCC to make the cost of these operations proportional to the size of the change rather than the size of the data. On the BranchBench agentic branching workloads, Git4Data outperforms DoltDB by up to an order of magnitude. Overall, we believe this work sheds light on how relational databases can better support AI agents through efficient versioning.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 4 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{gou2026gitdata,
  title  = {Git4Data: Database-Native Version Control for AI Agents},
  author = {Hongshen Gou and Zuyu Zhang and Yuze Sun and Peng Xu and Feng Tian and Long Wang and Jianguo Wang},
  year   = {2026},
  eprint = {2609.02106},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2609.02106v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2609.02106.svg)](https://codeofpaper.com/paper/2609.02106)

Discussion