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
- 平均マージ
- 10時間 13分
- マージ済み PR(30日)
- 800
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Effect-TS/effect のほかの issue
-
RpcTest.makeClient: accept disableFatalDefects対応中かも @effect-bot が 2 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Effect-TS/effect#9893 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
@effect/ai-anthropic: responses whose usage has only input_tokens and output_tokens fail to decode (Anthropic-compatible gateways)対応中かも @effect-bot が今日担当しました。 オープン
Effect-TS/effect#9963 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
McpClient rejects McpServer's method-not-found response and fails later stdio requests対応中かも @effect-bot が今日担当しました。 オープン
Effect-TS/effect#9958 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
SQLite withTransaction: interrupting a queued transaction as it gets the connection leaks the connection対応中かも @effect-bot が今日担当しました。 オープン
難易度 4/5 1〜2日 初心者へのやさしさ 35/100
メンテナーはふだん 1 日以内に返信
-
ClickhouseMigrator records migrations as done before running them, so a failed migration is skipped on the next run対応中かも @effect-bot が今日担当しました。 オープン
Effect-TS/effect#9956 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
Effect-TS/effect の issue をすべて見る
似ている issue
-
ready
難易度 2/5 1〜3時間 初心者へのやさしさ 63/100
wheresrhys/totf#1214 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
CodeChefVIT/ffcs#281 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
endora-commerce/endora-commerce#451 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
vetro-protocol/vetro-monorepo#1007 ·
メンテナーはふだん 1 日以内に返信