Skip to main content

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.

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.

Invocation

feynman compare "<topic or sources>"
Examples
feynman compare "GPT-4 vs Claude vs Gemini on reasoning benchmarks"
feynman compare "arxiv:2401.12345 arxiv:2402.67890 arxiv:2403.11111"
/compare "mixture of experts vs dense transformers efficiency tradeoffs"
/compare sparse attention methods 2022-2024
You can provide a topic and let Feynman find the most relevant and contrasting sources, or list specific papers and documents for a targeted comparison.

Workflow stages

1

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.
2

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.
3

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
The matrix covers: source, key claim, evidence type, caveats, and confidence. The alignment step explicitly notes when an apparent disagreement might be explained by methodological differences rather than genuinely conflicting results.Quantitative comparisons are rendered as charts using pi-charts. Method or architecture comparisons use Mermaid diagrams.
4

Cite and verify

The verifier subagent verifies sources and adds inline citations to the final comparison matrix.
5

Deliver

Exactly one comparison artifact is saved to outputs/<slug>-comparison.md. The report ends with a Sources section containing direct URLs for every source used.

Outputs

ArtifactPath
Comparison planoutputs/.plans/<slug>.md
Comparison matrixoutputs/<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

SubagentRole
researcherGathers and independently analyzes each source
verifierVerifies 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
For a broader survey of a field rather than a head-to-head comparison, use Literature Review instead.
  • 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