ag-ui-protocol / ag-ui-protocol/ag-ui

Question: AG-UI semantics for in-flight user steering

Aperta
#2,148 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
question
Lingua principale
Python
Stelle
15.9k
Fork
1.4k
Merge medio
1g 17h
PR unite (30g)
163

Descrizione

AG-UI docs mention "Agent steering", but I could not find protocol guidance for this case:

A run is already active. The user sends an additional instruction intended for that active run.

Example:

```json
{
"threadId": "thread-1",
"runId": "run-1",
"messages": [
{ "role": "user", "content": "Focus more on security tradeoffs." }
],
"forwardedProps": {
"steering": true
}
}
```

Questions:

1. Should this be modeled as a `RunAgentInput` request?
2. Should it reuse the active `runId`, or use a new `runId` with `parentRunId`?
3. What should the response look like?
- an ACK event stream,
- HTTP 204,
- `RUN_STARTED` / `RUN_FINISHED`,
- or something else?

Is there any recommended AG-UI pattern for this scenario?

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.