Lix – universal version control system for binary files
Recorded: Jan. 22, 2026, 11:03 a.m.
| Original | Summarized |
Introducing Lix: A universal version control system | Lix BloglixDocsPluginsBlogGitHub112BlogIntroducing Lix: A universal version control systemSamuel Stroschein4 min readCopy URLJanuary 20, 2026Introducing Lix: A universal version control system Reviewable diffs: What exactly did the agent change? But agents modify binary files too. And Git can't diff them. Introducing Lix Reviewable diffs: See exactly what an agent changed in any file format. Excel file example After: Git sees: Lix sees: - pending JSON file example After: Git sees: Lix sees: How does Lix work? Lix doesn't reinvent databases — durability, ACID, and corruption recovery are handled by battle-tested SQL databases. ┌─────────────────────────────────────────────────┐ Read more about Lix architecture → Getting started JavaScript · npm install @lix-js/sdk import { openLix } from "@lix-js/sdk"; const lix = await openLix({ await lix.db.insertInto("file").values({ path: "/hello.txt", data: ... }).execute(); const diff = selectWorkingDiff({ lix }) What's next Fast writes (RFC 001) ┌────────────────┐ Join the community ⭐ Star the lix repo on GitHub |
Lix: A Universal Version Control System – Addressing Limitations of Git The document introduces Lix, a new, universal version control system designed to overcome the limitations of existing systems like Git, particularly when dealing with non-text file formats. Lix fundamentally shifts the approach to version control by focusing on semantic understanding rather than line-based comparisons, offering a more granular and intuitive review process for AI-driven changes. The core issue highlighted is Git’s inability to effectively handle binary files. Git’s “binary files differ” message provides minimal information, making it difficult for human reviewers to understand the actual changes made by an AI agent. Lix addresses this by recognizing file structure and the meaningful differences within these files – for example, a change in cell B4 from “pending” to “shipped” in an Excel file, or a change in JSON keys and values, rather than simply identifying that the file has been modified at the byte level. Key Features and Functionality: * **Semantic Versioning:** Lix utilizes a system that analyzes file structures and semantic relationships, understanding the meaning behind changes within files, regardless of the file type. How Lix Works: At its core, Lix implements a version control system that operates on top of SQL databases. This abstraction provides two key virtual tables: `file` and `file_history`, which can be queried using standard SQL. This approach ensures data durability, ACID properties, and corruption recovery, all managed by established SQL database systems. The SDK provides Rust, Javascript, Python, Go for querying the lix database. The next version of lix will be a refactor to be purely “preprocessor” based. Development Context: Lix was developed concurrently with inlang, an open-source localization infrastructure. The need for a new version control system arose from the challenges encountered by inlang, specifically, that Git was ill-suited for their application. The resulting product, Lix, boasts over 90,000 weekly downloads on NPM. The next version of Lix will be a refactor to be purely “preprocessor” based. Looking Ahead: Future development includes a refactoring to a “preprocessor” model, which promises to offer: * Fast Writes (RFC 001): Enhanced performance for write operations. In conclusion, Lix represents a significant advancement in version control systems, particularly for AI-driven applications that require granular, human-understandable feedback on file changes. Its SQL-based architecture, combined with its semantic understanding, provides a robust and flexible solution for managing evolving data, leveraging proven database technologies. |