dsh-paper2md: Using MinerU to Convert Paper PDFs to Markdown, Then Feeding Them to AI Agents

dsh-paper2md wraps MinerU as a DSH agent tool, supporting local PDFs, HTTP links, and arXiv. The workflow converts papers to Markdown via paper_to_md first, then reads the resulting Markdown. A settings page is provided for managing the API key, sha256-based local caching, and asynchronous status retrieval via paper_task_status. To install, add the package from GitHub via pnpm in the web profile and write it to bundles, then configure the MinerU token and restart. It is well suited for stable paper-reading workflows within Harness, but users should be mindful of process permissions and MinerU's page quota limits.

Read More