Skip to content

Agent-authored prototype specification

Current, unversioned contract for the agent-authored prototype (#9296, child of #9295). Android Compose rendering, asset transport, the wire messages, the prototype MCP tool and the iOS simulator agent implement it; the iOS feature support table lists what is Android only (display, window.layer: "app", window.persistence: "device", inspect, idle TTL). A spec accepts no code except the opt-in Android-only AGSL asset referenced by style.shader, expressions, URLs, image bytes or migration instructions.

Conventions: the renderer is Compose; sizes and positions use dp; prototype opacity is a percentage; app-element anchoring is supported. observe includes prototype nodes by default, and existing tap and text tools target prototype nodes. Screenshots come from observe, with no separate screenshot tool. Focus belongs to the window host: accessibility set-text does not require focus, human keyboard input does.

The specification is split across these pages:

Background