Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Zed 6 min read Opinion easyNovice

Xanadu Was Waiting for Agents

Ted Nelson's Project Xanadu specified permanent versioning, span-level attribution and transclusion decades before its dependencies existed. Zed argues those pieces now exist: Lamport timestamps, Merkle-tree naming via Git, CRDTs, cheap storage, microVMs, Tree-sitter and GPUI. AI agents are the reader who will actually follow every link and version. DeltaDB stores files as fragments with stable identities, so anchors to code spans survive edits and stay linked to the conversations and operations that produced them. To avoid Xanadu's refusal to interoperate, every Delta thread is also a Git branch and can mirror to GitHub.

Assumes: Git basicsCRDTs

Related posts

  • How CRDTs make multiplayer text editing part of Zed's DNA

    Zed mediumAdept

    Zed builds collaborative editing into its core using CRDTs rather than Operational Transformation, making concurrent edits commutative by addressing text through stable logical anchors (insertion id plus offset) instead of absolute offsets. Each insertion gets a unique id from a centrally assigned replica id and a sequence number. Deletions are tombstones tagged with version vectors so concurrent insertions inside a deleted range stay visible, and concurrent inserts at the same spot are ordered by descending Lamport timestamp with replica id as tiebreaker to respect causality. Per-user undo/redo is also covered, and a copy-on-write B-tree avoids linear scans when resolving anchors.

  • Building Versioning for AI-Generated Apps

    Neon easyNovice

    Dyad, an open-source local AI app builder, pairs each Git commit with a Neon database timestamp so that undoing a version rolls back both code and data together. A separate Neon preview branch lets users view older versions without touching the main development branch. The current timestamp-based restore discards later database history, so the team plans to move to Neon snapshots for bi-directional versioning and to Neon Auth to simplify its Payload CMS-based setup.

  • This Week at Zed Industries: #14

    Zed easyNovice

    Zed's weekly update covers a reworked search UI with semantic search, the start of WebAssembly extensions for custom language servers, and near-complete collaboration channels. The most technical section describes CRDB repository sync without vector timestamps. Client and server find a shared prefix of a Lamport-ordered operation log by comparing Bromberg associative-hash digests over ranges, computed in O(log n) via a B-tree, trading extra round trips against sending redundant operations. Channels are modeled as a DAG whose permissions cascade downward, and GPUI layout is expressed with chained Rust builder calls instead of a macro DSL.

  • This Week at Zed Industries: #12

    Zed mediumAdept

    Zed publicly launched its preview channel and reports progress across the editor: Vim search commands, macOS ctrl-click remapped to right click in the platform layer, terminal Cmd+hover navigation, a semantic index that collapses nested tree-sitter symbols to cut embedding tokens, and a lock-contention bug where slow git status in huge repos serializes file scanning. The most substantive section covers CRDB, Zed's planned collaboration backbone. It uses serde-bare instead of Protocol Buffers so message types live entirely in Rust, routes messages by TypeId, and syncs replicas with vector clocks as a distributed set union. Operations are applied by reconstructing revisions from a DAG of operations with cached snapshots and copy-on-write B-trees.

  • Scaling Git at OpenAI

    OpenAI hardMaster

    Pando is OpenAI's new Git backend for its monorepo, built to handle the concurrent pushes and fetches generated by Codex-driven parallel development while staying fully compatible with the Git protocol and client. Each branch is coordinated independently: incoming packs are stored as immutable blobs and ref versions are recorded in a horizontally scalable metadata store. This gives per-ref serializability but only causal consistency across the repository. Packfiles are reused across fetches rather than generated per client, trading some redundant bytes for far less server CPU and I/O. Compared with three-phase-commit replicas and a shared-manifest WAL in blob storage, Pando avoids a single write ordering point, and in production it cut median push latency nearly 5x while serving close to a petabyte of Git data per day.

The quest for software engineering knowledge.

Look:
Layout: