Library and configuration

Know what belongs to a project and what is shared across your projects.

3 min readReference

Flux’s reference system has two layers, and the split is what lets a permanent reading library coexist with fully self-contained projects:

The point of the split: your library can grow to thousands of papers without bloating any project, and a project still zips, clones, and compiles standalone — hand the folder to a collaborator and every citation resolves, no FluxLib required.

The citekey is the join key: the same smithNeuralBasis2021 names the paper in FluxLib, in every project that cites it, and in your manuscript.

The citekey is the join key

Every paper has one stable citation key (smithNeuralBasis2021-style — the same format Zotero’s Better BibTeX plugin uses, so keys arriving from a Zotero sync and keys Flux mints itself look alike). That key is how you cite it in any manuscript ([@smithNeuralBasis2021]), the name of its folder in the library, and the handle agents use to fetch, highlight, or discuss it. Keys are permanent join keys — they never change out from under a project.

What’s inside FluxLib

FluxLib lives at <FluxConfig>/FluxLib (by default ~/FluxConfig/FluxLib; flux config prints this machine’s paths). Like projects, it’s plain files with a clear source-vs-derived split:

The Reader stores conversations about a paper in FluxLib/items/<citekey>/conversations.json. They follow that library item across projects. A project Inbox still owns the shared work item and its replies. Reader conversations.

Portability

Because it’s all files, moving machines is copying a folder: ~/FluxConfig carries your library (FluxLib/), your agent context and skills (Context/UserContext/, including Skills/), your global plot library (plot_library/) and your saved design, animation and slide presets (presets/). Back it up like you’d back up your documents — it is documents.

Flux also keeps a few things there that it regenerates or reinstalls itself: the stock agent manual (Context/FluxContext/, rewritten on every update with this machine’s paths), its logs (logs/) and a Quarto it installed for you from the setup window (tools/quarto/). Those need no backup. Settings can move the whole folder; flux config prints where it is now.

Search the docs

Search guides, workspaces, and reference topics.

↑ ↓ to move · Enter to open · Esc to close