A profile of A2UI 1.0

S2UI — Supervisor-to-UI

Public draft · release 0.2.0 · protocol line S2UI/1

S2UI standardises how a supervisor — a system that runs a team of agents on a task, in stages, in work units, under a verdict, sometimes waiting on a human — publishes the state of its runs so that a user interface can render them, and how that interface asks the supervisor to act.

Its core object is a snapshot digest of a run — state, stage, work units, verdict and outstanding human attention — which a UI can render correctly after reconnecting, restarting, or arriving late, with no event replay. Surfaces are composed from digests deterministically, by code and templates — never by an LLM in the observability path.

The specification

S2UI-1.md — the four parts, the MCP embedding, versioning and conformance, in RFC 2119 language. Raw Markdown.

Source repository

The public repo: spec, schemas, examples, validator and installation guides. MIT.

Install S2UI

Three consumer paths: MCP host / LLM agent, supervisor implementer, UI host.

The four parts, and their status

PartSchemaStatus
RunDigest v1run-digest-v1.schema.json Implemented — shipping in the reference supervisor, validated against real runs.
Surface lifecycle ruless2ui-surface-v1-draft.schema.json Implemented — the reference supervisor's MCP tools return composed application/a2ui+json surfaces beside the digest. The examples below are its real output.
Beth catalog v1beth-catalog-v1-draft.schema.json Draft — A2UI Basic Catalog only in v1; durations as text.
Command sets2ui-command-v1-draft.schema.json Draft — idempotency-keyed commands, authorised server-side per run.

Honest position: today there is exactly one producer (a private reference supervisor) and no built consumer. The protocol line stays at 0.1.x until a second, independent implementation exists.

Examples

Validate them all with node tools/validate from the repository — no dependencies.

Differentiation

Against raw event streams (AG-UI-style): a stream tells a UI what just happened in a live session; S2UI's digest is a snapshot a UI can render from after arriving late. Against product-specific supervisor contracts: S2UI is a standalone, implementation-independent profile with a published schema — a supervisor keeps its own lifecycle, roles and runtime; S2UI only constrains what it publishes and the commands it accepts.