End-to-end academic paper production with built-in quality gates and multi-agent review.
text
Research → Write → Integrity Check → Review → Revise → Summary
Each stage has defined inputs/outputs and quality gates. The pipeline is non-linear: stages may loop (Review → Revise → Re-Review) until quality threshold met.
Goal: Gather and organize evidence.
Actions:
research/evidence.jsonScript: scripts/research.py
Goal: Generate structured manuscript.
Actions:
draft/manuscript.mdScript: scripts/write.py
Goal: Anti-hallucination verification.
Check types:
Threshold: Must pass 100% of checks to proceed.
Script: scripts/integrity_check.py
APIs used:
https://api.semanticscholar.org)https://api.crossref.org/works/)Agents:
RoleFocusScore WeightEditor-in-ChiefContribution, journal fit30%MethodologyMethods, stats, reproducibility25%Domain ExpertRelated work, theory20%Devil's AdvocateStrongest counter-arguments15%SynthesizerMerge opinions, roadmap10%
Decision mapping:
Script: scripts/review.py
Goal: Address reviewer feedback.
Actions:
Script: scripts/revise.py
Goal: Auditable record.
Output: summary.json containing:
Script: scripts/summary.py
Edit config.yaml for:
qwen3.5-plus)bash
# Full pipeline
python scripts/main.py --topic "your research topic"
# Single stage
python scripts/main.py --stage integrity-check --input draft/manuscript.md
# With custom config
python scripts/main.py --config custom_config.yaml
GateRequirementAction on FailEvidence≥5 Grade A/B sourcesReturn to ResearchIntegrity100% verificationReturn to WriteReview≥65 scoreLoop ReviseFinal Integrity100% verificationBlock submission
references/review_rubric.md - Detailed scoring criteriareferences/evidence_levels.md - Evidence grading standardsreferences/citation_styles.md - Journal formatting guides