{"id":84627,"date":"2026-07-26T15:27:56","date_gmt":"2026-07-26T07:27:56","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/84627.html"},"modified":"2026-07-26T15:27:56","modified_gmt":"2026-07-26T07:27:56","slug":"ui%e6%96%b0%e9%9d%a9%e5%91%bd%ef%bc%9fgenui%e3%80%81wandb-openui%e3%80%81thesysdev-openui%e3%80%81a2ui%e3%80%81ag-ui%e3%80%81mcp-ui","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/84627.html","title":{"rendered":"UI\u65b0\u9769\u547d\uff1fGenUI\u3001WanDB-OpenUI\u3001thesysdev-OpenUI\u3001A2UI\u3001AG-UI\u3001MCP-UI"},"content":{"rendered":"<p>\u975e\u524d\u7aef\u5f00\u53d1&#xff0c;\u4f46\u663e\u800c\u6613\u89c1\u7684\u662f&#xff0c;\u5728AI\/LLM\u65f6\u4ee3&#xff0c;UI\u4e5f\u8fce\u6765\u4e0d\u5c11\u53d8\u9769\u3002<\/p>\n<p>\u672c\u6587\u8bd5\u56fe\u68b3\u7406\u7f51\u7edc\u8d44\u6e90&#xff0c;\u6574\u7406\u6210\u4e2a\u4eba\u7684\u7406\u89e3&#xff0c;\u5e76\u5f62\u6210\u6587\u6863\u3002<\/p>\n<h2>GenUI<\/h2>\n<p>Generative UI\u7684\u7b80\u79f0&#xff0c;\u754c\u9762\u4e0d\u662f\u63d0\u524d\u8bbe\u8ba1\u597d\u7684&#xff0c;\u800c\u662f\u7531AI\u6839\u636e\u5f53\u4e0b\u7684\u9700\u6c42&#xff0c;\u73b0\u573a\u751f\u6210\u3002\u4e0d\u662f\u4f60\u53bb\u627e\u529f\u80fd&#xff0c;\u800c\u662f\u529f\u80fd\u6765\u627e\u4f60\u3002<\/p>\n<p>\u4f20\u7edfUI&#xff1a;<\/p>\n<ul>\n<li>\u9759\u6001<\/li>\n<li>\u8def\u5f84\u662f\u9884\u8bbe\u597d\u7684<\/li>\n<li>\u7528\u6237\u5fc5\u987b\u5148\u5b66\u4f1a\u201c\u8fd9\u4e2a\u7cfb\u7edf\u600e\u4e48\u7528\u201d<\/li>\n<\/ul>\n<p>\u672c\u8d28\u662f&#xff1a;\u4eba\u53bb\u9002\u5e94\u7cfb\u7edf\u3002<\/p>\n<h3>\u5bf9\u6bd4\u4f20\u7edfGUI<\/h3>\n<table>\n<tr>\u7ef4\u5ea6\u4f20\u7edfGUI\u7684\u672c\u8d28AI\u65f6\u4ee3\u65b0\u8303\u5f0f\u7684\u672c\u8d28\u98a0\u8986\u6027<\/tr>\n<tbody>\n<tr>\n<td align=\"left\">\u4ea4\u4e92\u903b\u8f91<\/td>\n<td align=\"left\">\u6307\u4ee4-\u64cd\u4f5c&#xff1a;\u7528\u6237\u5fc5\u987b\u5b66\u4e60\u8f6f\u4ef6\u7684\u903b\u8f91&#xff08;\u5982\u83dc\u5355\u3001\u6309\u94ae&#xff09;&#xff0c;\u5c06\u81ea\u8eab\u610f\u56fe\u7ffb\u8bd1\u6210\u8f6f\u4ef6\u80fd\u7406\u89e3\u7684\u7cbe\u786e\u64cd\u4f5c\u5e8f\u5217<\/td>\n<td align=\"left\">\u610f\u56fe-\u7ed3\u679c&#xff1a;\u7528\u6237\u76f4\u63a5\u7528\u6a21\u7cca\u3001\u81ea\u7136\u7684\u65b9\u5f0f&#xff08;\u8bed\u8a00\u3001\u624b\u52bf\u3001\u773c\u795e&#xff09;\u8868\u8fbe\u8981\u4ec0\u4e48&#xff0c;\u7cfb\u7edf\u7406\u89e3\u5e76\u6267\u884c<\/td>\n<td align=\"left\">\u4ea4\u4e92\u8d23\u4efb\u4ece\u7528\u6237\u8f6c\u79fb\u5230\u7cfb\u7edf\u3002UI\u4e0d\u518d\u662f\u56fa\u5b9a\u7684\u64cd\u4f5c\u624b\u518c&#xff0c;\u800c\u662f\u52a8\u6001\u7684\u610f\u56fe\u7406\u89e3\u5668<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">\u754c\u9762\u5f62\u6001<\/td>\n<td align=\"left\">\u9759\u6001\u3001\u4e00\u81f4&#xff1a;\u6240\u6709\u7528\u6237\u5728\u540c\u4e00\u65f6\u95f4\u770b\u5230\u57fa\u672c\u76f8\u540c\u7684\u754c\u9762&#xff0c;\u529f\u80fd\u88ab\u9884\u5148\u5b9a\u4e49\u548c\u5e03\u5c40<\/td>\n<td align=\"left\">\u52a8\u6001\u3001\u751f\u6210\u3001\u6d88\u5931&#xff1a;\u754c\u9762\u6839\u636e\u5f53\u524d\u4e0a\u4e0b\u6587\u548c\u7528\u6237\u610f\u56fe\u5b9e\u65f6\u751f\u6210&#xff0c;\u4efb\u52a1\u5b8c\u6210\u540e\u53ef\u80fd\u9690\u53bb&#xff0c;\u751a\u81f3\u6ca1\u6709\u53ef\u89c1\u754c\u9762<\/td>\n<td align=\"left\">UI\u4ece\u7a7a\u95f4\u5360\u7528&#xff08;App\u5e03\u5c40&#xff09;\u8fdb\u5316\u4e3a\u65f6\u95f4\u54cd\u5e94&#xff08;\u77ac\u95f4\u670d\u52a1&#xff09;<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">\u7528\u6237\u89d2\u8272<\/td>\n<td align=\"left\">\u64cd\u4f5c\u8005&#xff1a;\u5fc5\u987b\u5b66\u4e60\u3001\u8bb0\u5fc6\u3001\u9075\u5faa\u8f6f\u4ef6\u7684\u89c4\u5219<\/td>\n<td align=\"left\">\u534f\u4f5c\u4f19\u4f34&#xff1a;\u7528\u6237\u662f\u63d0\u51fa\u76ee\u6807\u548c\u53cd\u9988\u7684\u4f19\u4f34&#xff0c;AI\u8d1f\u8d23\u89c4\u5212\u3001\u6267\u884c\u548c\u8c03\u6574<\/td>\n<td align=\"left\">\u4eba\u673a\u5173\u7cfb\u4ece\u5de5\u5177\u4f7f\u7528\u8d70\u5411\u76ee\u6807\u534f\u540c<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>CopilotKit<\/h3>\n<p>CopilotKit\u5f00\u6e90&#xff08;GitHub&#xff0c;783 Star&#xff0c;69 Fork&#xff09;GenUI\u793a\u4f8b&#xff0c;\u53ef\u7528\u4e8eAG-UI\u3001A2UI\u3001Open-JSON-UI\u3001MCP Apps&#xff0c;\u5b98\u65b9\u6587\u6863\u3002<\/p>\n<h2>WanDB-OpenUI<\/h2>\n<p>\u5b98\u7f51\u6253\u4e0d\u5f00&#xff0c;\u53ef\u7528\u4e8e\u66ff\u4ee3v0\u7b49\u5de5\u5177\u7684\u5f00\u6e90&#xff08;GitHub&#xff0c;22.5K Star&#xff0c;2.1K Fork&#xff09;\u9879\u76ee&#xff0c;\u4f46\u5177\u5907\u66f4\u5f3a\u7684\u7075\u6d3b\u6027\u548c\u81ea\u5b9a\u4e49\u9009\u9879&#xff1b;\u57fa\u4e8eAI&#xff0c;\u7528\u4e8e\u5feb\u901f\u6784\u5efa\u5e76\u8fed\u4ee3UI\u539f\u578b\u3002<\/p>\n<p>\u7279\u6027<\/p>\n<ul>\n<li>\u53ef\u89c6\u5316UI\u751f\u6210\n<ul>\n<li>\u6839\u636e\u8f93\u5165\u7684\u63cf\u8ff0\u53ef\u5b9e\u65f6\u7ec4\u4ef6\u6e32\u67d3&#xff0c;\u67e5\u770b\u6e32\u67d3\u6548\u679c<\/li>\n<li>\u652f\u6301\u590d\u6742\u5e03\u5c40\u548c\u4ea4\u4e92<\/li>\n<li>\u652f\u6301\u81ea\u52a8\u751f\u6210\u54cd\u5e94\u5f0f\u8bbe\u8ba1<\/li>\n<\/ul>\n<\/li>\n<li>\u6846\u67b6\u7075\u6d3b\u6027\n<ul>\n<li>\u5c06HTML\u8f6c\u6362\u4e3aReact\u3001Svelte\u3001Vue\u548cWeb Components<\/li>\n<li>\u8de8\u6846\u67b6\u4fdd\u6301\u7ec4\u4ef6\u529f\u80fd<\/li>\n<li>\u652f\u6301\u5bfc\u51fa\u5e72\u51c0\u3001\u53ef\u7528\u4e8e\u751f\u4ea7\u7684\u4ee3\u7801<\/li>\n<\/ul>\n<\/li>\n<li>\u591a\u6a21\u578b\u652f\u6301\n<ul>\n<li>\u65e0\u7f1d\u5207\u6362\u4e0d\u540cLLM\u63d0\u4f9b\u5546&#xff1a;OpenAI\u3001OpenAI\u517c\u5bb9\u7b49<\/li>\n<li>\u672c\u5730\u6a21\u578b\u652f\u6301&#xff0c;\u4fdd\u62a4\u9690\u79c1\u5e76\u53ef\u79bb\u7ebf\u4f7f\u7528<\/li>\n<li>\u901a\u8fc7LiteLLM\u96c6\u6210\u81ea\u5b9a\u4e49\u6a21\u578b<\/li>\n<\/ul>\n<\/li>\n<li>\u4f1a\u8bdd\u6301\u4e45\u5316\n<ul>\n<li>\u652f\u6301\u4fdd\u5b58\u548c\u5171\u4eabUI\u521b\u4f5c<\/li>\n<li>\u4fdd\u7559\u7248\u672c\u5386\u53f2&#xff0c;\u65b9\u4fbf\u540e\u7eed\u8fed\u4ee3\u8ddf\u8e2a<\/li>\n<li>\u652f\u6301\u591a\u4eba\u534f\u4f5c\u5f00\u53d1<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h3>\u5b9e\u6218<\/h3>\n<p>\u90e8\u7f72\u65b9\u5f0f&#xff1a;<\/p>\n<ul>\n<li>\u6e90\u7801<\/li>\n<\/ul>\n<p><span class=\"token function\">git<\/span> clone https:\/\/github.com\/wandb\/openui<br \/>\n<span class=\"token builtin class-name\">cd<\/span> openui\/backend<br \/>\nuv <span class=\"token function\">sync<\/span> <span class=\"token parameter variable\">&#8211;frozen<\/span> <span class=\"token parameter variable\">&#8211;extra<\/span> litellm<br \/>\n<span class=\"token builtin class-name\">source<\/span> .venv\/bin\/activate<br \/>\n<span class=\"token comment\"># Set API keys for any LLM&#039;s you want to use<\/span><br \/>\n<span class=\"token builtin class-name\">export<\/span> <span class=\"token assign-left variable\">OPENAI_API_KEY<\/span><span class=\"token operator\">&#061;<\/span>xxx<br \/>\npython <span class=\"token parameter variable\">-m<\/span> openui<\/p>\n<ul>\n<li>Docker\u3001Docker Compose<\/li>\n<\/ul>\n<p><span class=\"token function\">git<\/span> clone https:\/\/github.com\/wandb\/openui<br \/>\npip <span class=\"token function\">install<\/span> <span class=\"token parameter variable\">-e<\/span> <span class=\"token builtin class-name\">.<\/span><br \/>\npython <span class=\"token parameter variable\">-m<\/span> openui <span class=\"token parameter variable\">&#8211;dev<\/span><br \/>\n<span class=\"token comment\"># Docker<\/span><br \/>\n<span class=\"token function\">docker<\/span> run <span class=\"token parameter variable\">&#8211;rm<\/span> <span class=\"token parameter variable\">&#8211;name<\/span> openui <span class=\"token parameter variable\">-p<\/span> <span class=\"token number\">7878<\/span>:7878 <span class=\"token punctuation\">\\\\<\/span><br \/>\n<span class=\"token parameter variable\">-e<\/span> <span class=\"token assign-left variable\">OPENAI_API_KEY<\/span><span class=\"token operator\">&#061;<\/span>xxx <span class=\"token punctuation\">\\\\<\/span><br \/>\nghcr.io\/wandb\/openui<\/p>\n<p>\u6d4f\u89c8\u5668\u8bbf\u95eehttp:\/\/localhost:7878&#xff0c;<\/p>\n<h2>thesysdev-OpenUI<\/h2>\n<p>\u53e6\u4e00\u4e2a\u9ad8\u661f\u540c\u540d\u5f00\u6e90&#xff08;GitHub&#xff0c;8.2K Star&#xff0c;602 Fork&#xff09;\u9879\u76ee&#xff0c;\u5b98\u7f51\u3002<\/p>\n<p>\u7ec4\u4ef6\u5305<\/p>\n<table>\n<tr>\u5305\u540d\u9002\u7528\u573a\u666f\u63cf\u8ff0<\/tr>\n<tbody>\n<tr>\n<td align=\"left\">&#064;openuidev\/lang-core<\/td>\n<td align=\"left\">\u6846\u67b6\u65e0\u5173\u7684\u89e3\u6790\u4e0e\u63d0\u793a\u751f\u6210<\/td>\n<td align=\"left\">\u6838\u5fc3\u89e3\u6790\u5668\u3001\u63d0\u793a\u751f\u6210\u3001\u8fd0\u884c\u65f6\u8bc4\u4f30\u548c\u7c7b\u578b\u5c42&#xff0c;\u65e0React\u3001Vue\u6216Svelte\u4f9d\u8d56<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">&#064;openuidev\/react-lang<\/td>\n<td align=\"left\">React\u6e32\u67d3\u8fd0\u884c\u65f6<\/td>\n<td align=\"left\">\u5b9a\u4e49\u7ec4\u4ef6\u5e93\u3001\u751f\u6210\u63d0\u793a&#xff0c;\u5e76\u5728React\u4e2d\u6e32\u67d3\u6d41\u5f0fOpenUILang<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">&#064;openuidev\/react-headless<\/td>\n<td align=\"left\">\u81ea\u5e26React\u804a\u5929UI<\/td>\n<td align=\"left\">\u65e0\u5934\u804a\u5929\u72b6\u6001\u3001\u6d41\u5f0f\u9002\u914d\u5668\u548c\u6d88\u606f\u683c\u5f0f\u8f6c\u6362\u5668<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">&#064;openuidev\/react-ui<\/td>\n<td align=\"left\">\u6700\u5feb\u8def\u5f84\u7684\u5168\u529f\u80fdReact\u804a\u5929\u4f53\u9a8c<\/td>\n<td align=\"left\">\u9884\u6784\u5efa\u804a\u5929\u5e03\u5c40\u3001\u72ec\u7acbUI\u539f\u8bed\u548c\u4e24\u4e2a\u5185\u7f6e\u7ec4\u4ef6\u5e93<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">&#064;openuidev\/react-email<\/td>\n<td align=\"left\">\u90ae\u4ef6\u751f\u6210\u4e0eHTML\u5bfc\u51fa<\/td>\n<td align=\"left\">ReactEmail\u7ec4\u4ef6\u5b9a\u4e49&#xff0c;\u4ee5\u53ca\u9762\u5411\u6a21\u578b\u751f\u6210\u90ae\u4ef6\u7684\u63d0\u793a\u9009\u9879<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">&#064;openuidev\/vue-lang<\/td>\n<td align=\"left\">Vue\u96c6\u6210<\/td>\n<td align=\"left\">Vue3\u7ed1\u5b9a&#xff0c;\u7528\u4e8e\u5b9a\u4e49\u6a21\u578b\u53ef\u6e32\u67d3\u7ec4\u4ef6\u548c\u6e32\u67d3\u6d41\u5f0fOpenUILang<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">&#064;openuidev\/svelte-lang<\/td>\n<td align=\"left\">Svelte\u96c6\u6210<\/td>\n<td align=\"left\">Svelte5\u7ed1\u5b9a&#xff0c;\u7528\u4e8e\u5b9a\u4e49\u6a21\u578b\u53ef\u6e32\u67d3\u7ec4\u4ef6\u548c\u6e32\u67d3\u6d41\u5f0fOpenUILang<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">&#064;openuidev\/browser-bundle<\/td>\n<td align=\"left\">CDN\u3001iframe\u548c\u65e0\u6784\u5efa\u5d4c\u5165<\/td>\n<td align=\"left\">\u9884\u6784\u5efa\u6d4f\u89c8\u5668\u6346\u7ed1\u5305&#xff0c;\u5305\u542b\u6e32\u67d3\u5668\u3001UI\u5e93\u3001React\u548c\u6837\u5f0f&#xff0c;\u4f5c\u4e3a\u811a\u672c\u548c\u6837\u5f0f\u8868\u8d44\u6e90\u63d0\u4f9b<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">&#064;openuidev\/cli<\/td>\n<td align=\"left\">\u9879\u76ee\u811a\u624b\u67b6\u4e0e\u63d0\u793a\u751f\u6210<\/td>\n<td align=\"left\">CLI\u5de5\u5177&#xff0c;\u7528\u4e8e\u521b\u5efa\u65b0\u5e94\u7528\u548c\u4ece\u5e93\u5b9a\u4e49\u751f\u6210\u7cfb\u7edf\u63d0\u793a\u6216JSONSchema<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">&#064;openuidev\/openclaw-os-plugin<\/td>\n<td align=\"left\">OpenClaw\u5de5\u4f5c\u533a<\/td>\n<td align=\"left\">OpenClawOS\u63d2\u4ef6&#xff0c;\u7528\u4e8e\u63d0\u4f9bOpenUI\u9a71\u52a8\u7684OpenClaw\u5de5\u4f5c\u533a<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u63d0\u4f9b\u6280\u80fd\u5305&#xff0c;CC\u7b49\u5ba2\u6237\u7aef\u62ff\u6765\u5373\u7528&#xff1a;<\/p>\n<p><span class=\"token comment\"># \u901a\u8fc7npx\u5b89\u88c5<\/span><br \/>\nnpx skills <span class=\"token function\">add<\/span> thesysdev\/skills <span class=\"token parameter variable\">&#8211;skill<\/span> openui<br \/>\n<span class=\"token comment\"># \u624b\u52a8\u590d\u5236\u5b89\u88c5<\/span><br \/>\n<span class=\"token function\">cp<\/span> <span class=\"token parameter variable\">-r<\/span> skills\/openui .claude\/skills\/openui<\/p>\n<h3>\u5b9e\u6218<\/h3>\n<p>\u57fa\u4e8e\u6e90\u7801\u90e8\u7f72\u5b89\u88c5&#xff1a;<\/p>\n<p>npx &#064;openuidev\/cli&#064;latest create <span class=\"token parameter variable\">&#8211;name<\/span> genui-chat-app<br \/>\n<span class=\"token builtin class-name\">cd<\/span> genui-chat-app<br \/>\n<span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">&#034;OPENAI_API_KEY&#061;sk-your-key-here&#034;<\/span> <span class=\"token operator\">&gt;<\/span> .env<br \/>\n<span class=\"token function\">npm<\/span> run dev<\/p>\n<h2>A2UI<\/h2>\n<p>\u968f\u7740Agent\u6280\u672f\u7684\u53d1\u5c55&#xff0c;\u4f20\u7edf\u901a\u8fc7\u6587\u672c\u6216\u4ee3\u7801\u751f\u6210\u754c\u9762\u7684\u65b9\u5f0f\u66b4\u9732\u660e\u663e\u4e0d\u8db3&#xff1a;\u4ea4\u4e92\u6548\u7387\u4f4e\u3001\u96be\u4ee5\u4fdd\u8bc1\u5b89\u5168\u3001\u4e0d\u540c\u5e73\u53f0\u4e00\u81f4\u6027\u96be\u4ee5\u7ef4\u62a4\u7b49\u95ee\u9898\u3002<\/p>\n<p>A2UI&#xff0c;\u662fAgent-to-User Interface Protocol\u7684\u7b80\u79f0&#xff0c;\u5b98\u7f51&#xff0c;\u7531Google\u53ca\u793e\u533a\u63a8\u8fdb\u7684\u5f00\u6e90&#xff08;GitHub&#xff0c;15.8K Star&#xff0c;1.2K Fork&#xff09;\u5f00\u653e\u534f\u8bae&#xff0c;\u65e8\u5728\u8ba9Agent\u80fd\u591f\u5b89\u5168\u3001\u901a\u7528\u5730\u751f\u6210\u53ef\u5728\u5ba2\u6237\u7aef\u539f\u751f\u6e32\u67d3\u7684\u590d\u6742\u7528\u6237\u754c\u9762&#xff0c;\u4ece\u800c\u4e3a\u667a\u80fd\u5e94\u7528\u5e26\u6765\u66f4\u6d41\u7545\u3001\u53ef\u63a7\u548c\u8de8\u5e73\u53f0\u7684\u4ea4\u4e92\u4f53\u9a8c\u3002\u4e2d\u6587\u6587\u6863&#xff0c;\u3002<\/p>\n<p>\u89e3\u51b3\u95ee\u9898&#xff1a;<\/p>\n<li>UI\u5b89\u5168\u6027&#xff1a;\u5728\u4ee5\u5f80Agent\u751f\u6210UI\u7684\u5c1d\u8bd5\u4e2d&#xff0c;\u8f93\u51faHTML\/JS\u4f1a\u5e26\u6765\u5b89\u5168\u98ce\u9669&#xff08;\u5982\u5305\u62ec\u6076\u610f\u811a\u672c\u7b49&#xff09;\u3002A2UI\u53ea\u5141\u8bb8Agent\u4f7f\u7528\u5ba2\u6237\u7aef\u201c\u53ef\u4fe1\u7ec4\u4ef6\u76ee\u5f55\u201d\u5185\u7684\u7ec4\u4ef6\u7c7b\u578b&#xff0c;\u4ece\u6839\u672c\u4e0a\u9694\u79bb\u5b89\u5168\u9690\u60a3\u3002<\/li>\n<li>\u8de8\u5e73\u53f0\u4e00\u81f4\u6027&#xff1a;\u4e0d\u540c\u5e73\u53f0&#xff08;Web\u3001\u79fb\u52a8\u3001\u684c\u9762&#xff09;\u4f7f\u7528\u4e0d\u540cUI\u6280\u672f\u6808\u3002A2UI\u62bd\u8c61\u51fa\u534f\u8bae\u5c42&#xff0c;\u5141\u8bb8\u540c\u6837\u7684\u754c\u9762\u5b9a\u4e49\u5728\u4e0d\u540c\u5e73\u53f0\u7edf\u4e00\u6e32\u67d3&#xff0c;\u786e\u4fdd\u4e00\u81f4\u6027\u5e76\u51cf\u5c11\u91cd\u590d\u5f00\u53d1\u3002<\/li>\n<li>\u4ea4\u4e92\u4e30\u5bcc\u6027\u4e0d\u8db3&#xff1a;\u6587\u672c\u4ea4\u4e92\u96be\u4ee5\u5b9e\u73b0\u590d\u6742\u7684\u7528\u6237\u8f93\u5165\u6216\u53cd\u9988&#xff08;\u5982\u8868\u5355\u9009\u62e9\u3001\u56fe\u8868\u5c55\u793a\u3001\u5730\u56fe\u4ea4\u4e92\u7b49&#xff09;\u3002A2UI\u901a\u8fc7\u7ed3\u6784\u5316\u7ec4\u4ef6\u63cf\u8ff0&#xff0c;\u4f7fAgent\u53ef\u751f\u6210\u66f4\u590d\u6742\u3001\u66f4\u5177\u4ea4\u4e92\u6027\u7684UI\u3002<\/li>\n<p>\u4e0d\u662f\u4e00\u4e2aUI\u6846\u67b6&#xff0c;\u800c\u662f\u58f0\u660e\u5f0fUI\u534f\u8bae&#xff0c;\u901a\u8fc7JSON\u6d88\u606f\u63cf\u8ff0\u754c\u9762\u7ed3\u6784\u548c\u72b6\u6001&#xff0c;\u7531\u5ba2\u6237\u7aef\u5e94\u7528\u6839\u636e\u5176\u672c\u5730\u7ec4\u4ef6\u5e93\u6e32\u67d3\u6210\u539f\u751fUI&#xff0c;\u800c\u4e0d\u662f\u6267\u884cAgent\u63d0\u4f9b\u7684\u4ee3\u7801\u3002\u4e0e\u4f20\u7edf\u76f4\u63a5\u8f93\u51faHTML\/JS\u6216\u901a\u8fc7iframe\u5d4c\u5165\u7684\u65b9\u5f0f\u4e0d\u540c&#xff0c;A2UI\u63d0\u4f9b\u4e00\u79cd\u5b89\u5168\u3001\u53ef\u63a7\u3001\u6846\u67b6\u65e0\u5173\u7684UI\u751f\u6210\u8def\u5f84\u3002<\/p>\n<p>\u5de5\u4f5c\u539f\u7406<\/p>\n<ul>\n<li>Agent\u751f\u6210UI\u63cf\u8ff0&#xff1a;Agent\u5728\u6267\u884c\u4efb\u52a1\u65f6\u751f\u6210\u7b26\u5408A2UI Schema\u7684JSON\u5bf9\u8c61&#xff0c;\u63cf\u8ff0\u7528\u6237\u9700\u8981\u770b\u5230\u7684\u5185\u5bb9\u3001\u8f93\u5165\u63a7\u4ef6\u548c\u64cd\u4f5c\u6309\u94ae<\/li>\n<li>\u5ba2\u6237\u7aef\u6e32\u67d3&#xff1a;\u524d\u7aef\u5e94\u7528&#xff08;Web\u3001\u79fb\u52a8\u7aef\u6216\u684c\u9762\u7aef&#xff09;\u63a5\u6536JSON\u63cf\u8ff0&#xff0c;\u5e76\u4f7f\u7528\u539f\u751f\u7ec4\u4ef6&#xff08;\u5982Angular\u3001React\u3001Flutter\u7b49&#xff09;\u6e32\u67d3UI&#xff0c;\u800c\u65e0\u9700\u6267\u884cAgent\u4ee3\u7801<\/li>\n<li>\u7528\u6237\u4ea4\u4e92&#xff1a;\u7528\u6237\u901a\u8fc7\u539f\u751fUI\u7ec4\u4ef6\u8fdb\u884c\u64cd\u4f5c&#xff0c;Agent\u63a5\u6536\u7528\u6237\u8f93\u5165\u5e76\u7ee7\u7eed\u751f\u6210\u65b0\u7684UI\u66f4\u65b0&#xff0c;\u5b9e\u73b0\u6d41\u5f0f\u3001\u6e10\u8fdb\u5f0f\u4ea4\u4e92<\/li>\n<\/ul>\n<p>\u6838\u5fc3\u7279\u6027<\/p>\n<ul>\n<li>\u5b89\u5168\u4f18\u5148&#xff1a;\u4f20\u8f93\u58f0\u660e\u6027\u6570\u636e&#xff08;JSON&#xff09;&#xff0c;\u800c\u4e0d\u662f\u53ef\u6267\u884c\u4ee3\u7801\u3002\u5ba2\u6237\u7aef\u6839\u636e\u9884\u5148\u6ce8\u518c\u7684\u7ec4\u4ef6\u76ee\u5f55\u51b3\u5b9a\u6e32\u67d3\u884c\u4e3a&#xff0c;\u4ece\u800c\u9632\u6b62\u4e0d\u53d7\u4fe1\u4efb\u4ee3\u7801\u6267\u884c\u4e0eUI\u6ce8\u5165\u98ce\u9669\u3002<\/li>\n<li>\u9762\u5411LLM\u751f\u6210&#xff1a;\u534f\u8bae\u91c7\u7528\u6241\u5e73\u5316\u3001\u53ef\u6d41\u5f0f\u66f4\u65b0\u7684JSON\u7ed3\u6784&#xff0c;\u65b9\u4fbfLLM\u9010\u6b65\u751f\u6210\u6216\u4fee\u6b63\u754c\u9762\u5b9a\u4e49&#xff0c;\u6709\u5229\u4e8e\u6e10\u8fdb\u5f0f\u6e32\u67d3\u548c\u53ca\u65f6\u53cd\u9988\u3002<\/li>\n<li>\u6846\u67b6\u65e0\u5173&#xff1a;\u540c\u4e00\u5957A2UI\u54cd\u5e94\u53ef\u4ee5\u5728\u4e0d\u540c\u524d\u7aef\u6846\u67b6\u73af\u5883\u4e0b\u6e32\u67d3&#xff0c;\u5982React\u3001Angular\u3001Flutter\u3001SwiftUI\u7b49&#xff0c;\u5ba2\u6237\u7aef\u8d1f\u8d23\u5c06\u62bd\u8c61\u7ec4\u4ef6\u6620\u5c04\u5230\u672c\u5730\u539f\u751f\u63a7\u4ef6\u3002<\/li>\n<li>\u6e10\u8fdb\u6e32\u67d3&#xff1a;UI\u53ef\u968f\u7740Agent\u7684\u751f\u6210\u8fc7\u7a0b\u9010\u6b65\u66f4\u65b0&#xff0c;\u800c\u4e0d\u662f\u7b49\u5f85\u6574\u4e2a\u754c\u9762\u5b9a\u4e49\u4f20\u8f93\u5b8c\u6210&#xff0c;\u63d0\u9ad8\u54cd\u5e94\u4f53\u9a8c\u3002<\/li>\n<\/ul>\n<p>\u4f18\u52bf<\/p>\n<ul>\n<li>\u5b89\u5168\u6027&#xff1a;\u58f0\u660e\u5f0f\u6570\u636e\u800c\u975e\u53ef\u6267\u884c\u4ee3\u7801&#xff0c;\u907f\u514dUI\u6ce8\u5165\u653b\u51fb\u548c\u4ee3\u7801\u6267\u884c\u98ce\u9669<\/li>\n<li>\u539f\u751f\u4f53\u9a8c&#xff1a;\u65e0\u9700iframe\u6216\u5d4c\u5165HTML\/JS&#xff0c;UI\u7ee7\u627f\u5e94\u7528\u6837\u5f0f\u3001\u53ef\u8bbf\u95ee\u6027\u548c\u6027\u80fd<\/li>\n<li>\u8de8\u5e73\u53f0\u53ef\u79fb\u690d\u6027&#xff1a;\u540c\u4e00JSON\u63cf\u8ff0\u53ef\u5728Web\u3001\u79fb\u52a8\u7aef\u548c\u684c\u9762\u7aef\u6e32\u67d3&#xff0c;\u6846\u67b6\u65e0\u5173<\/li>\n<li>\u9ad8\u6548\u4ea4\u4e92&#xff1a;\u51cf\u5c11\u4f20\u7edf\u6587\u672c\u5bf9\u8bdd\u7684\u4f4e\u6548\u6765\u56de&#xff0c;\u5982\u9884\u8ba2\u9910\u5385\u65f6&#xff0c;Agent\u53ef\u76f4\u63a5\u751f\u6210\u65e5\u671f\u9009\u62e9\u5668\u3001\u65f6\u95f4\u9009\u62e9\u5668\u548c\u63d0\u4ea4\u6309\u94ae\u7684\u8868\u5355&#xff0c;\u800c\u975e\u591a\u8f6e\u6587\u672c\u95ee\u7b54<\/li>\n<li>\u6e10\u8fdb\u5f0f\u6e32\u67d3&#xff1a;\u652f\u6301\u6d41\u5f0fUI\u66f4\u65b0&#xff0c;\u7528\u6237\u53ef\u5b9e\u65f6\u770b\u5230\u754c\u9762\u6784\u5efa\u8fc7\u7a0b<\/li>\n<\/ul>\n<p>\u6d41\u7a0b<\/p>\n<li>\u7528\u6237\u5411Agent\u53d1\u8d77\u8bf7\u6c42<\/li>\n<li>Agent\u8fd4\u56de\u4e00\u7cfb\u5217A2UI\u534f\u8bae\u6d88\u606f&#xff08;JSON&#xff09;\u63cf\u8ff0\u754c\u9762\u7ed3\u6784\u4e0e\u6570\u636e\u6a21\u578b<\/li>\n<li>\u5ba2\u6237\u7aef\u6839\u636e\u8fd9\u4e9b\u6d88\u606f\u4ee5\u672c\u5730\u539f\u751f\u7ec4\u4ef6\u6784\u5efa\u754c\u9762<\/li>\n<li>\u7528\u6237\u4e0e\u754c\u9762\u4ea4\u4e92\u4e8b\u4ef6\u53d1\u9001\u56deAgent<\/li>\n<li>Agent\u6839\u636e\u7528\u6237\u64cd\u4f5c&#xff0c;\u518d\u6b21\u53d1\u9001UI\u66f4\u65b0\u6d88\u606f<\/li>\n<p>\u6253\u7834\u4f20\u7edf\u4ee5\u6587\u672c\u4e3a\u4e3b\u7684\u4ea4\u4e92\u65b9\u5f0f&#xff0c;\u4f7fAgent\u5177\u5907\u751f\u6210\u52a8\u6001\u3001\u4e92\u52a8UI\u7684\u80fd\u529b&#xff0c;\u800c\u4e0d\u4ec5\u9650\u4e8e\u9759\u6001\u6587\u672c\u6216\u4ee3\u7801\u8f93\u51fa\u3002<\/p>\n<p>\u4f5c\u4e3aAgent-driven UI\u7684\u4ea4\u4e92\u534f\u8bae&#xff0c;\u5176\u8bbe\u8ba1\u539f\u5219\u5305\u62ec&#xff1a;<\/p>\n<ul>\n<li>\u5c06\u754c\u9762\u63cf\u8ff0\u4e0e\u6e32\u67d3\u5b9e\u73b0\u5b8c\u5168\u5206\u79bb&#xff1a;Agent\u53ea\u8d1f\u8d23\u63cf\u8ff0UI&#xff0c;\u5ba2\u6237\u7aef\u8d1f\u8d23\u6e32\u67d3\u3001\u6837\u5f0f\u3001\u6027\u80fd\u548c\u65e0\u969c\u788d\u652f\u6301\u7b49\u5b9e\u73b0\u7ec6\u8282\u3002<\/li>\n<li>\u652f\u6301\u6d41\u5f0f\u548c\u589e\u91cf\u66f4\u65b0&#xff1a;\u4e0e\u4f20\u7edf\u4e00\u6b21\u6027\u751f\u6210\u76f8\u6bd4&#xff0c;\u5141\u8bb8Agent\u8fb9\u751f\u6210\u8fb9\u66f4\u65b0\u754c\u9762&#xff0c;\u6709\u5229\u4e8e\u5feb\u901f\u4ea4\u4e92\u53cd\u9988\u3002<\/li>\n<li>\u7b80\u5316\u6a21\u578b\u751f\u6210\u96be\u5ea6&#xff1a;\u534f\u8bae\u7ed3\u6784\u5bf9\u5927\u578b\u8bed\u8a00\u6a21\u578b\u53cb\u597d&#xff0c;\u907f\u514d\u8f93\u51fa\u590d\u6742\u6216\u4e0d\u89c4\u8303\u7684JSON\u3002<\/li>\n<\/ul>\n<p>\u52a1\u865a&#xff0c;\u5bf9\u672a\u6765\u4ea7\u54c1\u8bbe\u8ba1\u7684\u5f71\u54cd<\/p>\n<li>\u4ece\u9759\u6001\u754c\u9762\u8bbe\u8ba1\u5411\u52a8\u6001\u751f\u6210\u8bbe\u8ba1\u8f6c\u53d8&#xff1a;\u4ea7\u54c1\u4e0d\u518d\u7531\u5f00\u53d1\u8005\u624b\u5de5\u5199\u6b7b\u754c\u9762\u5e03\u5c40&#xff0c;\u800c\u662f\u7531Agent\u6839\u636e\u7528\u6237\u610f\u56fe\u52a8\u6001\u751f\u6210&#xff0c;\u5927\u5e45\u63d0\u5347\u4ea4\u4e92\u667a\u80fd\u6027\u4e0e\u4e2a\u6027\u5316\u4f53\u9a8c\u3002<\/li>\n<li>\u8bbe\u8ba1\u7b56\u7565\u66f4\u5173\u6ce8\u4ea4\u4e92\u8bed\u4e49\u800c\u975e\u5e03\u5c40\u7ec6\u8282&#xff1a;\u56e0\u4e3a\u754c\u9762\u7531Agent\u4ee5\u534f\u8bae\u5f62\u5f0f\u63cf\u8ff0&#xff0c;\u8bbe\u8ba1\u5e08\u9700\u5173\u6ce8\u7ec4\u4ef6\u8bed\u4e49\u3001\u7528\u6237\u76ee\u6807\u6d41\u7a0b\u548c\u4f7f\u7528\u573a\u666f&#xff0c;\u800c\u975e\u5177\u4f53\u5143\u7d20\u4f4d\u7f6e\u3002<\/li>\n<li>\u6784\u5efa\u53ef\u7ec4\u5408\u7684\u7ec4\u4ef6\u76ee\u5f55\u6210\u4e3a\u6838\u5fc3\u8d44\u4ea7&#xff1a;\u5ba2\u6237\u7aef\u7684\u201c\u53ef\u4fe1\u7ec4\u4ef6\u76ee\u5f55\u201d\u51b3\u5b9aAgent\u80fd\u751f\u6210\u54ea\u4e9b\u754c\u9762\u548c\u4ea4\u4e92\u3002\u8bbe\u8ba1\u4f53\u7cfb\u3001\u7ec4\u4ef6\u5e93\u548c\u89c4\u8303\u9700\u4f18\u5148\u5b9a\u4e49\u53ef\u7ec4\u5408\u5355\u5143\u3002<\/li>\n<li>\u8de8\u5e73\u53f0\u4e00\u81f4\u6027\u53d8\u5f97\u66f4\u5bb9\u6613\u7ef4\u62a4&#xff1a;A2UI\u534f\u8bae\u5141\u8bb8\u4e0d\u540c\u5e73\u53f0\u4f7f\u7528\u7edf\u4e00\u5b9a\u4e49\u6e32\u67d3UI&#xff0c;\u5bf9\u8de8\u5e73\u53f0\u4ea7\u54c1\u5f00\u53d1\u5177\u6709\u91cd\u8981\u610f\u4e49&#xff0c;\u53ef\u5927\u5e45\u964d\u4f4e\u91cd\u590d\u5f00\u53d1\u548c\u7ef4\u62a4\u6210\u672c\u3002<\/li>\n<li>\u5b89\u5168\u4e0e\u4f53\u9a8c\u4e0d\u518d\u5bf9\u7acb&#xff1a;\u6570\u636e\u800c\u975e\u4ee3\u7801\u7684\u65b9\u5f0f\u4fdd\u969c\u5b89\u5168\u8fb9\u754c&#xff0c;\u5141\u8bb8Agent\u751f\u6210\u590d\u6742\u4ea4\u4e92\u754c\u9762&#xff0c;\u4e0d\u727a\u7272\u7528\u6237\u4f53\u9a8c\u3002<\/li>\n<p>A2UI\u7279\u522b\u9002\u7528\u4e8e\u591aAgent\u7cfb\u7edf\u548c\u5206\u5e03\u5f0f\u67b6\u6784&#xff0c;Agent\u901a\u5e38\u8fdc\u7a0b\u8fd0\u884c&#xff0c;\u65e0\u6cd5\u76f4\u63a5\u64cd\u4f5cUI&#xff0c;\u901a\u8fc7A2UI\u6d88\u606f\u5b89\u5168\u5730\u4f20\u9012UI\u63cf\u8ff0&#xff0c;\u5b9e\u73b0\u8de8\u4fe1\u4efb\u8fb9\u754c\u7684\u4ea4\u4e92\u3002\u5178\u578b\u573a\u666f\u5305\u62ec\u667a\u80fd\u52a9\u7406\u3001\u4efb\u52a1\u7ba1\u7406\u3001\u9884\u8ba2\u7cfb\u7edf\u548c\u4f01\u4e1a\u5185\u90e8Agent\u5e73\u53f0\u3002<\/p>\n<h3>\u6838\u5fc3\u7406\u5ff5<\/h3>\n<p>A2UI\u56f4\u7ed5\u4e09\u4e2a\u6838\u5fc3\u7406\u5ff5\u6784\u5efa&#xff1a;<\/p>\n<ul>\n<li>\u6d41\u5f0f\u6d88\u606f&#xff1a;UI\u66f4\u65b0\u4f5c\u4e3a\u4e00\u7cfb\u5217JSON\u6d88\u606f\u4ece\u4ee3\u7406\u6d41\u5411\u5ba2\u6237\u7aef<\/li>\n<li>\u58f0\u660e\u5f0f\u7ec4\u4ef6&#xff1a;UI\u88ab\u63cf\u8ff0\u4e3a\u6570\u636e&#xff0c;\u800c\u975e\u7f16\u5199\u4e3a\u4ee3\u7801<\/li>\n<li>\u6570\u636e\u7ed1\u5b9a&#xff1a;UI\u7ed3\u6784\u4e0e\u5e94\u7528\u7a0b\u5e8f\u72b6\u6001\u5206\u79bb&#xff0c;\u5b9e\u73b0\u54cd\u5e94\u5f0f\u66f4\u65b0<\/li>\n<\/ul>\n<p>\u4f7f\u7528\u56db\u79cd\u6d88\u606f\u7c7b\u578b&#xff1a;<\/p>\n<ul>\n<li>surfaceUpdate&#xff1a;\u5b9a\u4e49\u6216\u66f4\u65b0UI\u7ec4\u4ef6<\/li>\n<li>dataModelUpdate&#xff1a;\u66f4\u65b0\u5e94\u7528\u7a0b\u5e8f\u72b6\u6001<\/li>\n<li>beginRendering&#xff1a;\u4fe1\u53f7\u5ba2\u6237\u7aef\u8fdb\u884c\u6e32\u67d3<\/li>\n<li>deleteSurface&#xff1a;\u79fb\u9664UI\u8868\u9762<\/li>\n<\/ul>\n<p>\u4f7f\u7528\u90bb\u63a5\u8868\u6a21\u578b\u6765\u8868\u793a\u7ec4\u4ef6\u5c42\u6b21\u7ed3\u6784\u3002\u7ec4\u4ef6\u4e0d\u662f\u5d4c\u5957JSON\u6811&#xff0c;\u800c\u662f\u5e26\u6709ID\u5f15\u7528\u7684\u6241\u5e73\u5217\u8868\u3002\u4f20\u7edf\u5d4c\u5957\u65b9\u6cd5&#xff1a;<\/p>\n<ul>\n<li>LLM\u5fc5\u987b\u4e00\u6b21\u6027\u751f\u6210\u5b8c\u7f8e\u7684\u5d4c\u5957\u7ed3\u6784<\/li>\n<li>\u96be\u4ee5\u66f4\u65b0\u6df1\u5c42\u5d4c\u5957\u7684\u7ec4\u4ef6<\/li>\n<li>\u96be\u4ee5\u589e\u91cf\u6d41\u5f0f\u4f20\u8f93<\/li>\n<\/ul>\n<p>A2UI\u90bb\u63a5\u8868&#xff1a;<\/p>\n<ul>\n<li>\u6241\u5e73\u7ed3\u6784&#xff0c;\u6613\u4e8eLLM\u751f\u6210<\/li>\n<li>\u589e\u91cf\u53d1\u9001\u7ec4\u4ef6<\/li>\n<li>\u901a\u8fc7ID\u66f4\u65b0\u4efb\u4f55\u7ec4\u4ef6<\/li>\n<li>\u6e05\u6670\u5206\u79bb\u7ed3\u6784\u548c\u6570\u636e<\/li>\n<\/ul>\n<p>\u5b9a\u4e49\u6309\u7528\u9014\u7ec4\u7ec7\u7684\u6807\u51c6\u7ec4\u4ef6\u76ee\u5f55&#xff1a;<\/p>\n<ul>\n<li>\u5e03\u5c40&#xff1a;Row\u3001Column\u3001List&#xff0c;\u7528\u4e8e\u6392\u5217\u5176\u4ed6\u7ec4\u4ef6<\/li>\n<li>\u5c55\u793a&#xff1a;Text\u3001Image\u3001Icon\u3001Video\u3001Divider&#xff0c;\u7528\u4e8e\u663e\u793a\u4fe1\u606f<\/li>\n<li>\u4ea4\u4e92&#xff1a;Button\u3001TextField\u3001CheckBox\u3001DateTimeInput\u3001Slider&#xff0c;\u7528\u4e8e\u7528\u6237\u8f93\u5165<\/li>\n<li>\u5bb9\u5668&#xff1a;Card\u3001Tabs\u3001Modal&#xff0c;\u7528\u4e8e\u5206\u7ec4\u548c\u7ec4\u7ec7\u5185\u5bb9<\/li>\n<\/ul>\n<p>\u6570\u636e\u7ed1\u5b9a\u4f7f\u7528JSON Pointer\u8def\u5f84(RFC 6901)\u5c06UI\u7ec4\u4ef6\u8fde\u63a5\u5230\u5e94\u7528\u7a0b\u5e8f\u72b6\u6001\u3002\u8fd9\u4f7f\u5f97A2UI\u80fd\u591f\u9ad8\u6548\u5730\u5b9a\u4e49\u5927\u578b\u6570\u636e\u6570\u7ec4\u7684\u5e03\u5c40&#xff0c;\u6216\u5728\u4e0d\u4ece\u5934\u91cd\u65b0\u751f\u6210\u7684\u60c5\u51b5\u4e0b\u663e\u793a\u66f4\u65b0\u7684\u5185\u5bb9\u3002<\/p>\n<h2>AG-UI<\/h2>\n<p>Agent-User Interaction Protocol\u7b80\u79f0&#xff0c;\u5b98\u7f51&#xff0c;CopilotKit\u4e3b\u5bfc\u5f00\u6e90&#xff08;GitHub&#xff0c;14.9K Star&#xff0c;1.4K Fork&#xff09;\u8f7b\u91cf\u7ea7\u7684\u3001\u4e8b\u4ef6\u9a71\u52a8\u7684Agent-\u7528\u6237\u4ea4\u4e92\u534f\u8bae&#xff0c;\u4e13\u95e8\u4e3a\u628aAgent\u63a5\u5165\u524d\u7aef\u5e94\u7528\u800c\u8bbe\u8ba1\u3002\u6838\u5fc3\u529f\u80fd\u662f\u6807\u51c6\u5316Agent\u540e\u7aef\u548c\u524d\u7aef\u5e94\u7528\u7684\u8fde\u63a5\u65b9\u5f0f&#xff0c;Agent\u6267\u884c\u65f6\u53d1\u9001~16\u79cd\u6807\u51c6\u4e8b\u4ef6\u7c7b\u578b&#xff0c;\u524d\u7aef\u81ea\u52a8\u6e32\u67d3\u6210\u5b9e\u65f6\u804a\u5929\u3001\u8fdb\u5ea6\u63d0\u793a\u3001\u751f\u6210\u5f0fUI&#xff0c;\u652f\u6301\u53cc\u5411\u72b6\u6001\u540c\u6b65\u3001\u4eba\u673a\u534f\u4f5c\u3001\u524d\u7aef\u5de5\u5177\u96c6\u6210&#xff0c;\u5185\u7f6e\u4e2d\u95f4\u4ef6\u5c42\u517c\u5bb9SSE\u3001WebSocket\u3001Webhook\u7b49\u5404\u79cd\u4f20\u8f93\u65b9\u5f0f&#xff0c;LangGraph\u548cCrewAI\u5b98\u65b9\u5408\u4f5c\u96c6\u6210&#xff0c;\u652f\u6301Microsoft Agent Framework\u3001Google ADK\u3001Pydantic AI\u7b49\u5341\u51e0\u4e2a\u4e3b\u6d41\u6846\u67b6&#xff0c;npx\u4e00\u6761\u547d\u4ee4\u521b\u5efa\u9879\u76ee\u6a21\u677f\u79d2\u4e0a\u624b\u3002\u5b98\u65b9\u6587\u6863\u3002<\/p>\n<p>\u667a\u80fd\u4f53\u534f\u8bae\u6808 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260726072754-6a65b6fa3cf29.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u53c2\u8003MCP\u3001ACP\u3001A2A\u3001AG-UI\u3001ANP\u6982\u8ff0\u3002<\/p>\n<p>\u6838\u5fc3\u4f18\u52bf&#xff1a;<\/p>\n<ul>\n<li>\u524d\u7aef\u81ea\u7531\u5ea6\u6700\u5927\u5316&#xff1a;\u540c\u4e00\u4e2aAgent\u53ef\u5bf9\u63a5Web\u3001Mobile\u3001CLI\u7b49\u4e0d\u540c\u5ba2\u6237\u7aef<\/li>\n<li>\u5b9e\u65f6\u6027\u6781\u5f3a&#xff1a;\u57fa\u4e8e\u6d41\u5f0f\u4e8b\u4ef6&#xff0c;\u7528\u6237\u80fd\u770b\u5230Agent\u601d\u8003\u7684\u6bcf\u4e00\u6b65<\/li>\n<li>\u4e0e\u73b0\u6709\u5e94\u7528\u6df1\u5ea6\u96c6\u6210&#xff1a;Agent\u53ef\u9a71\u52a8\u73b0\u6709UI\u7684\u72b6\u6001\u53d8\u5316<\/li>\n<\/ul>\n<p>\u6838\u5fc3\u529f\u80fd<\/p>\n<ul>\n<li>\u6781\u7b80&#xff1a;\u4e00\u6761\u547d\u4ee4\u521b\u5efa\u9879\u76ee\u751f\u6210\u6a21\u677f&#xff0c;\u4e0d\u7528\u4ece\u5934\u914d\u7f6eAgent\u548c\u524d\u7aef\u7684\u8fde\u63a5&#xff0c;\u6284\u793a\u4f8b\u5c31\u80fd\u8dd1<\/li>\n<li>\u6807\u51c6\u4e8b\u4ef6\u7c7b\u578b&#xff1a;Agent\u6267\u884c\u65f6\u53d1\u9001AgentStateMessage\u3001ToolCall\u3001ActionRequest\u7b49\u4e8b\u4ef6&#xff0c;\u524d\u7aef\u81ea\u52a8\u6e32\u67d3\u6210\u5bf9\u5e94UI\u7ec4\u4ef6&#xff0c;\u6d41\u5f0f\u804a\u5929\u3001\u8fdb\u5ea6\u6761\u3001\u786e\u8ba4\u5f39\u7a97\u5168\u81ea\u52a8<\/li>\n<li>\u53cc\u5411\u72b6\u6001\u540c\u6b65&#xff1a;Agent\u80fd\u8bfb\u53d6\u524d\u7aef\u5b9e\u65f6\u4e0a\u4e0b\u6587(\u7528\u6237\u6b63\u5728\u770b\u4ec0\u4e48\u9875\u9762\u3001\u8f93\u5165\u6846\u5185\u5bb9)&#xff0c;\u524d\u7aef\u4e5f\u80fd\u5b9e\u65f6\u62ff\u5230Agent\u72b6\u6001&#xff0c;\u4e0d\u7528\u624b\u52a8\u5199\u72b6\u6001\u7ba1\u7406<\/li>\n<li>\u751f\u6210\u5f0fUI\u652f\u6301&#xff1a;Agent\u53ef\u52a8\u6001\u751f\u6210React\u7ec4\u4ef6\u53d1\u7ed9\u524d\u7aef&#xff0c;\u804a\u5929\u6846\u91cc\u5d4c\u5165\u8868\u683c\u3001\u56fe\u8868\u3001\u8868\u5355&#xff0c;\u6bd4\u7eaf\u6587\u672c\u4ea4\u4e92\u4f53\u9a8c\u597d10\u500d<\/li>\n<li>\u4eba\u673a\u534f\u4f5c\u6a21\u5f0f&#xff1a;Agent\u9047\u5230\u5173\u952e\u51b3\u7b56\u53ef\u8bf7\u6c42\u4eba\u7c7b\u786e\u8ba4&#xff0c;\u524d\u7aef\u81ea\u52a8\u5f39\u7a97\u7b49\u5f85\u7528\u6237\u9009\u62e9&#xff0c;\u786e\u8ba4\u540eAgent\u7ee7\u7eed\u6267\u884c<\/li>\n<li>\u524d\u7aef\u5de5\u5177\u96c6\u6210&#xff1a;Agent\u80fd\u8c03\u7528\u524d\u7aef\u5b9a\u4e49\u7684\u5de5\u5177\u51fd\u6570&#xff0c;\u76f4\u63a5\u64cd\u4f5c\u6d4f\u89c8\u5668\u3001\u8bfb\u53d6\u672c\u5730\u5b58\u50a8\u3001\u89e6\u53d1\u9875\u9762\u8df3\u8f6c&#xff0c;\u80fd\u529b\u65e0\u7f1d\u6269\u5c55<\/li>\n<li>\u6846\u67b6\u65e0\u5173\u4e2d\u95f4\u4ef6&#xff1b;\u517c\u5bb9SSE\u3001WebSocket\u3001Webhook\u7b49\u4f20\u8f93\u65b9\u5f0f&#xff0c;\u677e\u6563\u7684\u4e8b\u4ef6\u683c\u5f0f\u5339\u914d&#xff0c;\u4e0d\u540cAgent\u6846\u67b6\u90fd\u80fd\u63a5\u5165<\/li>\n<li>\u591a\u8bed\u8a00SDK&#xff1a;\u63d0\u4f9bKotlin\u3001Golang\u3001Dart\u3001Java\u3001Rust\u7b49\u793e\u533aSDK&#xff0c;\u4e0d\u53ea\u662f\u524d\u7aef\u534f\u8bae&#xff0c;\u540e\u7aef\u4e5f\u80fd\u7528<\/li>\n<\/ul>\n<p>\u6280\u672f\u7279\u8272<\/p>\n<ul>\n<li>\u4e8b\u4ef6\u9a71\u52a8\u67b6\u6784&#xff1a;Agent\u4e0d\u76f4\u63a5\u8c03\u7528\u524d\u7aefAPI&#xff0c;\u800c\u662f\u53d1\u9001\u6807\u51c6\u4e8b\u4ef6&#xff0c;\u524d\u7aef\u8ba2\u9605\u4e8b\u4ef6\u81ea\u52a8\u66f4\u65b0UI&#xff0c;\u89e3\u8026\u5ea6\u9ad8\u53ef\u7ef4\u62a4\u6027\u5f3a<\/li>\n<li>\u534f\u8bae\u5c42\u677e\u6563\u5339\u914d&#xff1a;\u4e0d\u8981\u6c42\u4e8b\u4ef6\u683c\u5f0f\u4e25\u683c\u4e00\u81f4&#xff0c;\u5141\u8bb8\u5b57\u6bb5\u7f3a\u5931\u6216\u989d\u5916\u5b57\u6bb5&#xff0c;\u4e0d\u540cAgent\u6846\u67b6\u90fd\u80fd\u63a5\u5165<\/li>\n<li>\u4e2d\u95f4\u4ef6\u5c42\u7075\u6d3b\u6269\u5c55&#xff1a;\u4f20\u8f93\u5c42\u3001\u5e8f\u5217\u5316\u3001\u8ba4\u8bc1\u3001\u65e5\u5fd7\u90fd\u53ef\u63d2\u62d4\u5f0f\u66ff\u6362&#xff0c;\u9002\u914d\u5404\u79cd\u90e8\u7f72\u73af\u5883<\/li>\n<li>\u524d\u7aef\u4e0a\u4e0b\u6587\u5b9e\u65f6\u5171\u4eab&#xff1a;Agent\u80fd\u62ff\u5230\u7528\u6237\u5f53\u524d\u9875\u9762\u3001\u8f93\u5165\u5185\u5bb9\u3001\u9009\u4e2d\u6587\u672c\u7b49\u5b9e\u65f6\u4fe1\u606f&#xff0c;\u7406\u89e3\u7528\u6237\u610f\u56fe\u66f4\u51c6\u786e<\/li>\n<li>A2A\u534f\u8bae\u96c6\u6210&#xff1a;AG-UI\u652f\u6301A2A\u901a\u4fe1\u534f\u8bae&#xff0c;\u591aAgent\u7cfb\u7edf\u524d\u7aef\u4ea4\u4e92\u65e0\u7f1d\u5bf9\u63a5<\/li>\n<\/ul>\n<p>\u5b9e\u9645\u5e94\u7528\u573a\u666f<\/p>\n<ul>\n<li>\u5f00\u53d1\u6587\u6863\u52a9\u624bAgent&#xff0c;\u7528\u6237\u5728\u7f51\u9875\u7f16\u8f91\u6587\u6863\u65f6Agent\u5b9e\u65f6\u63d0\u4f9b\u5efa\u8bae&#xff0c;AG-UI\u628aAgent\u7684\u5efa\u8bae\u6d41\u5f0f\u6e32\u67d3\u5230\u4fa7\u8fb9\u680f&#xff0c;\u7528\u6237\u70b9\u51fb\u786e\u8ba4\u5c31\u63d2\u5165\u5185\u5bb9<\/li>\n<li>\u505a\u6570\u636e\u5206\u6790\u5e94\u7528&#xff0c;Agent\u8dd1\u590d\u6742\u67e5\u8be2\u65f6\u7528\u6237\u770b\u4e0d\u5230\u8fdb\u5ea6\u5f88\u7126\u8651&#xff0c;\u73b0\u5728Agent\u53d1\u9001ProgressMessage\u4e8b\u4ef6\u524d\u7aef\u81ea\u52a8\u663e\u793a\u8fdb\u5ea6\u6761&#xff0c;&#034;\u6b63\u5728\u5904\u7406\u7b2c3\/5\u6b65&#034;\u4e00\u76ee\u4e86\u7136<\/li>\n<li>\u6784\u5efa\u7535\u5546\u63a8\u8350Agent&#xff0c;Agent\u751f\u6210\u5546\u54c1\u63a8\u8350\u65f6\u4e0d\u53ea\u8fd4\u56de\u6587\u672c&#xff0c;\u53d1\u9001\u751f\u6210\u5f0fUI\u4e8b\u4ef6\u524d\u7aef\u76f4\u63a5\u6e32\u67d3\u5546\u54c1\u5361\u7247&#xff0c;\u70b9\u51fb\u5c31\u80fd\u52a0\u8d2d\u7269\u8f66<\/li>\n<li>\u56e2\u961f\u534f\u4f5c\u5de5\u5177\u91cc\u63a5\u5165Agent&#xff0c;Agent\u8981\u5220\u9664\u91cd\u8981\u6570\u636e\u65f6\u8bf7\u6c42\u4eba\u7c7b\u786e\u8ba4&#xff0c;\u524d\u7aef\u81ea\u52a8\u5f39\u7a97\u663e\u793a\u64cd\u4f5c\u8be6\u60c5\u7b49\u5f85\u7528\u6237\u51b3\u7b56&#xff0c;\u907f\u514d\u8bef\u64cd\u4f5c<\/li>\n<li>\u591aAgent\u7f16\u6392\u7cfb\u7edf&#xff0c;LangGraph\u5b9a\u4e49\u7684\u5de5\u4f5c\u6d41\u63a5\u5165AG-UI&#xff0c;\u6bcf\u4e2a\u5b50Agent\u7684\u6267\u884c\u72b6\u6001\u90fd\u5b9e\u65f6\u540c\u6b65\u5230\u524d\u7aef\u770b\u677f&#xff0c;\u8c03\u8bd5\u6548\u7387\u7ffb\u500d<\/li>\n<\/ul>\n<h3>\u4e8b\u4ef6\u7c7b\u578b\u7cfb\u7edf<\/h3>\n<p>\u53c2\u8003\u6e90\u7801ag-ui\/sdks\/typescript\/packages\/core\/src\/events.ts&#xff0c;\u589e\u52a0\u6ce8\u91ca&#xff1a;<\/p>\n<p><span class=\"token keyword\">export<\/span> <span class=\"token keyword\">enum<\/span> EventType <span class=\"token punctuation\">{<\/span><br \/>\n<span class=\"token comment\">\/\/ \u6587\u672c\u6d88\u606f&#xff08;\u6d41\u5f0f&#xff09;<\/span><br \/>\n  <span class=\"token constant\">TEXT_MESSAGE_START<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#034;TEXT_MESSAGE_START&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token constant\">TEXT_MESSAGE_CONTENT<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#034;TEXT_MESSAGE_CONTENT&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token constant\">TEXT_MESSAGE_END<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#034;TEXT_MESSAGE_END&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token constant\">TEXT_MESSAGE_CHUNK<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#034;TEXT_MESSAGE_CHUNK&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token comment\">\/\/ \u5de5\u5177\u8c03\u7528<\/span><br \/>\n  <span class=\"token constant\">TOOL_CALL_START<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#034;TOOL_CALL_START&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token constant\">TOOL_CALL_ARGS<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#034;TOOL_CALL_ARGS&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token constant\">TOOL_CALL_END<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#034;TOOL_CALL_END&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token constant\">TOOL_CALL_CHUNK<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#034;TOOL_CALL_CHUNK&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token constant\">TOOL_CALL_RESULT<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#034;TOOL_CALL_RESULT&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token comment\">\/\/ \u601d\u8003\u8fc7\u7a0b&#xff08;\u53ef\u9009\u66b4\u9732&#xff09;\u3002\u5df2\u5e9f\u5f03&#xff0c;\u4f7f\u7528REASONING_START&#xff0c;1.0.0\u7248\u672c\u79fb\u9664<\/span><br \/>\n  <span class=\"token constant\">THINKING_START<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#034;THINKING_START&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token comment\">\/\/ \u5df2\u5e9f\u5f03&#xff0c;\u4f7f\u7528REASONING_END&#xff0c;\u540c\u4e0a<\/span><br \/>\n  <span class=\"token constant\">THINKING_END<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#034;THINKING_END&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token comment\">\/\/ \u5df2\u5e9f\u5f03&#xff0c;\u4f7f\u7528REASONING_MESSAGE_START&#xff0c;\u540c\u4e0a<\/span><br \/>\n  <span class=\"token constant\">THINKING_TEXT_MESSAGE_START<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#034;THINKING_TEXT_MESSAGE_START&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token comment\">\/\/ \u5df2\u5e9f\u5f03&#xff0c;\u4f7f\u7528REASONING_MESSAGE_CONTENT&#xff0c;\u540c\u4e0a<\/span><br \/>\n  <span class=\"token constant\">THINKING_TEXT_MESSAGE_CONTENT<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#034;THINKING_TEXT_MESSAGE_CONTENT&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token comment\">\/\/ \u5df2\u5e9f\u5f03&#xff0c;\u4f7f\u7528REASONING_MESSAGE_END&#xff0c;\u540c\u4e0a<\/span><br \/>\n  <span class=\"token constant\">THINKING_TEXT_MESSAGE_END<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#034;THINKING_TEXT_MESSAGE_END&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token comment\">\/\/ \u72b6\u6001\u7ba1\u7406<\/span><br \/>\n  <span class=\"token constant\">STATE_SNAPSHOT<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#034;STATE_SNAPSHOT&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token constant\">STATE_DELTA<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#034;STATE_DELTA&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token constant\">MESSAGES_SNAPSHOT<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#034;MESSAGES_SNAPSHOT&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token comment\">\/\/ \u6d3b\u52a8\u72b6\u6001&#xff0c;\u7528\u4e8eUI\u5c55\u793a<\/span><br \/>\n  <span class=\"token constant\">ACTIVITY_SNAPSHOT<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#034;ACTIVITY_SNAPSHOT&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token constant\">ACTIVITY_DELTA<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#034;ACTIVITY_DELTA&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token constant\">RAW<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#034;RAW&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token constant\">CUSTOM<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#034;CUSTOM&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token comment\">\/\/ \u751f\u547d\u5468\u671f&#xff1a;5\u4e2a<\/span><br \/>\n  <span class=\"token constant\">RUN_STARTED<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#034;RUN_STARTED&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token constant\">RUN_FINISHED<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#034;RUN_FINISHED&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token constant\">RUN_ERROR<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#034;RUN_ERROR&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token constant\">STEP_STARTED<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#034;STEP_STARTED&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token constant\">STEP_FINISHED<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#034;STEP_FINISHED&#034;<\/span><span class=\"token punctuation\">,<\/span><\/p>\n<p>  <span class=\"token constant\">REASONING_START<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#034;REASONING_START&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token constant\">REASONING_MESSAGE_START<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#034;REASONING_MESSAGE_START&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token constant\">REASONING_MESSAGE_CONTENT<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#034;REASONING_MESSAGE_CONTENT&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token constant\">REASONING_MESSAGE_END<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#034;REASONING_MESSAGE_END&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token constant\">REASONING_MESSAGE_CHUNK<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#034;REASONING_MESSAGE_CHUNK&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token constant\">REASONING_END<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#034;REASONING_END&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token constant\">REASONING_ENCRYPTED_VALUE<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#034;REASONING_ENCRYPTED_VALUE&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<h3>\u5b9e\u6218<\/h3>\n<p>\u5b89\u88c5<\/p>\n<p><span class=\"token comment\"># \u5b89\u88c5AG-UI\u6838\u5fc3\u5e93<\/span><br \/>\n<span class=\"token function\">npm<\/span> <span class=\"token function\">install<\/span> &#064;ag-ui\/core<br \/>\n<span class=\"token comment\"># \u4e00\u6761\u547d\u4ee4\u521b\u5efaAG-UI\u5e94\u7528<\/span><br \/>\nnpx create-ag-ui-app my-agent-app<br \/>\n<span class=\"token builtin class-name\">cd<\/span> my-agent-app<br \/>\n<span class=\"token function\">npm<\/span> <span class=\"token function\">install<\/span><br \/>\n<span class=\"token function\">npm<\/span> rundev<\/p>\n<p>\u64cd\u4f5c\u8fc7\u7a0b\u793a\u4f8b&#xff1a; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260726072754-6a65b6fa77509.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u9009\u62e9\u667a\u80fd\u4f53\u6846\u67b6 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260726072754-6a65b6fa8f050.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u9700\u914d\u7f6eLLM API Key&#xff1a; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260726072754-6a65b6fac991f.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u6267\u884cnpm run dev\u547d\u4ee4&#xff0c;\u6253\u5f00\u6d4f\u89c8\u5668\u8bbf\u95eehttp:\/\/localhost:3000&#xff1a; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260726072754-6a65b6fad82d5.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u540c\u65f6&#xff0c;\u672c\u5730\u5c06\u751f\u6210\u5982\u4e0b\u6587\u4ef6&#xff08;\u5939&#xff09;&#xff1a; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260726072755-6a65b6fb27b56.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u4f7f\u7528CopilotKit\u5ba2\u6237\u7aef&#xff0c;React\u63a5\u5165\u793a\u4f8b<\/p>\n<h4>Python\u96c6\u6210<\/h4>\n<p>\u57fa\u4e8epip\u5b89\u88c5&#xff1a;pip install ag-ui-python<\/p>\n<p>LangGraph\u96c6\u6210\u793a\u4f8b<\/p>\n<p><span class=\"token keyword\">from<\/span> langgraph<span class=\"token punctuation\">.<\/span>prebuilt <span class=\"token keyword\">import<\/span> create_react_agent<br \/>\n<span class=\"token keyword\">from<\/span> langchain_openai <span class=\"token keyword\">import<\/span> ChatOpenAI<br \/>\n<span class=\"token keyword\">from<\/span> ag_ui <span class=\"token keyword\">import<\/span> AGUIMiddleware<br \/>\n<span class=\"token comment\"># \u521b\u5efaLangGraph Agent<\/span><br \/>\nllm <span class=\"token operator\">&#061;<\/span> ChatOpenAI<span class=\"token punctuation\">(<\/span>model<span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;gpt-4&#034;<\/span><span class=\"token punctuation\">)<\/span><br \/>\nagent <span class=\"token operator\">&#061;<\/span> create_react_agent<span class=\"token punctuation\">(<\/span>llm<span class=\"token punctuation\">,<\/span> tools<span class=\"token operator\">&#061;<\/span><span class=\"token punctuation\">[<\/span><span class=\"token punctuation\">.<\/span><span class=\"token punctuation\">.<\/span><span class=\"token punctuation\">.<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">)<\/span><br \/>\n<span class=\"token comment\"># \u5305\u88c5AG-UI\u4e2d\u95f4\u4ef6<\/span><br \/>\nag_ui <span class=\"token operator\">&#061;<\/span> AGUIMiddleware<span class=\"token punctuation\">(<\/span>agent<span class=\"token punctuation\">)<\/span><br \/>\n<span class=\"token comment\"># \u542f\u52a8HTTP\u670d\u52a1\u5668<\/span><br \/>\nag_ui<span class=\"token punctuation\">.<\/span>serve<span class=\"token punctuation\">(<\/span>port<span class=\"token operator\">&#061;<\/span><span class=\"token number\">8000<\/span><span class=\"token punctuation\">)<\/span><br \/>\n<span class=\"token comment\"># \u524d\u7aef\u81ea\u52a8\u8fde\u63a5\u5230 http:\/\/localhost:8000<\/span><br \/>\n<span class=\"token comment\"># \u652f\u6301\u6d41\u5f0f\u8f93\u51fa\u3001\u8fdb\u5ea6\u63d0\u793a\u3001\u4eba\u673a\u534f\u4f5c<\/span><\/p>\n<p>CrewAI\u96c6\u6210\u793a\u4f8b&#xff1a;<\/p>\n<p><span class=\"token keyword\">from<\/span> crewai <span class=\"token keyword\">import<\/span> Crew<span class=\"token punctuation\">,<\/span> Agent<span class=\"token punctuation\">,<\/span> Task<br \/>\n<span class=\"token keyword\">from<\/span> ag_ui <span class=\"token keyword\">import<\/span> CrewAIAdapter<br \/>\n<span class=\"token comment\"># \u5b9a\u4e49CrewAI\u56e2\u961f<\/span><br \/>\nresearcher <span class=\"token operator\">&#061;<\/span> Agent<span class=\"token punctuation\">(<\/span>role<span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;\u7814\u7a76\u5458&#034;<\/span><span class=\"token punctuation\">,<\/span> goal<span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;\u6536\u96c6\u6570\u636e&#034;<\/span><span class=\"token punctuation\">)<\/span><br \/>\nwriter <span class=\"token operator\">&#061;<\/span> Agent<span class=\"token punctuation\">(<\/span>role<span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;\u5199\u624b&#034;<\/span><span class=\"token punctuation\">,<\/span> goal<span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;\u64b0\u5199\u62a5\u544a&#034;<\/span><span class=\"token punctuation\">)<\/span><br \/>\ncrew <span class=\"token operator\">&#061;<\/span> Crew<span class=\"token punctuation\">(<\/span>agents<span class=\"token operator\">&#061;<\/span><span class=\"token punctuation\">[<\/span>researcher<span class=\"token punctuation\">,<\/span> writer<span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">,<\/span> tasks<span class=\"token operator\">&#061;<\/span><span class=\"token punctuation\">[<\/span><span class=\"token punctuation\">.<\/span><span class=\"token punctuation\">.<\/span><span class=\"token punctuation\">.<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">)<\/span><br \/>\n<span class=\"token comment\"># \u96c6\u6210AG-UI<\/span><br \/>\nadapter <span class=\"token operator\">&#061;<\/span> CrewAIAdapter<span class=\"token punctuation\">(<\/span>crew<span class=\"token punctuation\">)<\/span><br \/>\nadapter<span class=\"token punctuation\">.<\/span>run_with_ui<span class=\"token punctuation\">(<\/span>inputs<span class=\"token operator\">&#061;<\/span><span class=\"token punctuation\">{<\/span><span class=\"token string\">&#034;topic&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#034;AI\u8d8b\u52bf&#034;<\/span><span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">)<\/span><br \/>\n<span class=\"token comment\"># \u524d\u7aef\u5b9e\u65f6\u663e\u793a\u6bcf\u4e2aAgent\u7684\u6267\u884c\u72b6\u6001<\/span><br \/>\n<span class=\"token comment\"># \u81ea\u52a8\u6e32\u67d3\u751f\u6210\u5f0fUI(\u6570\u636e\u8868\u683c\u3001\u56fe\u8868)<\/span><\/p>\n<h3>A2UI Composer<\/h3>\n<p>\u5b98\u7f51&#xff0c;\u4e00\u4e2a\u7531CopilotKit\u56e2\u961f&#xff08;AG-UI\u7684\u4e3b\u5bfc\u8005&#xff09;\u6784\u5efa\u7684A2UI\u53ef\u89c6\u5316\u6784\u5efa\u5de5\u5177&#xff0c;\u4f7f\u7528AG-UI\u534f\u8bae\u4e0e\u540e\u7aef\u901a\u4fe1&#xff0c;\u6765\u751f\u6210\u548c\u6d4b\u8bd5\u7b26\u5408Google A2UI\u89c4\u8303\u7684JSON\u3002<\/p>\n<p>\u804a\u5929\u5f0f\u751f\u6210UI\u754c\u9762\u5165\u53e3<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260726072755-6a65b6fb36c40.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u4fa7\u8fb9\u680f\u529f\u80fd\u83dc\u5355\u5982\u4e0b&#xff08;\u65e9\u671f\u7248\u672c&#xff09;&#xff1a; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260726072755-6a65b6fb5200f.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u5f53\u524d\u7248\u672c&#xff1a; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260726072755-6a65b6fb65263.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u529f\u80fd<\/p>\n<ul>\n<li>\u53ef\u89c6\u5316\u5730\u8bd5\u9a8cA2UI\u7ec4\u4ef6<\/li>\n<li>\u901a\u8fc7\u63cf\u8ff0\u60a8\u60f3\u8981\u7684\u5185\u5bb9\u751f\u6210A2UI JSON<\/li>\n<li>\u67e5\u770b\u5b9e\u65f6\u9884\u89c8<\/li>\n<li>\u590d\u5236JSON\u4ee5\u5728\u4ee3\u7406\u4e2d\u4f7f\u7528<\/li>\n<\/ul>\n<h2>AG-UI\u5bf9\u6bd4A2UI<\/h2>\n<p>\u4e00\u53e5\u8bdd\u603b\u7ed3&#xff1a;<\/p>\n<ul>\n<li>A2UI&#xff1a;\u663e\u793a\u4ec0\u4e48UI&#xff0c;\u58f0\u660e\u5f0fUI\u89c4\u8303 \/ Payload<\/li>\n<li>AG-UI&#xff1a;\u600e\u4e48\u4f20\u8f93\u548c\u4ea4\u4e92&#xff0c;\u8fd0\u884c\u65f6\u901a\u4fe1\u534f\u8bae \/ Transport<\/li>\n<\/ul>\n<p>\u6838\u5fc3\u5b9a\u4f4d\u4e0e\u8bbe\u8ba1\u54f2\u5b66<\/p>\n<ul>\n<li>A2UI&#xff1a;\u540e\u7aef\u4e3b\u5bfc&#xff08;Agent\u9a71\u52a8&#xff09;\u3002Agent\u7528\u7ed3\u6784\u5316JSON\u63cf\u8ff0UI\u7ec4\u4ef6&#xff0c;\u5ba2\u6237\u7aef\u7528\u539f\u751f\/\u767d\u540d\u5355\u7ec4\u4ef6\u6e32\u67d3\u3002\u5f3a\u8c03\u5b89\u5168\u7b2c\u4e00\u3001\u8de8\u5e73\u53f0\u3001LLM\u53cb\u597d\u3002\u89e3\u51b3Agent\u53ea\u80fd\u8f93\u51fa\u6587\u672c\u7684\u75db\u70b9&#xff0c;\u8ba9Agent\u80fd\u8bf4UI\u8bed\u8a00\u3002<\/li>\n<li>AG-UI&#xff1a;\u524d\u7aef-\u540e\u7aef\u53cc\u5411\u4e3b\u5bfc\u3002\u4e13\u6ce8\u4e8e\u5b9e\u65f6\u72b6\u6001\u540c\u6b65\u3001\u4e8b\u4ef6\u6d41\u3001\u5de5\u5177\u8c03\u7528\u751f\u547d\u5468\u671f\u3002\u4e0d\u89c4\u5b9aUI\u957f\u4ec0\u4e48\u6837&#xff0c;\u800c\u662f\u63d0\u4f9b\u4e00\u4e2a\u9ad8\u5e26\u5bbd\u7684\u7ba1\u9053&#xff0c;\u652f\u6301\u4f20\u8f93A2UI\u3001Open-JSON-UI\u3001MCP-UI\u7b49\u4efb\u610f\u751f\u6210\u5f0fUI\u89c4\u8303\u3002<\/li>\n<\/ul>\n<table>\n<tr>\u7ef4\u5ea6AG-UIA2UI<\/tr>\n<tbody>\n<tr>\n<td align=\"left\">\u534f\u8bae\u7c7b\u578b<\/td>\n<td align=\"left\">\u4e8b\u4ef6\u9a71\u52a8\u8fd0\u884c\u65f6\u4ea4\u4e92\u534f\u8bae<\/td>\n<td align=\"left\">\u58f0\u660e\u5f0f\u751f\u6210\u5f0fUI\u89c4\u8303<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">\u6838\u5fc3\u5b9a\u4f4d<\/td>\n<td align=\"left\">\u4ea4\u4e92\u4f20\u8f93\u534f\u8bae&#xff1a;\u8fde\u63a5AI\u4ee3\u7406&#xff08;\u540e\u7aef&#xff09;\u4e0e\u7528\u6237\u754c\u9762&#xff08;\u524d\u7aef&#xff09;\u7684\u5b9e\u65f6\u901a\u4fe1\u534f\u8bae\u3002\u53c2\u8003&#xff1a;Microsoft\u4ee3\u7406\u6846\u67b6\u3001Gen UI\u89c4\u8303\u3001Agentic\u534f\u8bae<\/td>\n<td align=\"left\">\u754c\u9762\u58f0\u660e\u89c4\u8303&#xff1a;\u4e00\u79cd\u8ba9AI\u4ee3\u7406\u7528JSON\u6570\u636e\u6765\u63cf\u8ff0UI\u7ec4\u4ef6\u548c\u5e03\u5c40\u7684\u683c\u5f0f\u6807\u51c6\u3002\u3002<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">\u4e3b\u8981\u4f5c\u7528<\/td>\n<td align=\"left\">\u89e3\u51b3\u201c\u600e\u4e48\u4f20\u201d\u548c\u201c\u600e\u4e48\u8fde\u201d\u7684\u95ee\u9898\u3002\u8d1f\u8d23\u5728\u540e\u7aefAgent\u548c\u524d\u7aef\u5e94\u7528\u4e4b\u95f4\u5efa\u7acb\u4e00\u4e2a\u53cc\u5411\u3001\u5b9e\u65f6\u7684\u6570\u636e\u901a\u9053&#xff0c;\u7528\u6765\u4f20\u8f93\u6d88\u606f\u3001\u5de5\u5177\u8c03\u7528\u3001\u72b6\u6001\u66f4\u65b0\u7b49\u5404\u79cd\u4e8b\u4ef6\u3002oracle blog<\/td>\n<td align=\"left\">\u89e3\u51b3\u201c\u4f20\u4ec0\u4e48\u201d\u548c\u201c\u753b\u4ec0\u4e48\u201d\u7684\u95ee\u9898\u3002\u5b9a\u4e49\u4e86\u4e00\u79cdLLM\u53cb\u597d\u3001\u58f0\u660e\u5f0f\u7684JSON\u683c\u5f0f&#xff0c;\u8ba9Agent\u80fd\u201c\u544a\u8bc9\u201d\u524d\u7aef\u8981\u6e32\u67d3\u54ea\u4e9b\u6309\u94ae\u3001\u8f93\u5165\u6846\u3001\u5361\u7247\u7b49UI\u5143\u7d20<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">\u7c7b\u6bd4\u7406\u89e3<\/td>\n<td align=\"left\">\u76f8\u5f53\u4e8e\u5feb\u9012\u7269\u6d41\u7f51\u7edc&#xff0c;\u8d1f\u8d23\u5efa\u7acb\u8fde\u63a5\u3001\u89c4\u5212\u8def\u7ebf\u3001\u5b9e\u65f6\u8fd0\u8f93\u5305\u88f9<\/td>\n<td align=\"left\">\u76f8\u5f53\u4e8e\u5305\u88f9\u91cc\u7684\u7ec4\u88c5\u8bf4\u660e\u4e66&#xff08;JSON\u683c\u5f0f&#xff09;&#xff0c;\u63cf\u8ff0\u6536\u5230\u5305\u88f9\u540e\u5e94\u8be5\u62fc\u88c5\u51fa\u4ec0\u4e48\u5bb6\u5177&#xff08;UI&#xff09;\u3002<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">\u4e3b\u5bfc\u65b9<\/td>\n<td align=\"left\">CopilotKit\u56e2\u961f\u4e3b\u5bfc\u7684\u5f00\u6e90\u534f\u8bae\u30021<\/td>\n<td align=\"left\">Google\u53d1\u8d77\u5e76\u4e3b\u5bfc\u7684\u89c4\u8303&#xff0c;\u5f00\u6e90\u4e14\u793e\u533a\u9a71\u52a8<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u53e6\u4e00\u4e2a\u5bf9\u6bd4\u77e9\u9635<\/p>\n<table>\n<tr>\u7ef4\u5ea6A2UIAG-UI\u8c01\u66f4\u4f18&#xff1f;<\/tr>\n<tbody>\n<tr>\n<td align=\"left\">UI\u751f\u6210\u65b9\u5f0f<\/td>\n<td align=\"left\">\u58f0\u660e\u5f0fJSON&#xff08;\u6d41\u5f0fJSONL&#xff09;&#xff0c;\u767d\u540d\u5355\u7ec4\u4ef6catalog<\/td>\n<td align=\"left\">\u4e0d\u89c4\u5b9aUI\u683c\u5f0f&#xff0c;\u53ef\u4f20\u8f93\u4efb\u610fspec&#xff08;\u539f\u751f\u652f\u6301A2UI&#xff09;<\/td>\n<td align=\"left\">A2UI<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">\u6e32\u67d3\u65b9\u5f0f<\/td>\n<td align=\"left\">\u5ba2\u6237\u7aef\u539f\u751f\u7ec4\u4ef6\u6e32\u67d3&#xff08;React\u3001Flutter\u3001Angular\u3001Lit\u7b49&#xff09;<\/td>\n<td align=\"left\">\u5f00\u53d1\u8005\u81ea\u5b9a\u4e49\u6e32\u67d3\u5668&#xff08;\u6846\u67b6\u65e0\u5173&#xff09;<\/td>\n<td align=\"left\">A2UI&#xff08;\u8de8\u5e73\u53f0&#xff09;<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">\u5b9e\u65f6\u6027<\/td>\n<td align=\"left\">\u6d41\u5f0f\u589e\u91cf\u66f4\u65b0&#xff08;Progressive Rendering&#xff09;<\/td>\n<td align=\"left\">\u6700\u5f3a&#xff1a;16\u79cd\u6807\u51c6\u4e8b\u4ef6&#043;\u5b9e\u65f6\u72b6\u6001\u540c\u6b65&#043;\u91cd\u8fde\u673a\u5236<\/td>\n<td align=\"left\">AG-UI<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">\u5b89\u5168\u6027<\/td>\n<td align=\"left\">\u6700\u9ad8&#xff1a;\u7eaf\u58f0\u660e\u5f0f\u6570\u636e\u3001\u65e0\u4ee3\u7801\u6267\u884c\u3001\u65e0iframe\u6c99\u7bb1<\/td>\n<td align=\"left\">\u4f9d\u8d56\u524d\u7aef\u5b9e\u73b0&#043;\u8fd0\u884c\u65f6\u9a8c\u8bc1<\/td>\n<td align=\"left\">A2UI<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">\u8de8\u5e73\u53f0\u80fd\u529b<\/td>\n<td align=\"left\">\u6700\u5f3a&#xff1a;\u540c\u4e00JSON\u53ef\u5728Web\/\u79fb\u52a8\/\u684c\u9762\/\u539f\u751f\u6e32\u67d3<\/td>\n<td align=\"left\">\u6846\u67b6\u65e0\u5173&#xff0c;\u4f46\u9700\u5404\u7aef\u5355\u72ec\u5b9e\u73b0\u6e32\u67d3<\/td>\n<td align=\"left\">A2UI<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">\u591aAgent\u652f\u6301<\/td>\n<td align=\"left\">\u539f\u751f\u652f\u6301\u8de8\u4fe1\u4efb\u8fb9\u754c&#xff08;\u591aAgent\u534f\u4f5c&#xff09;<\/td>\n<td align=\"left\">\u4e3b\u8981\u5355Agent&#xff0c;\u7ed3\u5408A2A\u534f\u8bae\u53ef\u6269\u5c55<\/td>\n<td align=\"left\">A2UI<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">LLM\u751f\u6210\u53cb\u597d\u5ea6<\/td>\n<td align=\"left\">\u6781\u9ad8&#xff08;\u6241\u5e73JSON&#xff0c;\u6613prompting&#xff09;<\/td>\n<td align=\"left\">\u4e2d\u7b49&#xff08;\u4e8b\u4ef6\u5e8f\u5217&#xff09;<\/td>\n<td align=\"left\">A2UI<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">\u72b6\u6001\u7ba1\u7406<\/td>\n<td align=\"left\">\u4ec5UI\u72b6\u6001<\/td>\n<td align=\"left\">\u5168\u6808&#xff1a;\u5171\u4eab\u72b6\u6001\u3001\u5de5\u5177\u8c03\u7528\u3001HIL&#xff08;Human-in-the-Loop&#xff09;<\/td>\n<td align=\"left\">AG-UI<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">\u4f20\u8f93\u534f\u8bae<\/td>\n<td align=\"left\">\u53ef\u901a\u8fc7A2A\u3001REST\u3001AG-UI\u7b49\u4efb\u610f\u4f20\u8f93<\/td>\n<td align=\"left\">\u81ea\u8eab\u5c31\u662f\u4f20\u8f93\u534f\u8bae&#xff08;SSE\/WebSocket&#043;\u4e8b\u4ef6\u6d41&#xff09;<\/td>\n<td align=\"left\">AG-UI<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">\u98ce\u683c\u63a7\u5236<\/td>\n<td align=\"left\">\u7ee7\u627f\u5bbf\u4e3bApp\u6837\u5f0f<\/td>\n<td align=\"left\">\u5f00\u53d1\u8005\u5b8c\u5168\u638c\u63a7<\/td>\n<td align=\"left\">\u5e73\u624b<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u5b89\u5168\u6027\u6df1\u5ea6\u5bf9\u6bd4<\/p>\n<ul>\n<li>A2UI&#xff1a;\u5b89\u5168\u6a21\u578b\u6700\u4e25\u683c\u3002\u53ea\u5141\u8bb8Agent\u53d1\u9001\u9884\u6279\u51c6\u7ec4\u4ef6&#043;\u6570\u636e&#xff0c;\u5ba2\u6237\u7aef\u6e32\u67d3\u5668\u6620\u5c04\u5230\u539f\u751f\u63a7\u4ef6&#xff0c;\u5f7b\u5e95\u675c\u7edd\u4ee3\u7801\u6ce8\u5165\u3002\u9002\u5408\u9ad8\u5b89\u5168\u573a\u666f&#xff08;\u5982\u4f01\u4e1a\u5185\u90e8\u5de5\u5177\u3001\u91d1\u878d\u3001\u533b\u7597&#xff09;<\/li>\n<li>AG-UI&#xff1a;\u66f4\u7075\u6d3b&#xff0c;\u4f46\u5b89\u5168\u6027\u4f9d\u8d56\u5b9e\u73b0\u3002\u652f\u6301\u654f\u611f\u6570\u636e\u5728\u540e\u7aef\u5904\u7406\u3001\u524d\u7aef\u53ea\u663e\u793a\u8131\u654f\u89c6\u56fe<\/li>\n<\/ul>\n<p>A2UI\u66f4\u9002\u5408&#xff1a;<\/p>\n<ul>\n<li>\u9700\u8981\u8de8\u5e73\u53f0\u4e00\u81f4UI\u7684\u591a\u7aef\u5e94\u7528&#xff0c;\u5982Web\u3001App\u3001Desktop<\/li>\n<li>\u591aAgent\u534f\u4f5c\u573a\u666f&#xff08;Agent\u4e4b\u95f4\u4f20\u9012UI\u84dd\u56fe&#xff09;<\/li>\n<li>\u5bf9\u5b89\u5168\u8981\u6c42\u6781\u9ad8\u7684\u4f01\u4e1a\u7ea7 Agent \u4ea7\u54c1<\/li>\n<li>\u5e0c\u671b Agent \u201c\u4e00\u952e\u751f\u6210\u8868\u5355\u3001\u5361\u7247\u3001\u5411\u5bfc\u3001\u8868\u683c\u201d\u7b49\u590d\u6742\u4ea4\u4e92<\/li>\n<\/ul>\n<p>AG-UI\u66f4\u9002\u5408&#xff1a;<\/p>\n<ul>\n<li>\u9700\u8981\u6781\u81f4\u5b9e\u65f6\u4ea4\u4e92&#xff08;\u804a\u5929 &#043; \u5de5\u5177 &#043; \u5171\u4eab\u72b6\u6001 &#043; \u957f\u65f6\u95f4\u8fd0\u884cAgent&#xff09;<\/li>\n<li>\u5df2\u6709\u6210\u719f\u524d\u7aef\u6846\u67b6&#xff0c;\u60f3\u5feb\u901f\u63a5\u5165Agent\u540e\u7aef<\/li>\n<li>\u9700\u8981\u5b8c\u6574\u4e8b\u4ef6\u751f\u547d\u5468\u671f\u3001\u65ad\u7ebf\u91cd\u8fde\u3001\u547d\u4ee4\/\u54cd\u5e94\u8ffd\u8e2a\u7684\u573a\u666f<\/li>\n<\/ul>\n<p>\u6700\u4f73\u5b9e\u8df5&#xff1a;A2UI\u3001AG-UI\u4e24\u8005\u7ec4\u5408&#xff0c;AG-UI\u8d1f\u8d23\u7ba1\u9053\u548c\u72b6\u6001\u540c\u6b65&#xff0c;A2UI\u8d1f\u8d23UI\u5185\u5bb9\u63cf\u8ff0&#xff0c;\u65e2\u5b89\u5168\u53c8\u5b9e\u65f6&#xff0c;\u51e0\u4e4e\u662f2026\u5e74Agent\u5e94\u7528\u7684\u4e8b\u5b9e\u6807\u51c6\u3002<\/p>\n<p>\u751f\u6001\u4e0e\u517c\u5bb9\u6027<\/p>\n<ul>\n<li>A2UI\u5df2\u96c6\u6210\u8fdb&#xff1a;CopilotKit\u3001Flutter GenUI SDK\u3001Angular\/Lit\u6e32\u67d3\u5668\u7b49<\/li>\n<li>AG-UI\u5df2\u652f\u6301&#xff1a;A2UI\u3001Open-JSON-UI\u3001MCP-UI\u3001\u81ea\u5b9a\u4e49Schema&#xff1b;\u5e76\u4e0eA2A\u3001MCP\u534f\u8bae\u65e0\u7f1d\u63e1\u624b<\/li>\n<\/ul>\n<p>CopilotKit\u540c\u65f6\u662f\u4e24\u4e2a\u534f\u8bae\u7684\u91cd\u8981\u8d21\u732e\u8005\u548c\u5b9e\u73b0\u8005&#xff0c;\u63d0\u4f9b\u4e00\u7ad9\u5f0f\u6846\u67b6\u3002<\/p>\n<h2>MCP-UI<\/h2>\n<p>\u5b98\u7f51&#xff0c;\u5f00\u6e90&#xff08;GitHub&#xff0c;5K Star&#xff0c;389 Fork&#xff09;\u3002<\/p>\n<p>\u4e0eAG-UI\u3001A2UI\u4e0d\u540c&#xff0c;MCP-UI\u4e0d\u8bd5\u56fe\u5b9a\u4e49\u65b0\u7684\u534f\u8bae&#xff0c;\u800c\u662f\u590d\u7528\u73b0\u6709MCP\u534f\u8bae&#xff0c;\u5728\u5de5\u5177\u8fd4\u56de\u503c\u4e2d\u6dfb\u52a0UIResource\u5b57\u6bb5\u3002<\/p>\n<h2>Open-JSON-UI<\/h2>\n<p>blog\u3002<\/p>\n<h2>\u63a8\u8350\u9605\u8bfb<\/h2>\n<ul>\n<li>\u4e09\u5927Agent-UI\u534f\u8bae\u6df1\u5ea6\u5256\u6790<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u975e\u524d\u7aef\u5f00\u53d1&#xff0c;\u4f46\u663e\u800c\u6613\u89c1\u7684\u662f&#xff0c;\u5728AI\/LLM\u65f6\u4ee3&#xff0c;UI\u4e5f\u8fce\u6765\u4e0d\u5c11\u53d8\u9769\u3002<br \/>\n\u672c\u6587\u8bd5\u56fe\u68b3\u7406\u7f51\u7edc\u8d44\u6e90&#xff0c;\u6574\u7406\u6210\u4e2a\u4eba\u7684\u7406\u89e3&#xff0c;\u5e76\u5f62\u6210\u6587\u6863\u3002<br \/>\nGenUI<br \/>\nGenerative UI\u7684\u7b80\u79f0&#xff0c;\u754c\u9762\u4e0d\u662f\u63d0\u524d\u8bbe\u8ba1\u597d\u7684&#xff0c;\u800c\u662f\u7531AI\u6839\u636e\u5f53\u4e0b\u7684\u9700\u6c42&#xff0c;\u73b0\u573a\u751f\u6210\u3002\u4e0d\u662f\u4f60\u53bb\u627e\u529f\u80fd&#xff0c;\u800c\u662f\u529f\u80fd\u6765\u627e\u4f60\u3002<br \/>\n\u4f20\u7edfUI&#xff1a;<br \/>\n\u9759\u6001\u8def\u5f84\u662f\u9884\u8bbe\u597d\u7684\u7528\u6237\u5fc5\u987b\u5148\u5b66\u4f1a\u201c\u8fd9\u4e2a\u7cfb\u7edf\u600e\u4e48\u7528\u201d<br \/>\n\u672c<\/p>\n","protected":false},"author":2,"featured_media":84618,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[9099,780],"topic":[],"class_list":["post-84627","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-9099","tag-ui"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>UI\u65b0\u9769\u547d\uff1fGenUI\u3001WanDB-OpenUI\u3001thesysdev-OpenUI\u3001A2UI\u3001AG-UI\u3001MCP-UI - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/84627.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"UI\u65b0\u9769\u547d\uff1fGenUI\u3001WanDB-OpenUI\u3001thesysdev-OpenUI\u3001A2UI\u3001AG-UI\u3001MCP-UI - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u975e\u524d\u7aef\u5f00\u53d1&#xff0c;\u4f46\u663e\u800c\u6613\u89c1\u7684\u662f&#xff0c;\u5728AI\/LLM\u65f6\u4ee3&#xff0c;UI\u4e5f\u8fce\u6765\u4e0d\u5c11\u53d8\u9769\u3002 \u672c\u6587\u8bd5\u56fe\u68b3\u7406\u7f51\u7edc\u8d44\u6e90&#xff0c;\u6574\u7406\u6210\u4e2a\u4eba\u7684\u7406\u89e3&#xff0c;\u5e76\u5f62\u6210\u6587\u6863\u3002 GenUI Generative UI\u7684\u7b80\u79f0&#xff0c;\u754c\u9762\u4e0d\u662f\u63d0\u524d\u8bbe\u8ba1\u597d\u7684&#xff0c;\u800c\u662f\u7531AI\u6839\u636e\u5f53\u4e0b\u7684\u9700\u6c42&#xff0c;\u73b0\u573a\u751f\u6210\u3002\u4e0d\u662f\u4f60\u53bb\u627e\u529f\u80fd&#xff0c;\u800c\u662f\u529f\u80fd\u6765\u627e\u4f60\u3002 \u4f20\u7edfUI&#xff1a; \u9759\u6001\u8def\u5f84\u662f\u9884\u8bbe\u597d\u7684\u7528\u6237\u5fc5\u987b\u5148\u5b66\u4f1a\u201c\u8fd9\u4e2a\u7cfb\u7edf\u600e\u4e48\u7528\u201d \u672c\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/84627.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-07-26T07:27:56+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260726072754-6a65b6fa3cf29.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/84627.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/84627.html\",\"name\":\"UI\u65b0\u9769\u547d\uff1fGenUI\u3001WanDB-OpenUI\u3001thesysdev-OpenUI\u3001A2UI\u3001AG-UI\u3001MCP-UI - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-07-26T07:27:56+00:00\",\"dateModified\":\"2026-07-26T07:27:56+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/84627.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/84627.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/84627.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"UI\u65b0\u9769\u547d\uff1fGenUI\u3001WanDB-OpenUI\u3001thesysdev-OpenUI\u3001A2UI\u3001AG-UI\u3001MCP-UI\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"UI\u65b0\u9769\u547d\uff1fGenUI\u3001WanDB-OpenUI\u3001thesysdev-OpenUI\u3001A2UI\u3001AG-UI\u3001MCP-UI - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/84627.html","og_locale":"zh_CN","og_type":"article","og_title":"UI\u65b0\u9769\u547d\uff1fGenUI\u3001WanDB-OpenUI\u3001thesysdev-OpenUI\u3001A2UI\u3001AG-UI\u3001MCP-UI - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u975e\u524d\u7aef\u5f00\u53d1&#xff0c;\u4f46\u663e\u800c\u6613\u89c1\u7684\u662f&#xff0c;\u5728AI\/LLM\u65f6\u4ee3&#xff0c;UI\u4e5f\u8fce\u6765\u4e0d\u5c11\u53d8\u9769\u3002 \u672c\u6587\u8bd5\u56fe\u68b3\u7406\u7f51\u7edc\u8d44\u6e90&#xff0c;\u6574\u7406\u6210\u4e2a\u4eba\u7684\u7406\u89e3&#xff0c;\u5e76\u5f62\u6210\u6587\u6863\u3002 GenUI Generative UI\u7684\u7b80\u79f0&#xff0c;\u754c\u9762\u4e0d\u662f\u63d0\u524d\u8bbe\u8ba1\u597d\u7684&#xff0c;\u800c\u662f\u7531AI\u6839\u636e\u5f53\u4e0b\u7684\u9700\u6c42&#xff0c;\u73b0\u573a\u751f\u6210\u3002\u4e0d\u662f\u4f60\u53bb\u627e\u529f\u80fd&#xff0c;\u800c\u662f\u529f\u80fd\u6765\u627e\u4f60\u3002 \u4f20\u7edfUI&#xff1a; \u9759\u6001\u8def\u5f84\u662f\u9884\u8bbe\u597d\u7684\u7528\u6237\u5fc5\u987b\u5148\u5b66\u4f1a\u201c\u8fd9\u4e2a\u7cfb\u7edf\u600e\u4e48\u7528\u201d \u672c","og_url":"https:\/\/www.wsisp.com\/helps\/84627.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-07-26T07:27:56+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260726072754-6a65b6fa3cf29.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"8 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/84627.html","url":"https:\/\/www.wsisp.com\/helps\/84627.html","name":"UI\u65b0\u9769\u547d\uff1fGenUI\u3001WanDB-OpenUI\u3001thesysdev-OpenUI\u3001A2UI\u3001AG-UI\u3001MCP-UI - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-07-26T07:27:56+00:00","dateModified":"2026-07-26T07:27:56+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/84627.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/84627.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/84627.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"UI\u65b0\u9769\u547d\uff1fGenUI\u3001WanDB-OpenUI\u3001thesysdev-OpenUI\u3001A2UI\u3001AG-UI\u3001MCP-UI"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/84627","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=84627"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/84627\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/84618"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=84627"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=84627"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=84627"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=84627"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}