Personalization-first, agent-native web

MIDL turns a page into a JSON document of semantic frames. One document, any look โ€” rendered to HTML by a pack, and dual-use for people and AI agents.

Why MIDL

Agent-native

Agents introspect the whole vocabulary, pull /llms.txt and examples, and round-trip through validate โ†’ repair โ†’ render. They build from data, not guesses.

Personalization-first

A page is data, not markup โ€” so it can be targeted, A/B-tested, and re-skinned per visitor without rewriting the document.

Self-hostable & dual-use

The public @wisepunk/* packages render anywhere โ€” Node, the edge, Svelte. Every page serves human HTML and a machine-readable document from one source.

Personalization & optimization, built in

Because a page is data, the runtime serves a different variant โ€” or a whole different style โ€” to each visitor, deterministically and stickily. No redeploys.

Per-visitor, by data

Weighted, sticky variant + design-system assignment, with targeting by geo, device, returning, or referrer. Change who sees what by editing data โ€” never code.

Self-improving

Every render emits impressions; clicks attribute to the served variant; an optimizer promotes winners at 95% confidence on real outcomes. The site gets better on its own.

Built for AI agents

Install the MIDL skill and build sites from introspection. The component vocabulary, canonical examples, and the full docs are all machine-readable.


MIDL ยท @wisepunk/core ยท renderer-html ยท renderer-svelte ยท sdk โ€” on npm. This page is itself a MIDL document.