Generative UI

Ask for an interface and the agent builds it — a tour of what you can summon.

The signature feature of MeghaOS: instead of opening an app, you describe the interface you want and the agent generates it. Under the hood the LLM emits A2UI JSON and the shell renders it into live widgets. This page is a practical gallery of what to ask for.

Charts, gauges & numbers

For data and dashboards, the agent reaches for animated components.

Ask for…Renders
"a gauge showing 72% disk usage"gauge
"a line chart of these sales numbers"chart (line/bar/pie/scatter)
"a sparkline of my last 7 days of steps"sparkline
"animate a counter from 0 to 1,000,000"animated_value
json
{ "type": "gauge", "value": 72, "max": 100, "label": "Disk", "color": "0xFF007AFF" }

Timers, games & utilities (no backend)

These Tier 1 widgets run entirely in the shell — instant and offline.

Time

"a pomodoro timer" · "countdown to midnight" · "a stopwatch" · "world clock for NY, London, Tokyo"

Games

"roll 2d20" · "flip a coin" · "tic-tac-toe vs the computer" · "a snake game"

Health

"a 4-7-8 breathing exercise" · "BMI calculator" · "split a $120 bill 3 ways"

Creative

"a drawing canvas" · "an HSL color picker" · "a metronome at 120 bpm" · "a pixel-art grid"

Live real-world data

Tier 2 widgets fetch live data through the agent and render it beautifully.

Ask for…Renders
"weather in Reykjavik"live_weather
"AAPL stock"live_stock
"convert 100 USD to JPY"currency_converter
"define 'serendipity'"dictionary
"translate 'good morning' to Japanese"translator
"a Wikipedia summary of black holes"wiki_summary
"today's tech headlines"news_ticker
"the NASA picture of the day"astronomy
"latest Premier League scores"live_sports
"a random pasta recipe"recipe_viewer

Explainers & diagrams

For "how does X work" or "show me X", the agent generates animated SVG diagrams with labelled parts and motion.

Ask for…Renders
"how does a volcano erupt?"animated_svg cross-section with rising magma
"explain the water cycle"diagram with labels
"a graph of how these services connect"node_graph
"a 3D scene with a rotating cube and pyramid"scene_3d (orbit controls)

Multi-widget dashboards

Ask for a whole layout and the agent composes several widgets together:

"Build me a focus dashboard with a pomodoro timer, a todo list, and today's weather."

This produces a column/grid of coordinated widgets — a pomodoro, a todo_list, and a live_weather, themed consistently.

Custom logic on demand

When a widget needs computation the standard components can't express, the agent writes sandboxed Python (JIT) and binds the result into the UI — all in a single response. You don't do anything special; just ask:

"a widget that shows the number of days until my birthday on July 14, counting live."

Theming

Add a vibe and the agent sets the top-level theme:

"...make it glassmorphic"theme: "glassmorphic" (also dark, the default, or light). Semantic color tokens adapt automatically.

Full widget catalog

Every component type and its properties.