Modules
academic/search
Unified Search
Query PubMed, Semantic Scholar, arXiv, CrossRef, and OpenAlex with a single, consistent API.
academic/parse
Document Parser
Extract structured content from PDFs, HTML, and LaTeX — sections, figures, tables, equations, and references.
academic/cite
Citation Engine
Generate, validate, and format citations across 9,000+ CSL styles. DOI resolution included.
academic/verify
Claim Verifier
Cross-reference claims against source literature. Flag unsupported statements and retracted papers.
academic/graph
Knowledge Graph
Build and query citation networks, co-authorship graphs, and concept maps from any corpus.
academic/export
Export Pipeline
Output to LaTeX, Markdown, BibTeX, JSON-LD, and structured CSV. Journal-template-aware formatting.
Usage
// Install
$ go get github.com/academic/lib
// Search across databases
results, _ := search.Query(ctx, "attention mechanisms", search.Opts{
Databases: []string{"arxiv", "semantic_scholar"},
Limit: 50,
})
// Parse a PDF
doc, _ := parse.PDF("paper.pdf")
// Generate citation
ref := cite.Format(doc.DOI, cite.APA7)
Design Principles
Agent-First
Every module is designed to be called by AI agents — clean inputs, structured outputs, deterministic behavior.
Composable
Each package is independent. Combine search + parse + cite to build custom workflows without pulling the whole stack.
Reproducible
Deterministic outputs, version-pinned dependencies, and structured logging for auditable research pipelines.
Open Source
MIT licensed. Inspect, fork, contribute. Research infrastructure should be transparent and community-driven.