Generative UI with Jev

Build generative UI with Jev + Signals + json-render.

Jev picks what goes in the spec in a fraction of a second. Signals gives it the state to pick from: what this visitor is doing right now, read in 6ms. json-render by Vercel draws the page from that spec and a catalog of your own components. One prompt to your coding agent wires all three.

  • 6ms p50 read, in-region
  • 1 prompt to your coding agent
  • Free tier, no card
Try it on yourself

Below is your own visit to this page, computed by Signals as you read.

Signals, about you

connecting

See live events firing as you browse this page on the left; what Signals computed about you on the right, refreshed every few seconds.

this page · events0 writes
nothing sent yet
write
attribute store · your sessionno read yet
reading_now
pages_last_5_min
seconds_since_last_action
sections_read
seconds_engaged
pricing_views
menus_explored
features_wanted
cta_clicks
arrived_from
waiting for the first computed value…
Your first events are in flight through a real Snowplow pipeline. Attributes appear as the stream computes them, usually within a few seconds.
Why generative UI needs live state

A page that composes itself needs to know who it is composing for.

Before

The spec describes the app, not the visitor

Route, props, cart, maybe a profile from last night. The model picks components for the average visitor because that is all the state describes, and the page comes out the same for everyone, the way a template does.

state = { route, props }
With Signals

The visitor's session, in the state

Add a Snowplow SDK and events flow in. Name the activity the composition needs and Signals returns it as JSON, current as of this click, ready to sit beside the route in the state object.

getAgenticContext()
Result

The spec changes with the visitor

Jev picks the compare panel for someone weighing two products and the reassurance card for someone stalled on price. json-render draws whichever it chose, from components you already have.

spec = compose(answers)
What you build with it

Pages that compose themselves around the visitor.

Each slot in the spec is one typed question. The catalog stays yours, so the model can only pick from components you wrote, and every pick comes with a probability you can read.

Lead with what they came for

Which section leads: the code, the numbers, the comparison or the price. Picked against what this visitor has read and skipped on this visit, and drawn from your catalog.

choice: which section leads?

Show proof in the shape they trust

A code sample for the engineer, an outcome for the PM, an assurance for the person who has been on the security page. The same catalog, a different component in the slot.

choice: code, number, outcome or assurance?

Answer the objection before it is typed

Someone who opened pricing twice and went back is asking about cost. The spec gets the pricing answer as a callout, not a link they have to find.

choice: which objection, or none?

Change the catalog, not the model

Add a component, describe it in the catalog, and the model can pick it on the next render. No retrain, no prompt engineering, one pull request.

edit the catalog, reload
How it works

State, decision, spec, render.

Signals does the knowing. Jev does the choosing. json-render does the drawing, from a catalog only you can add to. The one-liner at the bottom of this page teaches your coding agent the whole loop.

  1. 01Collect. Add a Snowplow SDK to your app and behavioral events start flowing in, validated on the way.
  2. 02Read. One call returns what this visitor has been doing as JSON, <1s after the event, in 6ms p50.
  3. 03Choose. Pass it as the state on your Jev call, one typed question per slot in the page.
  4. 04Render. Turn the answers into a json-render spec and let it draw the components from your catalog.
Signals → your app6ms p50
namepage_session
formatjson
eventslast 30 this session
sections_read4
pricing_views2
Trigger objection_visibledelivered to your app
Demo

See it in action.

A storefront with no page designed in advance. The shopper browses, Signals keeps the session, Jev picks what goes in each slot, and json-render draws it from the catalog.

Silent recording, captioned on screen. The panel on the right is the state Signals served and the choices the model made from it.1 min 19 sec
Questions

Before you try it

What is json-render?

A library from Vercel for generative UI. You describe a catalog of components and their props, a model produces a JSON spec that uses only those components, and json-render draws it. The model never writes markup, so the page cannot contain anything you did not ship.

Do I have to use json-render?

No. Jev's answers are typed values, so anything that maps a choice to a component works, from a switch statement upward. json-render is on this page because it is the shortest path from answers to a rendered page.

Does this only work with Jev?

No. The context comes back as JSON over the REST API, the Node.js or Python SDK, or the MCP server, and as a plain string in narrative form. Anything that takes a state object or a prompt can read it. Jev is the model this page is written for because one typed question per slot, on every render, is what it is built to answer.

Does Signals decide what to render?

No. Signals computes what the visitor is doing and hands it over. Which components go in the spec is the model's answer, and the catalog it picks from is yours.

Do I need an event stream already?

No. Collection is part of Signals. Add a Snowplow SDK to your web, mobile or server app and events start flowing in. If you already run Snowplow, Signals reads the pipeline you have.

What does the free tier include?

The full product against your own traffic, up to 5 million events a month, with no card and no sales call. You should see an attribute updating against your own traffic in the first session.

Let your next page compose itself in minutes.

Paste the one-liner and the prompt below into your coding agent. The panel at the top of this page is the state your first spec would be composed from, computed from you as you read.

The real engine · no card · no sales call
Paste this into your coding agent
npx plugins add snowplow/skills
Then: Add Snowplow Signals to this app. Find the page that should compose itself around the visitor. Define an agentic context for what they have been doing this session, read it as JSON and pass it as the state on one Jev typed question per slot. Turn the answers into a json-render spec against our component catalog and render it.
Signals, about you
connecting...