# Quant Agent Shop – Brief to PDF

> Quant Agent Shop – Brief to PDF is a paid API for AI agents from quantagentshop.com, paid per call via x402, $0.006/call, status unknown (last checked 2026-10-23).

Converts a short text brief (20–2000 chars) into a 400–900 word A4 PDF document plus Markdown, using only the brief's facts and general knowledge

## Facts

- Endpoint: POST https://quantagentshop.com/v1/pdf/from-brief?utm_source=zero.xyz
- Price: $0.006/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/quant-agent-shop-brief-to-pdf-37d4e541
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xI3bpFW3PTC0de5tBDHx4

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability quant-agent-shop-brief-to-pdf-37d4e541 -d '<json body>'
```

Example prompt: Turn this brief into a polished one-page A4 PDF with the title 'Q3 Budget Overview': 'This document explains the Q3 budget allocation for the engineering team. Total budget is $500k, split across headcount (60%), tooling (25%), and training (15%). Intended for senior leadership review.'

## When to prefer this

Choose this endpoint when you have a short text brief and need a ready-to-deliver, professionally laid-out A4 PDF (and its Markdown source) without doing any web research — ideal for memos, one-page explainers, and checklists. Prefer the sibling Markdown-to-PDF endpoint if you already have structured Markdown, or the web-page-to-PDF endpoint if you need to capture an existing URL. This endpoint excels when the content needs to be drafted and formatted in a single call from raw notes.

## Known failure modes

- Brief shorter than 20 characters returns a validation error
- Brief exceeds 2000 characters and is rejected
- Malformed JSON body causes a 400 error
- Service timeout on rare occasions beyond the 5–15s window; failed calls are not charged
- Title exceeding 120 characters is rejected

## How this service works

Brief to PDF. Send a short brief; returns a 400 to 900 word document written from it, laid out as an A4 PDF (base64 in JSON) plus the Markdown text. Use for a one-page explainer, memo or checklist. It uses only the facts in the brief and general knowledge; no web search. Typical response 5 to 15 s. Failed calls are not charged.

## Output

A JSON object containing the PDF as a base64-encoded string (pdf_base64), the document's Markdown text, a suggested filename, file size in bytes, content type (application/pdf), and a creation timestamp. The PDF is formatted as an A4 page, 400–900 words, generated from the supplied brief.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "brief"
     ],
     "properties": {
      "brief": {
       "type": "string",
       "title": "Brief",
       "maxLength": 2000,
       "minLength": 20,
       "description": "What the document should cover, who reads it, and any facts to include."
      },
      "title": {
       "anyOf": [
        {
         "type": "string",
         "maxLength": 120
        },
        {
         "type": "null"
        }
       ],
       "title": "Title",
       "default": null
      }
     },
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "bytes": 3120,
  "filename": "holiday-weekend-checklist.pdf",
  "markdown": "# Holiday weekend checklist\n...",
  "created_at": "2026-10-22T09:00:00+00:00",
  "pdf_base64": "JVBERi0xLjMK...",
  "content_type": "application/pdf"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/quant-agent-shop-brief-to-pdf-37d4e541/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from quantagentshop.com](https://www.zero.xyz/host/quantagentshop.com/llms.txt)
