Ledge
git-compatible. git-free.
agent-native git server built in rust. real git smart-HTTP on the outside. on the inside: BLAKE3 content addressing, a lock-free adaptive radix tree for refs, sharded Raft on openraft, and TLA+ model checking of the ref store, garbage collection, sharding, and cross-shard commits. for systems that needed git infrastructure that was architecturally different, not just api-wrapped.
measured on ledge's own source repo (~2,500 objects, 1.5 MB pack) · 667 tests green · zero clippy warnings · a stock git client, no plugin
workspace sdk · TypeScript · agent-native
// fork an ephemeral workspace, leased for 120 s
const ws = await client.fork([], 120);
// agent works here, isolated and concurrent
await client.commit(ws.id, [{ workspaceRef, durableRef }]);
await client.release(ws.id);
// or just use git, it all works
$ git clone http://localhost:3000/ws/<id>
1.25M
distinct TLA+ states 5 modules · model-checked
4
SDKs Rust · TS · Python · Go
clone it. push to it. fetch from it.
there is no git on the other side.
built in rust. from the wire protocol down.
what's not ready
source-available (BSL 1.1), not open source; converts to apache-2.0 in 2030. single-host tested; multi-host is experimental.
it's on github. clone it, read the dogfood scripts, reproduce the numbers.
github.com/v-code01/ledge$ git clone https://github.com/v-code01/ledge
questions → vansh@vanshverma.com