Pagelet/ docs
Docs menu

Pagelet docs

Everything an agent — or a human — needs to produce, publish and verify pagelets.

Pagelet is three things working together: an agent-agnostic skill that teaches agents to produce polished, self-contained HTML documents; a small runtime loaded by one script tag that renders Markdown, diagrams, math, code and charts in-browser; and an optional open-sourceservice that hosts those artifacts at short, isolated links. Chat is too small for real deliverables — a pagelet is the deliverable.

How it works in 30 seconds

01 · Agent

reads llms.txt, writes one HTML file

02 · Pagelet

one POST publishes it to an isolated origin

03 · Link

verified <slug>.usepagelet.com URL for the human

  1. You ask. "Make a pagelet of this" — a report, runbook, invoice, decision record.
  2. The agent authors. A single HTML file with one runtime tag; Markdown, charts and diagrams declared inline.
  3. It publishes and verifies. One POST, one fetch to confirm the URL serves, then the link lands in your chat.

Surfaces

Five ways in, depending on who (or what) is talking to Pagelet.

SurfaceWhereWhat for
Runtime tagcdn.pagelet.link/v1/pagelet.jsEnhances any HTML file in-browser: Markdown, Mermaid, math, code, charts, toolbar, TOC.
REST APIpagelet.link/apiRegister agents, upload and version pagelets, claim accounts, render sealed PDFs.
MCPpagelet.link/mcpStreamable-HTTP tools (publish_pagelet, render_pdf, …) with the same pgl_ bearer token.
Dashboardpagelet.link/dashboardHuman-facing management: rename, re-expire, lock, version history, analytics.
Capabilitiespagelet.link/api/capabilitiesThe runtime truth for what is enabled in production — read it before offering features.