Open source · MIT · Node.js 22.18+ · not on npm yet

The modern JS framework for the AI era.

Your agent edits one JSON document. Culm checks every change and compiles static HTML and CSS. No runtime, no hydration.

$ git clone https://github.com/Culmjs/core
$ cd core && npm ci && npm run pack:all
$ node packages/tools/bin/culm.js init my-site --from .pack
$ cd my-site && npm install && npx culm dev

The same briefs as Astro, passing the same functional checks.

52.1 s

median agent session, against 119.8 s for Astro 7.4.13

Forms and buttons declared as tools for a visiting agent. Experimental.

0 B

changed on any built page while tools are off

A product's model streams a page, checked line by line.

72.4

code tokens per page, against 241.6 for A2UI · verdict and ruling below

Moving on this page: the headline, the three doors, the pillar headings, the figures and both tab panels, each a motion field on its node; choosing a tab plays its panel, and no single animation runs longer than 350 ms. The page's inline script, motion host included, is 9,198 bytes in this build. With JavaScript off or reduced motion on, nothing moves and everything is in place.

01 · For the agent that builds your site

Faster builds. Fewer output tokens. The same functional checks.

Median agent session per site, 4 briefs

Static sites

Culm

52.1 s

Astro 7.4.13

119.8 s

2.3×

shorter

Median of 4 briefs

Motion sites

Culm

90.9 s

Astro + GSAP

114.8 s

1.3×

shorter

Median of 4 briefs

Output tokens the agent wrote, total for 4 sites

Static sites

Culm

9,982

Astro 7.4.13

21,224

2.1×

fewer output tokens

What the agent wrote, not what it read

Motion sites

Culm

18,425

Astro + GSAP

22,585

1.2×

fewer output tokens

What the agent wrote, not what it read

Model cost for 4 sites, cache-aware rates

Static sites

Culm

$0.1111

Astro 7.4.13

$0.2098

1.9×

lower on these briefs

$1.00 fresh input, $0.05 cached, $5.00 output per 1M tokens

Motion sites

Culm

$0.1532

Astro + GSAP

$0.1588

3.5%

inside the run-to-run noise

Not a difference to read anything into

Largest contentful paint, 390×844, 4× CPU, 150 ms RTT

Static sites

Culm

210 ms

Astro 7.4.13

426 ms

2×

faster first paint

390×844, 4× CPU, 150 ms RTT

Motion sites

Culm

214 ms

Astro + GSAP

442 ms

2.1×

faster first paint

390×844, 4× CPU, 150 ms RTT

JavaScript the built site ships, raw bytes, median

Static sites

Culm

581 B

Astro 7.4.13

0 B

Astro

ships none: Astro leads

A static Astro site needs no script

Motion sites

Culm

7,796 B

Astro + GSAP

113,762 B

14.6×

less JavaScript

Raw bytes, median

What both arms passed, and how the designs were judged

Functional checks

Culm

8 of 8

Astro

8 of 8

Equal

functional checks

Every site, desktop and phone, none repaired by hand

Design score

Culm

17.875

Astro

19.375

Astro

leads on design

Blind-judged, out of 20 · 0 wins, 2 ties, 6 losses · not rerun

Four static and four motion briefs, built by gpt-6.1-terra at low reasoning. Culm rerun on main, one session per brief; the Astro and Astro + GSAP figures come from an earlier trial and were not rerun. The design scores were not rerun and favour Astro. Lab results on short briefs, not a framework ranking.

02 · WebMCP · experimental

Your forms and buttons, as tools.

0 B

changed on any built page while tools are off: pages and scripts are byte-identical with and without declarations

3

tool classes: read, send and page. A form, a live load, a click or an island act can be one

1 person

turns tools on, typing the site's name at culm agents on. A remote caller never can

Chromium

only, launched with the WebMCP testing flag (HeadlessChrome 156). Safari and Firefox not run

Experimental, and it needs the @culmjs/webmcp plug-in. A browser without document.modelContext gets an ordinary page. Nothing measures whether the tools help a visiting agent.

03 · Generative UI

A page a model writes, checked line by line.

72.4

code tokens per page, against 241.6 for A2UI and 614.2 for json-render

0 of 90

pages with a defect, against 14 of 90 for A2UI, all on one brief. json-render: also 0

4,315 B

renderer, Brotli, against 233,049 B for A2UI and 242,238 B for json-render

1 line

one operation per line. Every applied line leaves a valid surface; a refused one changes nothing

Render comparison: 270 runs, gpt-6.1-terra. The protocol's verdict is "advantage not shown", because the defect half could not be measured; the project owner counts the result as favourable, a ruling made after the results were known.

Every feature, in facts.

A count, a limit, a file or a command for each area. Choose an area.

An agent edits the site over MCP, and every write is checked before it is saved.

6

MCP tools: describe, write, find, measure, render, build

32

edits in one write, saved whole or not at all

31

checks of the rendered layout at 1280, 834 and 390 px, light and dark

11 to 96 px

a text range the site enforces; a broken rule saves nothing

required

content cannot be removed, hidden or emptied

restore

any revision as a new one, and diff two

--full

imports HTML and CSS, literal JSX or JSONC

Open the page

One JSON document, compiled to static HTML and CSS, the same bytes every time.

layers

for tablet, phone, dark mode, hover, focus and declared states on every node

rows

checked against declared fields before anything compiles

live data

lists, saving forms and sign-in, in the visitor's browser

16,000 B

of CSS a page by default, 2,000 elements, 12 levels

Open the page

Serve Culm's MCP server over your own transport and sign-in, with its guards.

401

before any tool runs, with your own sign-in

7

rules refused for every remote caller

agents

no remote caller can turn tools on

Open the page

Forms, loads, clicks and island acts declared as tools for a visiting agent. Experimental.

6

origins: live form, static form, live load, click, layer, island act

culm agents on

a person, typing the site's name

3,000 B

ceiling of the tool script

experimental

Chromium with the testing flag only

Open the page

A product's model streams a page, and each line is checked before it reaches the screen.

500

lines a stream; a refused line changes nothing and the stream goes on

6,000

characters of surface description for the model

1

tool, culm_surface_event, all an MCP Apps view calls

Open the page

A reader with no browser fetches Markdown, not HTML.

index.html.md

a Markdown twin beside every page

llms.txt

one link per page

features.llms

one setting, on for new projects

Open the page

Motion is a field on the node; GPU regions and graphics are opt-in nodes too.

6

triggers: load, enter-view, hover, press, scroll, pointer-x

304 B

of script for a native scroll effect

4,096 B

of checked GLSL a shader

512 B

at most for a WebAssembly field, no imports

PNG, WebP, SVG

from any node, with render

Open the page

Safe output by construction, and the limits written down beside it.

1

writer and one escape for every byte of HTML

1

policy: scripts allowed by hash only

3

kinds of island: declarative, in-page, framed

culm approve

a person types the package name; the lock file holds it

Open the page

Start a site.

init writes a blank one-page site. dev previews it and reloads on save. Until the packages are on npm, you build them from a checkout.

$ git clone https://github.com/Culmjs/core
$ cd core && npm ci && npm run pack:all
$ node packages/tools/bin/culm.js init my-site --from .pack
$ cd my-site && npm install && npx culm dev