Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Feature request: AG-UI protocol support for effect/ai

未关闭
#6,341 0 条评论 7 个 reaction 已指派 1 人 在 GitHub 查看

维护者通常 1 天内回复

@IMax153 已经在做这个了。

开始于 2026年7月14日。

评估

这个 Issue 还没有评估数据。

描述

4.0 ai enhancement
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:

What alternatives have you considered?

No response

主要语言
TypeScript
星标
16.7k
派生
808
平均合并
11 小时 28 分钟
30 天内合并 PR
490

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

Effect-TS/effect 的其他 Issue

查看 Effect-TS/effect 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。