The source comparison workflow analyzes multiple papers, articles, or documents side by side and produces a structured matrix showing where they agree, where they disagree, and where they differ in methodology. It is designed to surface genuine disagreements versus apparent contradictions that are explained by methodological differences.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/getcompanion-ai/feynman/llms.txt
Use this file to discover all available pages before exploring further.
Invocation
- CLI
- REPL
Workflow stages
Plan
Before starting, the lead agent outlines the comparison plan: which sources to compare, which dimensions to evaluate, and the expected output structure. The plan is written to
outputs/.plans/<slug>.md and presented to you for confirmation before proceeding.Gather source material
When the comparison set is broad, the
researcher subagent gathers source material. If you provide a topic, researchers find the most relevant and contrasting papers. If you provide specific IDs or files, those are used directly.Each source is analyzed independently: claims, results, methodology, and limitations are extracted from each document.Build comparison matrix
Claims are aligned across sources, identifying:
- Agreement — where two or more sources make the same claim with supporting evidence
- Disagreement — where sources report contradictory results
- Uncertainty — where sources measure different things or use incompatible evaluation protocols
pi-charts. Method or architecture comparisons use Mermaid diagrams.Cite and verify
The
verifier subagent verifies sources and adds inline citations to the final comparison matrix.Outputs
| Artifact | Path |
|---|---|
| Comparison plan | outputs/.plans/<slug>.md |
| Comparison matrix | outputs/<slug>-comparison.md |
Comparison report structure
- Source summaries — one-paragraph summary of each source’s key contributions
- Agreement matrix — claims supported by multiple sources with citation evidence
- Disagreement matrix — conflicting claims with analysis of why sources diverge
- Methodology differences — how the sources differ in approach, data, and evaluation
- Synthesis — an overall assessment of which claims are well-supported and which remain contested
Subagents used
| Subagent | Role |
|---|---|
researcher | Gathers and independently analyzes each source |
verifier | Verifies sources and adds inline citations to the matrix |
When to use /compare
Use /compare when:
- You encounter contradictory results in the literature and need to understand whether they reflect genuine disagreement or methodological differences
- Evaluating competing approaches to the same problem
- Writing a related work section that needs to accurately characterize the state of debate
- Deciding which paper’s results to trust when building on prior work
Related
- Literature Review — map the full research landscape on a topic
- Paper Audit — verify a single paper’s claims against its codebase
- Deep Research — deep investigation before comparing specific claims