Serve the agent's workflow tools from a Texera MCP server
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 22/100
Direzione di ricerca
Start with the linked context: #5610 (the inline-tools decision being revisited), #9464 (moves the agent onto the shared workflow and is a prerequisite), and #8663 (aicam's prototype, the open question of whether to build on it). Locate where the agent service currently registers its workflow tools and operator lookup, then trace how the once-loaded private workflow copy is read. Done means one Texera MCP server exposing those tools and the operator lookup, authenticated with the user's token and editing the shared workflow, with the agent and outside assistants both calling it.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Task Summary
Today the agent's tools run inside the agent service and edit a private copy of the workflow. That copy is loaded once, before the first prompt, so a change the user makes between prompts gets overwritten. #9464 fixes this by moving the agent onto the shared workflow.
This task moves the tools from #9481 onto one Texera MCP server, with the same names and inputs. The agent and outside assistants (#8663) call it, and its tools edit the shared workflow through #9464. This revisits the inline-tools decision in #5610.
- The server holds no session: every tool takes the workflow id, so any copy of the server can answer, as the current MCP revision (2026-07-28) expects.
- It is built on the official server SDK (
@modelcontextprotocol/server, Apache-2.0), which runs on Bun like the agent service. - Each tool says whether it only reads (
readOnlyHint), so a client can ask the person before a change. - From aicam's prototype in #8663, the shared client package and the test harness can be kept. Its workflow editing holds a session in the server's memory (
workflow_opentoworkflow_save), which the shared session replaces. - The agent calls the server with the user's token, as its backend calls do today. The MCP specification, though, has a server accept only tokens issued for it, and today's Texera tokens name no audience. So an outside assistant can use a token the person pastes in, while signing in from an assistant needs an authorization server, which Texera does not have yet.
The dataset tools from #9377, which also cover #4588, will come later on the endpoints from #9395. Review mode (#9075) waits on #9464.
Task Type
- Refactor / Cleanup
- DevOps / Deployment / CI
- Testing / QA
- Documentation
- Performance
- Other
- Lingua principale
- Scala
- Stelle
- 333
- Fork
- 202
- Merge medio
- 3g 11h
- PR unite (30g)
- 185
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di apache/texera
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
addOperator returns an error but still adds the operatorForse già presa @sunny-kavixo l’ha presa 5 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
apache/texera#9121 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Failed tool calls are marked as succeeded (isError is always false)Forse già presa @oliarmak-web l’ha presa 14 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
apache/texera#9120 · 8 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
apache/texera#8682 · 5 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di apache/texera
Issue simili
-
? - Needs Triage bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
NVIDIA/cudf-spark#16937 ·
I maintainer di solito rispondono entro 1 giorno
-
LFST not-issued-store count truncation can incorrectly clear strictShouldWaitForse già presa @weidingliu l’ha presa oggi. Apertamodule: memory type: bug/reported
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
OpenXiangShan/XiangShan#6974 · 1 commento · 1 assegnatario ·
I maintainer di solito rispondono entro 3 giorni
-
bug indigo
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
PurpleKingdomGames/indigoengine#300 · 1 commento ·
-
JavaReservoirSampleOperator returns the whole input when the dataset size is unknownForse già presa @sasmith-14 l’ha presa 2 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
apache/wayang#884 · 3 commenti ·
I maintainer di solito rispondono entro 2 giorni
-
AI Generated CI/CD ⚒️ Flaky-tests 🐦 python 🐍
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
valkey-io/valkey-glide#7722 ·
I maintainer di solito rispondono entro 1 giorno