Refactor the agent service around native messages, skills, MCP tools, a UI message stream and a shared session

オープン
#9,453 コメント 1 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@bobbai00 がすでに取り組んでいます。

2026年11月15日 から。

  • #9494 @bobbai00 による — オープン
  • #9495 @bobbai00 による — オープン
  • #9496 @bobbai00 による — オープン

評価

この issue はまだ評価されていません。

説明

Task Summary
Target design of the agent

This refactor reshapes the agent service around four ideas.

  1. Standard tool-call state. The agent keeps tool calls and their results in the AI SDK's own message history, instead of rebuilding a summary by hand at every step (#9455).
  2. A few tools, with edits as patches. The agent reads a workflow, looks up operators, executes, and edits with one tool whose input is a patch: one call can add, modify and delete several operators and their links, and is applied whole or not at all (#9481). Later the same tools are served from a Texera MCP server, one of many the agent can connect to (#9457).
  3. Skills. The system prompt shrinks to the essentials, and Texera's know-how moves into skills loaded only when needed (#9456).
  4. One protocol to the browser, and one shared session. The agent streams its turns to the browser in the AI SDK's own UI message stream, which the SDK's chat clients read in Angular today and in React later (#9482). Instead of editing its own copy, the agent joins the workflow's shared editing and execution session, so the agent and the user see the same workflow and the same executions (#9464).

The order: #9454 first, so every later step can report its score. Then the loop, the tools and the protocol: #9455, then #9481 and #9482, then #9456. Then the shared session (#9464), and last the MCP server (#9457), whose tools edit the shared workflow.

Saving conversations with an owner (#5267, #5268) moves to the resource unification in #9395, where a conversation becomes a resource kind. In the picture, the session store comes with that work, and add_operator and edit_operator are one edit_workflow tool.

For background, see #9377 and #9395. A few open fixes should land first: #9149, #9259, #8753 and #9043.

Task Type
  • Refactor / Cleanup
  • DevOps / Deployment / CI
  • Testing / QA
  • Documentation
  • Performance
  • Other
主要言語
Scala
スター
333
フォーク
202
平均マージ
3日 11時間
マージ済み PR(30日)
185

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

apache/texera のほかの issue

apache/texera の issue をすべて見る

似ている issue

Scala の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。