Code for this essay

cosm / topocosm

Flips traditional file based Git on its head for multi-agent engineering: the Abstract Syntax Tree (AST) graph is the primary source of truth, symbol-level leases prevent concurrent agent merge collisions, and files are materialized downstream for build tool compatibility.

Sample output from a local run
$ cosm universe inspect --symbol 'Router.Dispatch' --blast-radius --depth 2
UNIVERSE: davenportjw/cosm-core (rev: 9f41c8a2)
LOCK STATUS: AVAILABLE (0 active agent leases)
SYMBOL: Router.Dispatch (kind: Method, lang: Go)
DIRECT CALLERS (depth=1): [Gateway.HandleRequest, ShardWorker.SyncTick]
TRANSITIVE IMPACT (depth=2): 4 symbols across 2 modules · Token savings vs full-file read: 78.4%

Get new posts by email

I send new essays by email through Substack. Subscribe there and they'll land in your inbox.

Subscribe on Substack ↗