Chive
Overview
Chive (chive.pub) is a decentralized eprint service built on ATProto. It hosts scholarly publications as ATProto records, with full metadata (authors, abstract, venue, DOI).
Integration Pattern
Layers provides two integration points for Chive:
pub.layers.eprint.eprintconnects Layers data (corpora, annotation layers, model outputs) to specific Chive eprints by identifier or AT-URI, andpub.layers.eprint.dataLinkrecords reproducibility metadata (code URI, commit hash, random seed) for the data an eprint produced. (Chive-specific eprint linking previously inpub.layers.chive#eprintDataLinkhas been absorbed into the general-purposepub.layers.eprintnamespace.) The eprint record now carries a structuredcitation(pub.layers.eprint.defs#citation) alongside the identifier, holding rendered bibliographic metadata (authors, title, venue, year) as a raw string and/or structured CSL-JSON/DataCite fields. See CSL-JSON, BibTeX, and DataCite for the field mappings. TheeprintIdentifier/eprintIdentifierTypepair remains the canonical link key.pub.layers.graph.graphEdgeconnects individual Layers objects (annotations, expressions) to Chive knowledge graph nodes via edges with types likegrounding,instance-of, ordenotes.
Expressions can also reference eprints directly via eprintRefs, an array of AT-URIs:
{
"$type": "pub.layers.expression.expression",
"text": "...",
"eprintRefs": ["at://did:plc:author/pub.chive.eprint/abc123"]
}
The pub.layers.eprint namespace handles both Chive-specific and general-purpose eprint linking for identifiers such as DOI, arXiv, ACL Anthology, Semantic Scholar, and PubMed.
Layers Types Involved
| Type | Role |
|---|---|
pub.layers.eprint.eprint | Links corpus/annotation data to eprints (including Chive eprints) by AT-URI, DOI, arXiv ID, or other identifiers |
pub.layers.graph.graphEdge | Links a Layers object to a Chive knowledge graph node (via target.knowledgeRef with source="chive.pub") |
pub.layers.expression.expression (field eprintRefs) | Direct AT-URI references from an expression to one or more eprints |
Discovery
The appview indexes expression.eprintRefs and graphEdge target references. Queries like "find all annotation data linked to this paper" resolve by looking up the eprint's AT-URI across all indexed Layers records. Knowledge graph links to Chive nodes are discoverable by indexing graphEdge targets with knowledgeRef.source="chive.pub".