Creative & Designβ¨geminiπuniversal
AGenUI
Native A2UI Renderer for iOS/Android/HarmonyOS. High performance streaming Generative UI. Custom Components, Styles and more.
Quick Start
Install this Skill
npx skills add AGenUI/AGenUI<div align="center"> # AGenUI **AGenUI is a high-performance A2UI SDK for building native generative UI experiences across iOS, Android, and HarmonyOS.** <img src="docs/images/hero.gif" alt="AGenUI streaming generative UI across iOS, Android, and HarmonyOS" width="640"/> [](LICENSE) [](#) [](#) [](#) [](#) [**Official Website**](https://genui.amap.com) Β· [**Quick Start**](docs/QuickStart.md) Β· [**API Reference**](docs/API.md) Β· [**Contributing**](CONTRIBUTING.md) English | [δΈζ](README.zh-CN.md) </div> > This project is under active development and evolving rapidly. Contributions, feedback, and discussions are warmly welcome. --- ## What's New in v1.2.1 > Released on 2026-07-24 - **Full Font-Weight Support**: All three platforms now support the complete CSS `font-weight` range. iOS and HarmonyOS render true font weights; Android uses real weight on API 28+ with graceful degradation on lower versions. - **Custom Font Registration**: Supports custom font registration via raw file path using `OH_Drawing_RegisterFont`, with a shared font parser class extracted for reuse. - **`text-decoration` Tri-Platform Alignment**: Unified `text-decoration` parsing and rendering across iOS, Android, and HarmonyOS to conform to the A2UI standard. - Changed `getMeasurer` and default interface methods from Java `default` to regular interface methods. - Added `gap` property description to the component catalog. - Removed ImageLoader fallback to system image loading on failure. --- ## What is AGenUI? **AGenUI** is an A2UI SDK that simultaneously supports iOS, Android, and HarmonyOS. Built on and fully implementing the [A2UI v0.9 protocol open-sourced by Google](https://github.com/google/A2UI), it renders the streaming data of LLM-generated interactive UI in real time on mobile devices. Under the hood, it is powered by a cross-platform **shared C++ core engine**, while the three-platform rendering engines consume the component protocol dispatched by the core engine and perform drawing using native system capabilities. **AGenUI** leverages native system UI capabilities to render **interactive cards, forms, lists, images, media players, and more**, delivering a high-performance, smooth user experience. <img src="docs/images/a2ui_rendering_effect.png" alt="A2UI components rendering showcase" height="720"> --- ## Key Features - **Real-time streaming rendering** β structured component descriptions are generated by the LLM, arrive incrementally, and update in real time - **High performance** β native rendering on iOS, Android, and HarmonyOS, maintaining a 120 fps refresh rate in core scenarios such as page scrolling - **22 built-in components** β 18 A2UI protocol components + 4 SDK extension components - **Custom component API** β register and extend native components via the custom component API, so the LLM can emit component descriptions by component name - **Function Call integration** β register client-side tools/functions that the LLM can invoke on demand - **Design Token & theming** β unified Design Token system and theme modes across all three platforms - **Light / Dark mode** β built-in light/dark appearance switching --- ## Architecture AGenUI adopts a **shared C++ core engine + three-platform component rendering engines** design. The C++ layer implements capabilities shared across all three platforms, including streaming data parsing, virtual component tree management, render data caching, theme/style resolution, and component change diffing. The C++ layer synchronizes the parsed component protocol to the three-platform rendering engines to trigger drawing. <div align="center"> <img src="docs/images/architecture.svg" alt="AGenUI SDK architecture" width="720"/> </div> ### Project Directory | Path | Contents | |---|---| | `core/` | C++ core engine β parser, differ, layout, Function Call framework | | `core/include/` | Public C++ API consumed by platform bridging layers | | `platforms/ios/` | iOS component renderer + Objective-C bridge | | `platforms/android/` | Android component renderer + JNI bridge | | `platforms/harmony/` | HarmonyOS component renderer + NAPI bridge | | `playground/` | Three-platform demo apps for development & debugging | | `scripts/` | Build scripts for each platform | --- ## Components <div align="center"> <img src="docs/images/components.svg" alt="AGenUI built-in components" width="760"/> </div> ### A2UI Protocol Components The following 18 components implement the A2UI protocol specification and are supported on all three platforms. | Component | Description | |---|---| | `Text` | Styled text with variant ... (truncated)
Repository
1.1kstars
149forks
Details
Related Skills
More creative & design skills you might like
expo-router
Creative & DesignNavigation and routing for Expo Router. Covers file-based routes, groups and dynamic routes, folder organization, Link with previews and context menus, native Stack, page titles, modals and form sheets, NativeTabs, headers and toolbars, and header search bars.
πuniversal
2.8k
178
View
expo-native-ui
Creative & DesignBuild beautiful, native-feeling Expo screens. Covers Apple HIG styling, semantic colors, native controls, SF Symbols, media, visual effects, gradients, storage, and responsive layout. For routing and navigation, use the expo-router skill; for motion and animation, use the expo-animation skill.
πuniversal
2.8k
178
View
frontend-slides
Creative & DesignCreate stunning, animation-rich HTML presentations from scratch or by converting PowerPoint files. Use when the user wants to build a presentation, convert a PPT/PPTX to web, or create slides for a talk/pitch. Helps non-designers discover their aesthetic through visual exploration rather than abstract choices.
π€claudeπuniversal
30.6k
2.4k
View
frontend-slides
Creative & DesignCreate stunning, animation-rich HTML presentations from scratch or by converting PowerPoint files. Use when the user wants to build a presentation, convert a PPT/PPTX to web, or create slides for a talk/pitch. Helps non-designers discover their aesthetic through visual exploration rather than abstract choices.
π€claudeπuniversal
30.6k
2.4k
View