Startups·14 Nov 2026·via Dev Community

    What is Lonca? Version control for AI coding agents (Lonca series, part 0)

    Lonca, an open-source version control system written in Rust, has launched version 0.2.3, designed to manage AI coding agents within Git repositories. It operates by having a daemon as the sole writer to the repository, processing proposals from AI agents and logging all operations, while humans maintain direct signing authority for their changes.

    Lonca augments existing Git workflows by introducing a structured layer for AI agent collaboration. Instead of directly committing, AI agents propose changes. A central "Lonca daemon" on the developer's machine acts as the exclusive writer to the Git repository, deciding on each request, signing it, and appending it to an immutable operation log within the repository.

    This system addresses challenges in using Git with AI agents, particularly concerning permissions, concurrency, and accountability. Lonca assigns narrow, expiring capabilities to agents, preventing them from exercising the full rights of a human user. It also uses symbol leases and a structural merge queue, allowing multiple agents to work on different parts of the same file concurrently. Changes are validated via tree-sitter and tested in a sandbox before merging.

    To maintain human oversight, Lonca requires humans to sign their own operations with physical security keys, such as FIDO or Mac's Secure Enclave, which require explicit authentication like Touch ID. This prevents agents from approving changes on a human's behalf. Crucially, the system's core decision-making components, the daemon and auditor, contain no AI, network access, or randomness, ensuring that integrity-dependent functions are transparent and auditable. AI is limited to an optional advisory role during human review, making no core decisions.

    The current version 0.2.3 primarily supports individual developers managing multiple agents on a single machine, with full support for Claude Code and symbol-level work across 13 languages. The system is not presented as necessary for developers using a single agent occasionally, where standard Git and code review may suffice. Lonca's limitations include the absence of a built-in team server, incomplete integration with all AI harnesses, and unconstrained resource limits for build processes.

    Share this article

    Original reporting by Dev CommunityWe don't republish, read the full story →

    Related reading

    6 stories