From declaration to page: the explanation →

From Declaration to Page

One Union type.Every interaction, such as requests and replies, in one place.Declare it once.People get a page. AI gets a tool. Programs get a library.Not the Web.The full web experience with native UI, from a few bytes of data.

1

The App

The developer's code: one Union type holds every interaction

      
The App never reads a schema. Generated code encodes and decodes its values, whoever sent them.

The data

What crosses between them

Who uses it

The client has the schema, so it understands and draws

A conceptual drawing of the page, not a product screenshot. Each client lays out the same schema in its own native controls.

Keyboard: ← and → change steps, Space plays or pauses, Home starts over.

The bytes are the exact Avro encoding of each value, as the Rust SDK produces it: the variant index first, then the fields in order. A TypeScript App sends the same bytes; its kind field is the variant index, written once. A tool call and an SDK request carry the same value. Only the value is shown, not the transport that carries it.

Search Libertas