# PDF Generator Agent

A terminal-based agent that creates real PDF documents using the PDF Generator MCP server hosted on the Dedalus Marketplace.

## Quick Start

```bash
cp .env.example .env  # Add your DEDALUS_API_KEY
uv sync
uv run python src/main.py
```

## Features

- Generate professional PDF documents from natural language requests
- Three document styles: default, modern, minimal
- Supports proposals, invoices, meeting notes, reports, and more
- Documents uploaded to temporary file hosting for easy download

## Example Prompts

1. "Create a consulting proposal for a website redesign at $5,000"
2. "Generate a meeting summary with action items for a product launch"
3. "Make an invoice for 10 hours of development at $150/hour"

## Architecture

```
┌─────────────────────────────────┐
│   PDF Generator Agent           │
│   (Dedalus SDK)                 │
│                                 │
│   mcp_servers=[                 │
│     "tsion/pdf-generator-mcp"   │
│   ]                             │
└─────────────────────────────────┘
              │
              ▼
┌─────────────────────────────────┐
│   PDF Generator MCP             │
│   (Dedalus Marketplace)         │
│                                 │
│   Tools: render_pdf, render_docx│
└─────────────────────────────────┘
              │
              ▼
        PDF Download URL
```

## License

MIT
