AA

agenui/agenui

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

1250 stars 质量 74 趋势 23Apache-2.0

agenui/agenui 是从 https://github.com/agenui/agenui. 导入的特工技能候选人。

概览

agenui/agenui 是从 https://github.com/agenui/agenui. 导入的特工技能候选人。

概述(AI 翻译)

AGenUI 是一款高性能的 A2UI SDK,用于在 iOS、Android 和 HarmonyOS 上构建原生生成式 UI 体验。

官方网站 ·快速入门 ·API参考 ·贡献

英文 |中文

该项目正在积极开发中,快速发展。欢迎大家的贡献、反馈和讨论。


v1.7.0 新增内容

2026-10-19 发布

  • resolveCalls 内置函数:递归地执行嵌套在 JSON 中的函数调用,并用其返回值替换每个调用节点。
  • **深度解析 action:registerDeepParseProperty 现在支持函数参数和事件上下文中的嵌套绑定解析。
  • 跨平台表单标签:已完成 ChoicePicker 和 Slider 的渲染和测量,支持封装、动态更新和清除。
  • (Android)修复了动态文本更新后line-height丢失的问题。
  • (HarmonyOS)修正了用 action 点击图片时的崩溃,并为 RichText 和 Tabs 回调增加了事件类型检查。
  • (HarmonyOS)调整了ChoicePicker节点清理,以确保销毁顺序正确。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

This project is under active development and evolving rapidly. Contributions, feedback, and discussions are warmly welcome.


What’s New in v1.9.0

Released on 2026-11-23

  • Cross-Platform RTL Layout: Added SurfaceManager.setLayoutDirection (ltr / rtl) for text, horizontal Lists, Tabs, and other components.
  • Logical Styles: Logical spacing, positioning, and text-align: start/end now follow layout direction.
  • Direction-Aware Measurement: Measurement callbacks now receive direction; custom implementations must update their signatures.
  • (Core) Fixed static property write-back so the host can reset controls by resending their original values after user interaction.
  • (HarmonyOS) Fixed hybrid view ID collisions across SurfaceManager instances.
  • (iOS) Fixed RTL horizontal List start alignment, scrolling range, and padding.
  • (iOS Playground) Fixed custom component compilation errors caused by outdated measurement signatures.

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, 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.


Key Features

  • Real-time streaming rendering — structured component descriptions are generated by the LLM, arrive incrementally, and update in real time
在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add agenui/agenui
新手?先看 mcpskill.org 教程 →