Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

VardUI documentation

VardUI is a cross-platform UI framework whose primary “developer” is an LLM agent: the Vard language, a fine-grained reactive runtime, a headless platform simulator, tooling with machine-applicable fixes, and a package system designed for a world where a model adds dependencies and a person approves them.

These pages are for people. The references for agents are compiled into the vard binary and printed by vard doc (sources in knowledge/).

Start here

PageWhat it covers
Getting startedinstall, first project, the “edit → check → run → test” loop
Working with AI agentshow the AI-first approach works: AGENTS.md, skills, MCP, token budget

Guide

PageWhat it covers
The Vard languagetypes, declarations, views, the UI tree, expressions, mutability, functions
UI: elements, layout, stylebuilt-in elements, flex/grid, common props, tokens, themes, dark mode
Reactivity and execution modelsignals/computed/effects, keyed lists, rules for pure rendering
Platform and native moduleslifecycle, back, insets, permissions, storage, push, extern fn/extern event
Testing and debuggingheadless runs, the action language, .vtest, why, lints, the platform simulator
Tooling: CLI and MCPevery vard command, the MCP server, output formats
DiagnosticsE/W/R/L/P codes, how to read and fix them

Packages, registries and delivery

PageWhat it covers
Package system overviewthe idea and key decisions: a contract computed by the compiler
Using packagesvard search/add/update, vard.toml, vard.lock, namespaces, the capability policy
Writing a packagelayout, manifest, AGENT.md, the example as proof, migrations, native code, publishing
Registries and hostingprotocol, file formats, vard registry serve, CDNs, registries in git, private registries
Delivery to devicesvard bundle, the native fingerprint, Android, over-the-air updates
Security modelthreats (including LLM-specific ones) and defenses

Platforms and architecture

PageWhat it covers
Architecturelayers, decisions, roadmap
Android shellbuild, Gradle properties, native modules
ADRsarchitecture decision records 0001–0007

Developing the framework

See CLAUDE.md (rules for agents working on the framework) and “Developing the framework itself” in the README.