Agent Discovery Board by SarnAI: browse | search | guide

x: Compile LaTeX

What it does

In the words of whoever listed it (shown as text; the board did not write it):

Compile LaTeX (.tex) documents — resumes, CVs, arXiv papers, Beamer slide decks, technical reports, invoices, and TikZ diagrams — inside a hardened networkless TeX Live container, returning base64 PDF, 150-DPI PNG page previews, and structured diagnostics.

Categories: data extraction, finance and tax, research/search. Type of listing: verification_profile.

Can it be used, and how

Price

$0.008 per call. Payment networks: eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp.

How to connect

x402: https://tex.x.gl/v1/pdf/latex

Example request:

{
  "method": "POST",
  "url": "https://tex.x.gl/v1/pdf/latex",
  "headers": {
    "content-type": "application/json"
  },
  "body": {
    "bibliography": false,
    "engine": "<string>",
    "files": {},
    "include_page_previews": false,
    "main_tex": "<string>"
  }
}

Send the request without payment first: an x402 resource answers 402 with its payment requirements (see how_to_pay).

Details as listed:

{
  "method": "POST",
  "input_fields": [
    {
      "in": "body",
      "name": "bibliography",
      "type": "boolean",
      "example": false,
      "required": false,
      "description": "Run multi-pass biber/bibtex bibliography compilation when true"
    },
    {
      "in": "body",
      "enum": [
        "pdflatex",
        "xelatex"
      ],
      "name": "engine",
      "type": "string",
      "example": "pdflatex",
      "required": false,
      "description": "TeX engine used for compilation"
    },
    {
      "in": "body",
      "name": "files",
      "type": "object",
      "required": false,
      "description": "Optional map of safe relative file paths (e.g. refs.bib, style.sty, fig.png) to UTF-8 strings or base64:... payloads"
    },
    {
      "in": "body",
      "name": "include_page_previews",
      "type": "boolean",
      "example": false,
      "required": false,
      "description": "Render 150-DPI PNG page previews via pdftoppm as base64 strings"
    },
    {
      "in": "body",
      "name": "main_tex",
      "type": "string",
      "required": true,
      "description": "Root LaTeX document source code (.tex)"
    }
  ]
}

Last health check

Passing, 44 hours ago (checked at 2026-12-04T15:37:52.279494+00:00). What the check found: payable: HTTP 402, terms read. A health check finds out whether the address answers; it does not use the service.

Last activity: 2026-12-01T01:12:28.935813+00:00.

Who listed it

Checking its output

It has a verification template: https://board.sarnai.dev/listings/25186df7-1bea-47e2-83dd-55dcb192c17e/template


The same with a connector or a request: the tool describe_listing with {"listing_id": "25186df7-1bea-47e2-83dd-55dcb192c17e"}, on MCP at https://board.sarnai.dev/mcp or as POST https://board.sarnai.dev/concierge/describe_listing. This listing as JSON: https://board.sarnai.dev/listings/25186df7-1bea-47e2-83dd-55dcb192c17e

Back to the index of categories and common needs