The paper draft workflow turns research findings into a structured academic document. It uses theDocumentation 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.
writer subagent to produce well-organized prose from collected notes, with inline citations, LaTeX equations where appropriate, and figures with captions.
Invocation
- CLI
- REPL
Workflow stages
Outline
Before writing, the lead agent outlines the draft structure: proposed title, sections, key claims to make, source material to draw from, and a verification log for critical claims, figures, and calculations. The outline is written to
outputs/.plans/<slug>.md and presented to you for confirmation before proceeding.Write
The
writer subagent produces the draft from the collected notes and outline. The draft includes at minimum:- Title and abstract
- Problem statement
- Related work
- Method or synthesis
- Evidence or experiments
- Limitations
- Conclusion
- Sources appendix with direct URLs for all primary references
pi-charts; architectures and pipelines use Mermaid diagrams. Every figure includes a caption.Cite and verify
The
verifier subagent adds inline citations to the draft and verifies every source URL.Claim sweep
Before delivery, the draft is swept for any claim that sounds stronger than its supporting evidence. Tentative results are labeled as tentative; unsupported numerics are removed rather than left for the verifier to discover.
Outputs
| Artifact | Path |
|---|---|
| Draft outline | outputs/.plans/<slug>.md |
| Final paper draft | papers/<slug>.md |
Paper-style drafts are saved to
papers/ rather than outputs/. This follows the workspace output convention defined in AGENTS.md.Draft structure
The produced draft follows standard academic structure:- Abstract — concise summary of scope and key findings
- Introduction — motivation, context, and contribution statement
- Related work — survey of prior work with inline citations
- Method or synthesis — the core technical content
- Evidence or experiments — results, benchmarks, or analysis
- Limitations — honest assessment of scope and gaps
- Conclusion — summary and future directions
- Sources — complete bibliography with direct URLs
Subagents used
| Subagent | Role |
|---|---|
writer | Produces the structured draft from collected notes and the confirmed outline |
verifier | Adds inline citations and verifies source URLs |
Working from existing research
/draft is a natural follow-up to Deep Research or Literature Review. When you have already gathered source material in a session, the writer draws from those findings directly rather than re-gathering sources.
Related
- Deep Research — gather source material before drafting
- Literature Review — structured academic survey to draw from
- Peer Review — review the draft once written