Enable agent to export markdown as PDFs

Resolved 💬 2 comments Opened Feb 25, 2026 by edie-01 Closed Feb 25, 2026

Context

During SBR triage, we identified a RED session (368000af) where a user from thecreativestrategyagency.com asked the agent to write 5 Meta ad briefs from attached brand assets. The agent attempted to read brand PDFs but hit a Claude API 400 error (Could not process PDF) and the session died with no recovery.

More broadly, users in creative/marketing workflows often need to produce deliverables as PDFs — ad briefs, shot lists, scripts, reports — but the agent currently has no way to export markdown content as PDF files.

Problem

  1. The agent cannot generate PDF output from its own markdown/text content
  2. When the agent produces briefs, scripts, or reports, users must manually convert them to PDF for sharing with clients/teams
  3. This is a gap in the deliverable format options — the agent can render video, export .prproj, but cannot produce document deliverables

Proposed Solution

Add a tool or utility that converts markdown content to PDF. Options:

  • pandoc — widely used, supports markdown → PDF via LaTeX or wkhtmltopdf
  • wkhtmltopdf — HTML/CSS → PDF, good for styled output
  • weasyprint — Python-based, CSS-friendly
  • Headless Chromechrome --headless --print-to-pdf

The tool should:

  • Accept markdown content or a markdown file path
  • Output a styled PDF to the workspace renders/ or a specified path
  • Support basic formatting (headers, tables, lists, bold/italic)
  • Optionally accept a template/style for branded output

Use Cases

  • Ad briefs and creative strategy documents
  • Shot lists and production schedules
  • Script breakdowns and lined scripts
  • Session reports and analysis summaries
  • Any text deliverable the user needs to share externally

Source

SBR batch triage 2026-feb-24. Related sessions:

  • 368000af (RED) — thecreativestrategyagency.com, PDF processing crash highlighted the document workflow gap
  • adf997d0 (YELLOW) — sherpa.today, produced extensive script analysis that would benefit from PDF export

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗