# Repository Briefing: Ar9av/PaperOrchestra
> Source: https://repoforai.com/repo/Ar9av/PaperOrchestra (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/Ar9av/PaperOrchestra
- **Official Docs / Website**: https://arxiv.org/pdf/2604.05018
- **Category**: Agents & Frameworks (智能体与框架)
- **Primary Language**: Python
- **License**: See repository
- **Engineering Health**: A (76/100 · Maintenance 35/35 · Adoption 18/25 · Releases 17/20 · License 6/20)
- **Latest Release**: v0.3.0 (2026-09-21) — https://github.com/Ar9av/PaperOrchestra/releases
- **Review Snapshot**: 2026-12-04
- **Deployment / Stack Signals**: CLI
- **Momentum**: 821 ★ total (+2 24h / +22 7d) · 123 forks
- **Topics**: `agentic-ai`, `ai-research`, `anthropic`, `antigravity`, `arxiv`, `automated-paper-writing`, `claude-code`, `claude-skills`, `coding-agents`, `cursor`, `latex`, `literature-review`
- **When to Use**: Best for: Research teams with experiment records and a venue template that want inspectable intermediate artifacts and a human-reviewed LaTeX draft. Skip if: You need a standalone MCP endpoint, a turnkey collaborative editor, fully offline discovery of new literature, or assurance that an unchecked draft is ready to submit.

## Overview
```text
### Architecture & Core Mechanics
PaperOrchestra is a skill pack loaded by a coding agent, not a documented MCP server. Each `skills/` module exposes a `SKILL.md` instruction file, with `references/` for prompts, schemas, rubrics, and halt rules and `scripts/` for helpers. The orchestrator validates a JSON outline, fans out to plotting and literature review, then combines their outputs for section drafting and refinement. The host supplies model inference, web search, tool execution, and parallel scheduling where supported.

The Python helper stack uses `jsonschema` for outline validation, `python-Levenshtein` for fuzzy citation matching, `matplotlib` for plotting, `reportlab` for fallback PDF generation, and optional `pypdf` for benchmark ingestion. The file-based interfaces make individual stages inspectable and reusable. They also mean that sequencing and tool use depend on the host following the skill instructions rather than on a dedicated workflow server.

### Key Capabilities & Differentiators
The pipeline takes a research idea, experimental log, LaTeX template, and venue guidelines. The outline specifies what to plot, research, and write. Plotting can include a vision-model critique loop; literature review combines search with Semantic Scholar verification, fuzzy title matching above 70, cutoff filtering, and deduplication. It drafts the introduction and related work with a citation-integration target of at least 90%. The remaining sections are designed to be drafted in a single multimodal call, drawing tables from the experimental log and inserting figures.

Refinement simulates peer review and accepts or reverts revisions under explicit stop rules. The optional evidence audit maps claims to log entries, figures, or verified citations and compares numeric claims with the log. Separate benchmark and autorater skills reconstruct inputs from existing papers and evaluate citation F1, literature review quality, and pairwise paper quality. The underlying paper's benchmark margins are not a guarantee that a different host or model will reproduce them.

### Trade-offs & Limitations
Compared with a single-agent drafting prompt, this design exposes useful inspection points: the validated outline, citation checks, rendered figures, and revision decisions. Those controls cost additional orchestration. Plotting and literature review are each budgeted at roughly 20–30 LLM calls, so wall time and spend depend on the host, model, search quotas, and whether the two stages actually run in parallel. Compared with a managed writing product, local skills expose more of the drafting process but leave integration, credential handling, and collaboration to the team.

Citation matching and deterministic gates catch certain discrepancies; they cannot establish that a cited paper supports a claim or that an experiment is sound. Human verification remains necessary. The optional aggregator sends selected logs to host-mediated extraction, so restrict scan roots and check data policy before exposing unpublished material. The root contains a `LICENSE` file, but the applicable terms are unspecified here; verify them before commercial use or redistribution.

### Hardware & Deployment Guide
Clone the repository, install `requirements.txt` in a Python environment, and link or register the desired skills with your coding agent. `skills/paper-orchestra/scripts/init_workspace.py --out workspace/` scaffolds a workspace; supply the idea, log, template, and conference guidelines. The full workflow needs a host that can run tools and access search, with LaTeX tooling for venue-template compilation. There is no bundled model runtime or fixed VRAM requirement. Local helpers can run offline, but fresh literature discovery and verification generally need network access.

The core flow does not require a PaperOrchestra API key when the host provides native search, but optional integrations change that profile. The Semantic Scholar helper supports a key for higher throughput, Exa needs `EXA_API_KEY`, and PaperBanana needs `PAPERBANANA_PATH` plus a Gemini or OpenRouter credential. v0.2.0 added `setup.sh` and optional agent-log aggregation; v0.3.0 added four deterministic gates, section-level rhetorical guidance, and 72 standard-library-only regression tests without increasing the workflow's LLM call counts.
```

## Key Capabilities
```text
- Host integration: `SKILL.md` and reference files define the workflow; the coding agent supplies inference, search, and tool execution.
- Execution graph: Plotting and literature review can run in parallel after outline validation, before section drafting and refinement.
- Citation checks: Semantic Scholar lookup, a fuzzy-title threshold above 70, cutoff filtering, deduplication, and a 90% citation-integration target.
- Evidence audit: An optional post-draft stage maps claims to logs, figures, or citations and checks numbers against the experimental record.
- Research intake: The optional aggregator turns selected agent logs into `idea.md` and `experimental_log.md`, flagging unverified figures.
- Release engineering: v0.3.0 adds four deterministic gates, section-level rhetorical guidance, and 72 standard-library-only regression tests.
```

## Quick Start / Clone
```bash
git clone <this repo> ~/paper-orchestra
cd ~/paper-orchestra
pip install -r requirements.txt   # deterministic helpers only
```
