Skip to content
Agents tracked: 444 Releases (7d): 644 Agent status: 4 with issuesSince last limit reset: Claude 31d · Codex 3d Updated Oct 23, 2026

Satori by Vercel

agent.md for AI agents

Library that converts HTML/JSX and CSS to SVG (lays out with flexbox); commonly used to generate Open Graph and social card images, PNG via Sharp or Resvg.

Favicons and social preview images Open source

Is Satori free for commercial use? Yes →

Price
Free
Open source.
Commercial use
Yes
MPL-2.0
Credit the author
—
Agent access
Package (npm/PyPI)

Satori popularity

Gid Score
56 /100
same scale as developer tools
GitHub stars
14.1K
392 forks · vercel/satori
Downloads
2.8M
npm, last 7 days, satori · +27.0% in 4 weeks
Used in agent projects
17
satori in our scan
Satori: downloads per weeknpm, satori 2,842,555
Satori: GitHub starsvercel/satori 14,124

Downloads from api.npmjs.org, stars and forks from GitHub, checked Oct 22, 2026. How the Gid Score is calculated.

Rules for your agent

- Satori (Favicons and social preview images). Library that converts HTML/JSX and CSS to SVG (lays out with flexbox); commonly used to generate Open Graph and social card images, PNG via Sharp or Resvg. Price: free; commercial use OK.
  Connect: npm satori.
  Get files: npm i satori; call satori(element, {width, height, fonts}) to get an SVG string; convert to PNG with Sharp or Resvg (svg, png).
  Not allowed: Flexbox and a subset of CSS only
  Not allowed: You must supply font data
  Rule: MPL-2.0: modifications to Satori's own files must be shared under MPL; your own code can stay under your terms.
  Rule: Fonts must be passed as ArrayBuffer/Buffer; text will not render without a font.
  License: https://raw.githubusercontent.com/vercel/satori/main/LICENSE (checked 2026-10-21; details: https://agentgid.com/assets/satori/)

Paste it into your prompt or AGENTS.md. It is built from the license and API terms below.

License

LicenseMPL-2.0
Commercial useCommercial use OK
“You may create and distribute a Larger Work under terms of Your choice” raw.githubusercontent.com/vercel/satori/main/LICENSE
Credit—
Inside your app or gameCan ship inside your app
Same clause as quoted for commercial use.
AI trainingNot stated
Bots and bulk downloadsNot stated
Rules
  • MPL-2.0: modifications to Satori's own files must be shared under MPL; your own code can stay under your terms.
  • Fonts must be passed as ArrayBuffer/Buffer; text will not render without a font.

Connect it to an agent

How an agent gets filesnpm i satori; call satori(element, {width, height, fonts}) to get an SVG string; convert to PNG with Sharp or Resvg. · no sign-in
File formatssvg, png
Not allowed
  • Flexbox and a subset of CSS only
  • You must supply font data
MCP serverNone found
APINo public API: download by hand
npmnpm install satori
In AI-agent projectssatori is in 17 of 4,828 JavaScript projects (0.4%) in our scan of repos set up for AI coding agents.
GitHubvercel/satori

Use it in your stack

Node.js Fonts are required. README shows no install command (npm install satori). PNG: import sharp from 'sharp'; const png = await sharp(Buffer.from(svg)).png().toBuffer(). For Next.js the README points to Vercel OG docs: https://vercel.com/docs/og-image-generation/examples
import satori from 'satori'

const svg = await satori(
  <div style={{ color: 'black' }}>hello, world</div>,
  {
    width: 600,
    height: 400,
    fonts: [
      {
        name: 'Roboto',
        // Use `fs` (Node.js only) or `fetch` to read the font as Buffer/ArrayBuffer and provide `data` here.
        data: robotoArrayBuffer,
        weight: 400,
        style: 'normal',
      },
    ],
  },
)

From the official docs: github.com/vercel/satori

Pricing

FreeOpen source.
Paid from—
Usage price—
Good to knownpm latest 0.63.2 (registry).

Sources

Read on Oct 21, 2026: github.com/vercel/satori, raw.githubusercontent.com/vercel/satori/main/LICENSE, registry.npmjs.org/satori.

Not confirmed: Release dates not read (npm time block truncated); repo shows 533 commits and 14.1k stars.

Not legal advice. Check the license page before you ship.

Pick for your agentSourcePriceLicense Agent access
Takumi
Rust layout engine that renders JSX, HTML and CSS to images (PNG, JPEG, WebP, ICO, SVG, animated), mainly for OG images, and to PDF, without a headless browser.
Free Commercial OK npm
takumi-js
RealFaviconGenerator
Free web tool that turns one image into a favicon package (SVG, ICO, PNG, Apple touch and Android icons) plus the HTML markup; also has a checker, Node/CLI packages and plugins.
Free Commercial OK No credit API
@realfavicongenerator/generate-favicon
favicon.io
Free favicon generator: from an image, text, emoji or SVG it builds an icon package (favicon.ico, PNGs, Apple touch icon, Android icons, site.webmanifest).
Free Commercial: unclear Download