Skip to main content

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.eprint connects Layers data (corpora, annotation layers, model outputs) to specific Chive eprints by identifier or AT-URI, and pub.layers.eprint.dataLink records reproducibility metadata (code URI, commit hash, random seed) for the data an eprint produced. (Chive-specific eprint linking previously in pub.layers.chive#eprintDataLink has been absorbed into the general-purpose pub.layers.eprint namespace.) The eprint record now carries a structured citation (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. The eprintIdentifier/eprintIdentifierType pair remains the canonical link key.
  • pub.layers.graph.graphEdge connects individual Layers objects (annotations, expressions) to Chive knowledge graph nodes via edges with types like grounding, instance-of, or denotes.

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

TypeRole
pub.layers.eprint.eprintLinks corpus/annotation data to eprints (including Chive eprints) by AT-URI, DOI, arXiv ID, or other identifiers
pub.layers.graph.graphEdgeLinks 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".