json-render
AGENTS.md18k starsChanged 2 months agoApache-2.0View on GitHub
Instructions for AI coding agents working with this codebase. Always check the latest version before installing a package. Before adding or updating any dependency, verify the current latest version on npm: Or check multiple packages at once: This ensures we don't install outdated versions that may have incompatible types or missing features. When using the Vercel AI SDK (ai package) with AI Gateway, pass the model as a plain string identifier -- do not import a provider constructor: This requires…
- Reads credentials
Trending
More talk lately.about the whole repository
Who's talking about vercel-labs/json-render
- @sungkim.bsky.social“AI Chat in TUI or Generative TUI? Vercel's json-render: The Generative UI framework. Generate dynamic, …”Bluesky · Mar 24, 2026 · 9 likes
- devframes/devframe“Proposal: terminal UI (TUI) target that renders json-render views”GitHub · Sep 30, 2026 · 2 reactions
- mangeshraut712/Vitals.AI“chore(deps): bump the npm-dependencies group with 31 updates”GitHub · Jul 27, 2026 · 2 reactions
- @github-trending-js.bsky.social“🔥 Hot Repo! 🔥 (100+ new stars) 📦 vercel-labs / json-render ⭐ 15,422 (+127) 🗒 TypeScript The Generative …”Bluesky · Jun 17, 2026 · 2 likes
- mangeshraut712/Vitals.AI“chore(deps): bump the npm-dependencies group across 1 directory with 31 updates”GitHub · May 18, 2026 · 2 reactions
The biggest 5 of 69 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 69
Talked about on GitHub, Bluesky and Hacker News (69 times).
On GitHub · 50
- Sep 30, 2026Proposal: terminal UI (TUI) target that renders json-render views — devframes/devframe2 reactions · 2 comments
- Jul 27, 2026chore(deps): bump the npm-dependencies group with 31 updates — mangeshraut712/Vitals.AI2 reactions · 3 comments
- May 18, 2026chore(deps): bump the npm-dependencies group across 1 directory with 31 updates — mangeshraut712/Vitals.AI2 reactions · 4 comments
- May 11, 2026chore(deps): bump the npm-dependencies group across 1 directory with 30 updates — mangeshraut712/Vitals.AI2 reactions · 2 comments
- May 4, 2026chore(deps): bump the npm-dependencies group across 1 directory with 30 updates — mangeshraut712/Vitals.AI2 reactions · 3 comments
45 more on GitHub
- Apr 20, 2026chore(deps): bump the npm-dependencies group across 1 directory with 29 updates — mangeshraut712/Vitals.AI2 reactions · 3 comments
- Apr 6, 2026chore(deps): bump the npm-dependencies group across 1 directory with 28 updates — mangeshraut712/Vitals.AI2 reactions · 3 comments
- Oct 11, 2026[TEMPO-B06-02] Pin json-render and define the Tempo block catalog — Levidavidspublic/tempo-rhythm1 reaction · 4 comments
- Oct 11, 2026[TEMPO-B06-P02] json-render and shared UI dependency preparation — Levidavidspublic/tempo-rhythm1 reaction · 2 comments
- Oct 9, 2026chore(deps): bump the bun-minor-patch group with 67 updates — miurla/morphic1 reaction · 3 comments
- Jul 28, 2026[Bug]: Skills with same name overwrite each other — vercel-labs/skills1 reaction · 1 comment
- Jul 13, 2026A2UI 生态日报 2026-07-13 — linqinghao/big_model_radar1 reaction
- May 7, 2026chore: bump the production-dependencies group across 1 directory with 15 updates — mengxi-ream/read-frog1 reaction · 1 comment
- Apr 3, 2026chore: bump the production-dependencies group across 1 directory with 12 updates — mengxi-ream/read-frog1 reaction · 2 comments
- Mar 23, 2026chore: bump the production-dependencies group with 5 updates — mengxi-ream/read-frog1 reaction · 1 comment
- Mar 20, 2026Add generative-UI example leveraging json-render — alpic-ai/skybridge1 reaction
- Feb 26, 2026Json renderer — nuxt/ui1 reaction · 2 comments
- Nov 2, 2026chore(deps): bump @json-render/core from 0.21.1 to 0.21.3 — jacobhausler/hermes-rich-ui0 reactions · 2 comments
- Nov 2, 2026chore(deps): bump @json-render/react from 0.21.1 to 0.21.3 — jacobhausler/hermes-rich-ui0 reactions · 1 comment
- Nov 2, 2026🎨 Generative UI Ecosystem Digest 2026-11-02 — linqinghao/agents-radar0 reactions
- Nov 2, 2026🎨 生成式 UI 生态日报 2026-11-02 — linqinghao/agents-radar0 reactions
- Nov 1, 2026chore(deps): bump the bun group in /apps/desktop with 9 updates — tasker-systems/temper-contrib0 reactions · 1 comment
- Nov 1, 2026🎨 生成式 UI 生态日报 2026-11-01 — linqinghao/agents-radar0 reactions
- Nov 1, 2026🎨 Generative UI Ecosystem Digest 2026-11-01 — linqinghao/agents-radar0 reactions
- Nov 1, 2026build(deps-dev): bump the dev-dependencies group with 4 updates — sidorares/react-x11-components0 reactions
- Oct 31, 2026chore: bump the production-dependencies group across 1 directory with 40 updates — ajthejet3-sketch/leisurelearning0 reactions
- Oct 31, 2026🎨 Generative UI Ecosystem Digest 2026-10-31 — linqinghao/agents-radar0 reactions
- Oct 30, 2026🎨 Generative UI Ecosystem Digest 2026-10-30 — linqinghao/agents-radar0 reactions
- Oct 29, 2026chore(deps): bump @json-render/shadcn from 0.21.1 to 0.21.3 — owieth/dynamic-charts-by-prompt0 reactions
- Oct 29, 2026chore(deps): bump the npm-minor group with 3 updates — Avijit-Kumar-GIT/fella0 reactions
- Oct 29, 2026🎨 Generative UI Ecosystem Digest 2026-10-29 — linqinghao/agents-radar0 reactions
- Oct 28, 2026🎨 Generative UI Ecosystem Digest 2026-10-28 — linqinghao/agents-radar0 reactions
- Oct 28, 2026🎨 生成式 UI 生态日报 2026-10-28 — linqinghao/agents-radar0 reactions
- Oct 28, 2026build(deps): bump @json-render/react from 0.21.2 to 0.21.3 — SatohaCC/medi-chat0 reactions · 1 comment
- Oct 28, 2026build(deps): bump @json-render/core from 0.21.2 to 0.21.3 — SatohaCC/medi-chat0 reactions · 1 comment
- Oct 27, 2026chore: bump the production-dependencies group across 1 directory with 39 updates — B416-JAFLY/leafling-local0 reactions
- Oct 27, 2026build(deps): Bump the npm-minor-and-patch group with 2 updates — MysterionRise/code-guesser0 reactions
- Oct 27, 2026🎨 Generative UI Ecosystem Digest 2026-10-27 — linqinghao/agents-radar0 reactions
- Oct 27, 2026build(deps): bump @json-render/core from 0.21.1 to 0.21.2 — SatohaCC/medi-chat0 reactions · 1 comment
- Oct 27, 2026build(deps): bump @json-render/react from 0.21.1 to 0.21.2 — SatohaCC/medi-chat0 reactions · 1 comment
- Oct 26, 2026🎨 Generative UI Ecosystem Digest 2026-10-26 — linqinghao/agents-radar0 reactions
- Oct 25, 2026🎨 Generative UI Ecosystem Digest 2026-10-25 — linqinghao/agents-radar0 reactions
- Oct 23, 2026chore: bump the production-dependencies group across 1 directory with 44 updates — SYZBZ/translation-kitten0 reactions
- Oct 22, 2026chore(deps): bump @json-render/shadcn from 0.21.0 to 0.21.1 — owieth/dynamic-charts-by-prompt0 reactions
- Oct 19, 2026chore(deps): bump @json-render/core from 0.21.0 to 0.21.1 — jacobhausler/hermes-rich-ui0 reactions · 3 comments
- Oct 19, 2026[TEMPO-KA-45] Tempo blocks in pages and in coach cards are drawn by one json-render renderer, after a short written comparison with OpenUI — Levidavidspublic/tempo-rhythm0 reactions
- Oct 19, 2026build(deps): bump the root-deps group across 1 directory with 70 updates — vaddisrinivas/utopia0 reactions
- Oct 18, 2026🎨 Generative UI Ecosystem Digest 2026-10-18 — linqinghao/agents-radar0 reactions
- Oct 17, 2026deps(canvas): bump @json-render/react from 0.21.0 to 0.21.1 in /extensions/canvas — miloszkolber/oc_build0 reactions
- Oct 17, 2026deps(canvas): bump @json-render/core from 0.21.0 to 0.21.1 in /extensions/canvas — miloszkolber/oc_build0 reactions
On Bluesky · 17
- Mar 24, 2026AI Chat in TUI or Generative TUI? Vercel's json-render: The Generative UI framework. Generate dynamic, personalized UIs from prompts… — @sungkim.bsky.social9 likes and reposts
- Jun 17, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 vercel-labs / json-render ⭐ 15,422 (+127) 🗒 TypeScript The Generative UI framework — @github-trending-js.bsky.social2 likes and reposts
- May 13, 2026そういえばAgentに吐かせるべきはMarkdownかHTMLか論争、json-renderみたいに出すコンポーネントが絞られてたら多少マシかも github.com/vercel-labs/... — @ras0q.com2 likes and reposts
- May 9, 2026📦 vercel-labs / json-render ⭐ 14,661 (+42) 🗒 TypeScript The Generative UI framework — @github-trending-js.bsky.social2 likes and reposts
- Mar 26, 2026PDF generation is pretty straightforward with github.com/vercel-labs/... I'm building a thing like a thing I once built for templated… — @rager.tech2 likes and reposts · 1 reply
12 more on Bluesky
- Jan 17, 2026Saw this framework for controlled UI rendering from AI Seems interesting Any insights on such frameworks ? github.com/vercel-labs/... #AI… — @muralirk.bsky.social2 likes and reposts
- Oct 27, 2026oh, isn't json-render something like this? — @evadeva.bsky.social1 likes and repost
- Sep 23, 2026vercel-labs/json-render (17k+ stars, 8 months old, trending again) doesn't let a model write UI code. It emits JSON constrained to a… — @maybeworthbuilding.bsky.social1 likes and repost
- Sep 20, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 vercel-labs / json-render ⭐ 16,989 (+585) 🗒 TypeScript The Generative UI framework — @github-trending.bsky.social1 likes and repost · 1 reply
- Sep 19, 2026"Your LLM only renders with the components and schemas you approve" cool why don‘t we have programmable documents as a *human-usable*… — @sevoris.bsky.social1 likes and repost
- Sep 19, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 vercel-labs / json-render ⭐ 16,700 (+468) 🗒 TypeScript The Generative UI framework — @github-trending-js.bsky.social1 likes and repost · 1 reply
- Apr 27, 2026github.com/vercel-labs/jso... GitHub - vercel-labs/json-render: The Generative UI framework — @technews4869.bsky.social1 likes and repost
- Mar 28, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 vercel-labs / json-render ⭐ 13,582 (+103) 🗒 TypeScript The Generative UI framework — @github-trending-js.bsky.social1 likes and repost
- Feb 22, 2026https://github.com/vercel-labs/json-render — @tom-doerr.bsky.social1 likes and repost
- Jan 25, 2026Vercel Labs' AI → JSON → UI pipeline - declarative interfaces generated from AI responses! https://github.com/vercel-labs/json-render — @u11g.com1 likes and repost
- Jan 24, 2026github.com/vercel-labs... — @michabbb.bsky.social1 likes and repost
- Jan 15, 2026Generative UI github.com/vercel-labs/... — @kasperjunge.bsky.social1 likes and repost · 1 reply
On Hacker News · 2
- Jan 21, 2026Benchmark Comparison: JSONL vs. TOON output for JSON-render efficiencysays it tested it2 points
- Jan 15, 2026json-render2 points · 2 comments
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository31 other files it gives its agents.
- codegenSkill
- coreSkill
- devtools-reactSkill
- devtoolsSkill
- devtools-solidSkill
- devtools-svelteSkill
- devtools-vueSkill
- directivesSkill
- imageSkill
- inkSkill
- jotaiSkill
- mcpSkill
- nextSkill
- react-emailSkill
- react-nativeSkill
- react-pdfSkill
- reactSkill
- react-three-fiberSkill
- reduxSkill
- remotion-best-practicesSkill
- remotionSkill
- shadcnSkill
- shadcn-svelteSkill
- skill-creatorSkill
- solidSkill
- svelteSkill
- tanstack-startSkill
- vueSkill
- xstateSkill
- yamlSkill
- zustandSkill
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
16 rules. About 0 are common, 5 are distinctive, and 11 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
11
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
Before adding or updating any dependency, verify the current latest version on npm:
- Distinctive: line 27
Do not use emojis in code or UI
- Very specific: line 28
Use shadcn CLI to add shadcn/ui components: pnpm dlx shadcn@latest add <component>
- Very specific: line 33
When using the Vercel AI SDK (ai package) with AI Gateway, pass the model as a plain string identifier -- do not import a provider …
- Very specific: line 48
All apps and examples with dev servers use portless to avoid hardcoded ports.
- Very specific: line 54
When adding a new example that runs a dev server, wrap its dev script with portless <name>:
- Very specific: line 64
Do not add --port flags -- portless handles port assignment automatically.
- Very specific: line 68
Run pnpm type-check after each turn to ensure type safety
- Distinctive: line 71
When making user-facing changes (new packages, API changes, new features, renamed exports, changed behavior), update the relevant …
- Very specific: line 82
All public @json-render/* packages share the same version.
- Distinctive: line 86
When asked to prepare a release (e.g.
- Very specific: line 88
Create a branch (e.g. prepare-v0.17.0)
- Very specific: line 90
Run pnpm run version:sync to update all other @json-render/* packages
- Very specific: line 91
Write the changelog entry in CHANGELOG.md, wrapped in <!-- release:start --> and <!-- release:end --> markers (move the markers from the …
- Very specific: line 100
Run
pnpm type-check: after all changes to verify nothing is broken - Distinctive: line 119
Use this source code when you need to understand how a package works internally, not just its types/interface.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AGENTS.md
Instructions for AI coding agents working with this codebase.
Package Management
Always check the latest version before installing a package.
Before adding or updating any dependency, verify the current latest version on npm:
npm view <package-name> versionOr check multiple packages at once:
npm view ai version
npm view @ai-sdk/provider-utils version
npm view zod versionThis ensures we don't install outdated versions that may have incompatible types or missing features.
Code Style
- Do not use emojis in code or UI
- Use shadcn CLI to add shadcn/ui components:
pnpm dlx shadcn@latest add <component> - Web app docs (
apps/web/): Never use Markdown table syntax (| col | col |). Always use HTML<table>with<thead>,<tbody>,<tr>,<th>,<td>. Markdown tables do not render correctly in the web app. Inside HTML table cells, curly braces must be escaped as JSX expressions (e.g.<code>{'{ "$state": "/path" }'}</code>) because MDX parses{as a JSX expression boundary.
AI SDK / AI Gateway
When using the Vercel AI SDK (ai package) with AI Gateway, pass the model as a plain string identifier -- do not import a provider constructor:
import { streamText } from "ai";
const result = streamText({
model: "anthropic/claude-haiku-4.5",
prompt: "...",
});This requires AI_GATEWAY_API_KEY to be set in the environment. See tests/e2e/ for examples.
Dev Servers
All apps and examples with dev servers use portless to avoid hardcoded ports. Portless assigns random ports and exposes each app via .localhost URLs.
Naming convention:
- Main web app:
json-render→json-render.localhost:1355 - Examples:
[name]-demo.json-render→[name]-demo.json-render.localhost:1355
When adding a new example that runs a dev server, wrap its dev script with portless <name>:
{
"scripts": {
"dev": "portless my-example-demo.json-render next dev --turbopack"
}
}Do not add --port flags -- portless handles port assignment automatically. Do not add portless as a project dependency; it must be installed globally.
Workflow
- Run
pnpm type-checkafter each turn to ensure type safety - Documentation lives in
apps/web/content/docs/and uses Geistdocs frontmatter. Keep public/docsURLs, heading IDs,lib/page-titles.ts,lib/docs-navigation.ts, and the contentmeta.jsonfiles in sync. - For docs routing or infrastructure changes, run
pnpm turbo run build --filter='web^...',pnpm --filter web build, andpnpm --filter web test:routes. Existing-page source and Markdown parity are covered byapps/web/tests/fixtures/docs-baseline.json; update fixtures only when intentionally changing the documented content. - When making user-facing changes (new packages, API changes, new features, renamed exports, changed behavior), update the relevant documentation:
- Package
README.mdfiles inpackages/*/README.md - Root
README.md(if packages table, install commands, or examples are affected) - Web app docs in
apps/web/(if guides, API references, or examples need updating) - Skills in
skills/*/SKILL.md(if the package has a corresponding skill) AGENTS.md(if workflow or conventions change)
- Package
Releasing
Releases are manual, single-PR affairs. The maintainer controls the changelog voice and format.
All public @json-render/* packages share the same version. The canonical version lives in packages/core/package.json.
Preparing a release
When asked to prepare a release (e.g. "prepare v0.17.0"):
- Create a branch (e.g.
prepare-v0.17.0) - Bump the version in
packages/core/package.json - Run
pnpm run version:syncto update all other@json-render/*packages - Write the changelog entry in
CHANGELOG.md, wrapped in<!-- release:start -->and<!-- release:end -->markers (move the markers from the previous entry to the new one) - Fill documentation gaps — every public package should have:
- A row in the root
README.mdpackages table - A renderer section in the root
README.md(if it's a renderer) - An API reference page at
apps/web/content/docs/api/<name>.mdx - An entry in
apps/web/lib/page-titles.tsandapps/web/lib/docs-navigation.ts - An entry in the docs-chat system prompt (
apps/web/app/api/docs-chat/route.ts) - A skill at
skills/<name>/SKILL.md - A
packages/<name>/README.md
- A row in the root
- Run
pnpm type-checkafter all changes to verify nothing is broken - Open a PR and merge to
main
CI compares the @json-render/core version to what's on npm. If it differs, it builds, publishes all public packages, and creates the GitHub release automatically. The release body is extracted from the content between the markers.
Scripts
pnpm run version:sync— sync all@json-render/*package versions to match@json-render/corepnpm run version:check— verify all versions are in sync (runs in CI)pnpm run ci:publish— build all packages and publish to npm (CI only)
<!-- opensrc:start -->Source Code Reference
Source code for dependencies is available in opensrc/ for deeper understanding of implementation details.
See opensrc/sources.json for the list of available packages and their versions.
Use this source code when you need to understand how a package works internally, not just its types/interface.
Fetching Additional Source Code
To fetch source code for a package or repository you need to understand, run:
npx opensrc <package> # npm package (e.g., npx opensrc zod)
npx opensrc pypi:<package> # Python package (e.g., npx opensrc pypi:requests)
npx opensrc crates:<package> # Rust crate (e.g., npx opensrc crates:serde)
npx opensrc <owner>/<repo> # GitHub repo (e.g., npx opensrc vercel/ai)<!-- opensrc:end -->Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

