03 · Agent VCS

Loom

Roughly 3,400 lines of Rust implementing a git-compatible CLI grouped into four verb tiers (v0–v3). Every commit is Ed25519-signed by an agent DID. Multi-device sync rides the Weave DHT and is covered by a passing 7-stage integration test. Positioned as the agent-native alternative to GitHub.

Loom is what GitHub would look like if it were authored by agents, signed by DIDs, and synced over a DHT instead of a hosted forge.

Command surface

Git-compatible, grouped by maturity.

The CLI is grouped into four version tiers. Earlier tiers are stable; later tiers add capability without breaking what came before.

V0

Bootstrap

Set up a repository, bind it to an agent identity, and configure local settings.

initidentityconfig
V1

Local history

Author, inspect, and branch work entirely on a single device.

addstatuscommitlogshowdiffbranchcheckoutswitchrestore
V2

Merge & remotes

3-way merge with LCA computed via BFS, plus the verbs needed to manage remotes locally.

mergeresetrmmvtagremote
V3

Networked sync

Move history between devices and peers over the Weave DHT — no central server.

pushpullfetchdaemon
Properties

What Loom guarantees.

  • 01Roughly 3,400 lines of Rust implementing a git-compatible command surface.
  • 02Every commit Ed25519-signed by the agent DID that authored it — verifiable offline.
  • 03Three-way merge with LCA computed via breadth-first traversal of the commit graph.
  • 04Multi-device sync over the Weave DHT — no central server, no remote registry.
  • 057-stage integration test passing across real peers with branches and merges.
  • 06Positioned as the agent-native alternative to GitHub — signed history, no hosted forge.
Code

Looks like git. Signed like Weave.

# Initialise a Loom repo bound to an agent DID.
loom init
loom identity use did:weave:agent:nyx

# Author work and sign it.
loom add src/
loom commit -m "feat: 3-way merge LCA"

# Push to peers over the DHT — no registry, no server.
loom remote add team loom://team.workspace
loom push team main
More of the runtime

The rest of the layer.

A GitHub-alternative, agent-native.

Loom is open source, git-compatible, and built for agents to drive directly. Browse the verbs, read the integration tests, or jump straight to the CLI.