Feature request: AG-UI protocol support for effect/ai
维护者通常 1 天内回复
@IMax153 已经在做这个了。
开始于 2026年7月14日。
评估
这个 Issue 还没有评估数据。
描述
What is the problem this feature would solve?
effect/ai can run an agent backend (LanguageModel.streamText, tools, layers), but there is no standard way to stream that output to a browser UI. Connecting one today means writing the SSE endpoint, the request shape, the event mapping, and a matching client by hand for every app.
AG-UI (Agent–User Interaction Protocol) is an open, event-based wire protocol for streaming agent output to UI clients over HTTP/SSE. It defines one request shape (RunAgentInput) and a fixed set of event types (RUN_STARTED, TEXT_MESSAGE_CONTENT, TOOL_CALL_*, RUN_FINISHED, RUN_ERROR, and so on). It covers agent-to-UI the way MCP, already supported here, covers agent-to-tools.
What is the feature you are proposing to solve the problem?
AG-UI protocol support in effect/unstable/ai, so an Effect HTTP server can run the LLM calls (LanguageModel.streamText, tools, layers) and be driven by any AG-UI client. One such client is a React frontend using @tanstack/ai-react (useChat + fetchServerSentEvents). TanStack AI is fully AG-UI compliant, so it would work unmodified.
References:
- AG-UI docs — https://docs.ag-ui.com/introduction
- AG-UI repo — https://github.com/ag-ui-protocol/ag-ui
- TanStack AI + AG-UI — https://tanstack.com/blog/ag-ui-compliance
What alternatives have you considered?
No response
- 主要语言
- TypeScript
- 星标
- 16.7k
- 派生
- 808
- 平均合并
- 11 小时 28 分钟
- 30 天内合并 PR
- 490
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Effect-TS/effect 的其他 Issue
-
难度 1/5 1-3 小时 新手友好度 86/100
Effect-TS/effect#8863 · 1 条评论 ·
维护者通常 1 天内回复
-
BrowserWorkerRunner: port finalizer throws when the worker global has no close() (Bun)可能已有人在做 @santiago-ramos-02 于 9 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
Effect-TS/effect#8635 · 3 条评论 ·
维护者通常 1 天内回复
-
Support {self: this} for fnUntraced可能重新可做 @ArjunCodess 于 20 天前认领,目前没有进行中的 PR。 未关闭enhancement
难度 2/5 1-3 小时 新手友好度 70/100
Effect-TS/effect#8101 · 1 条评论 ·
维护者通常 1 天内回复
-
add Effect-native McpClient可能已有人在做 @lloydrichards 于 3 天前认领。 未关闭enhancement
难度 5/5 一周以上 新手友好度 8/100
Effect-TS/effect#8912 · 2 条评论 ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 48/100
维护者通常 1 天内回复
相似的 Issue
-
[Bug]: [MCP/CLI] Bare loopback IP addresses (127.0.0.1:port) and hosts with ports fail to navigate due to erroneous scheme inference可能已有人在做 @alok-108 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
microsoft/playwright#43263 ·
维护者通常 1 天内回复
-
bug priority:medium
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 1 天内回复
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
难度 1/5 1 小时以内 新手友好度 75/100
lingdojo/kana-dojo#32018 · 1 条评论 · 5 个 reaction ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
paperclipai/paperclip#15751 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
BuilderIO/agent-native#7275 ·
维护者通常 1 天内回复