How to Let an AI Agent Generate Real PDFs (with an MCP server) (opens in new tab)
AI agents are great at producing text. But the moment you need an actual document — an invoice, a report, a certificate — they fall apart. You get markdown you have to format yourself, or (with Code Interpreter) a rough PDF from a Python lib with generic fonts and tables that never quite look right. There's no clean way to hand an agent the job of "produce a polished PDF." So I gave my agents one tool that does exactly that, over MCP (Model Context Protocol). The agent describes the document,...
Read the original article