Skip to main content
A graph is a folder of Markdown files, one per thing you read: a paper, post, video or repository. A row is a plain file, so you can read it, edit it and open the folder in Obsidian. The highlighted row is on the frontier: nothing cites it yet, so it is where the work is moving. An edge is derived from the rows when the graph is read, never stored: cites (set by lilac graph link), related (set by hand or by an agent) and entity (two rows that name the same entity).

Rows and lists

A list is the folder a row sits in. Moving a row between lists is moving a file.
.lilac/graphs/reading/items/attention-is-all-you-need.md
Each part has one owner, so a person and an agent can edit the same row safely. suggested_tags never count as tags until you confirm them with lilac graph tag confirm.

How graphs are stored

The platform database is the single source of truth. A project’s .lilac/graphs/<name>/ is a clone of it, and three commands keep the two in step.
  1. Run lilac graph clone <name> once per project to create the clone.
  2. Edit the clone with lilac graph commands, or let an agent edit the rows.
  3. Run lilac graph pull to bring it up to date.
  4. Run lilac graph push to send your changes. It pulls first.
  5. Read .cache/conflicts/ when a pull reports a conflict. The database won; your text is kept there.
A row changed on both sides keeps the database version. A row changed on one side only is copied across. Rows are never deleted on the server; archiving moves a row to archive/. Next, put a graph to work in give an agent your reading.