How mbsai/citelume works
CiteLume is a literature-review assistant: researchers submit a question, optionally configure a review protocol, retrieve and select studies, then inspect synthesis and evidence products or export them. The graph preserves the README’s major capabilities, including database-count gap maps and citation networks. Several implementation links are documented in the README or SOURCE INDEX rather than shown in excerpts; unsampled internals are represented at their exact source paths, with no inferred call-level detail.
Main entry points: main.py HTTP API · App.jsx Review workspace · synthesis_engine.py Cited synthesis · api.js API client
Components 29
Research interface
- Review workspace
frontend/src/App.jsx - Guided protocol
frontend/src/components/GuidedReview.jsx - API client
frontend/src/utils/api.js
Question and retrieval
- HTTP API
backend/main.py - Review data models
backend/models.py - Query planning
backend/services/query_planning.py - Literature sources
backend/services
Review pipeline
- Study selection
backend/services/paper_selection.py - Corpus store
backend/services/corpus_store.py - Full-text retrieval
backend/services/fulltext.py - Review protocol
backend/services/review_protocol.py
Evidence analysis
- LLM service
backend/services/llm_service.py - Cited synthesis
backend/services/synthesis_engine.py - Claim synthesis
backend/services/claim_synthesis.py - Citation checks
backend/services/verification_gates.py - Evidence table
backend/services/evidence_table_engine.py - Framework appraisal
backend/frameworks/appraisal_routes.py - Knowledge-gap matrix
backend/services/gap_matrix_engine.py - Evidence gap map
backend/services/gap_map.py - Literature network
backend/services/network_engine.py
Results and export
- Review results
frontend/src/components/SynthesisPanel.jsx - Evidence display
frontend/src/components/EvidenceTable.jsx - Gap display
frontend/src/components/KnowledgeGapMatrix.jsx - Gap-map display
frontend/src/components/GapMap.jsx - Network display
frontend/src/components/LiteratureGraph.jsx - Review exports
backend/services/export_service.py
Other components
- Researcher
- Academic databases
- LLM providers
Connections 29
- Researcher → Review workspace: asks question
README.md - Review workspace → Guided protocol: sets protocol
frontend/src/App.jsx - Guided protocol → API client: submits protocol
frontend/src/components/GuidedReview.jsx - Review workspace → API client: requests analysis
frontend/src/App.jsx - API client → HTTP API: calls endpoints
frontend/src/utils/api.js - HTTP API → Query planning: prepares query
backend/main.py - HTTP API → Review protocol: proposes protocol
backend/main.py - Query planning → LLM service: plans with model
- HTTP API → Literature sources: searches sources
backend/main.py - Literature sources → Academic databases: queries databases
README.md - HTTP API → Study selection: selects studies
backend/main.py - HTTP API → Corpus store: stores corpus
backend/main.py - HTTP API → Full-text retrieval: retrieves text
README.md - HTTP API → Cited synthesis: builds review
README.md - Cited synthesis → LLM service: requests generation
backend/services/synthesis_engine.py - LLM service → LLM providers: calls provider
README.md - Cited synthesis → Claim synthesis: builds claims
backend/services/synthesis_engine.py - Cited synthesis → Citation checks: checks citations
backend/services/synthesis_engine.py - Cited synthesis → Evidence table: builds evidence
backend/services/synthesis_engine.py - Evidence table → Framework appraisal: routes appraisal
- HTTP API → Knowledge-gap matrix: derives gaps
- Review workspace → Evidence gap map: requests counts
frontend/src/App.jsx - HTTP API → Literature network: builds network
backend/main.py - Review workspace → Review results: shows synthesis
frontend/src/App.jsx - Review workspace → Evidence display: shows evidence
frontend/src/App.jsx - Review workspace → Gap display: shows gaps
frontend/src/App.jsx - Review workspace → Gap-map display: shows map
frontend/src/App.jsx - Review workspace → Network display: shows network
frontend/src/App.jsx - HTTP API → Review exports: creates exports
README.md