A new GitHub project proposes a diff-based, line-level provenance system to track text changes made by AI agents [1].

This development addresses the growing difficulty of auditing content when autonomous AI agents edit documents alongside humans. Without granular tracking, it becomes nearly impossible to determine which specific lines were generated by an algorithm and which were written by a person.

The project, hosted in the "us-vs-them" repository, focuses on maintaining a clear record of provenance [1]. By utilizing a diff-based approach, the system can isolate modifications at the line level. This allows users to see exactly how a text evolved during agentic editing processes.

The need for such systems aligns with broader industry discussions regarding the trust layer of autonomous intelligence. Earlier this year, a Forbes report on June 10, 2026, highlighted data provenance as the trust layer for agentic AI [2]. This follows a previous discussion in November 2025 regarding the foundations required for autonomous intelligence [3].

While the project has gained some initial visibility on Hacker News, where the post received five points [1], it represents a technical attempt to solve the "black box" problem of AI editing. The system aims to ensure that human editors can verify AI contributions without manually comparing multiple versions of a document.

By implementing line-level tracking, the tool seeks to create a transparent audit trail. This prevents the erasure of human intent, and provides a mechanism for reverting specific AI-generated errors without losing overall progress.

A diff-based, line-level provenance system to track text changes made by AI agents.

As AI agents move from simple chat interfaces to autonomous editors with write-access to documents, the risk of 'silent' hallucinations or unauthorized changes increases. Line-level provenance transforms AI editing from a destructive overwrite process into a transparent, version-controlled collaboration, which is essential for legal and professional accountability in AI-assisted workflows.