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

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

Offen
#2,148 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
question
Vorherrschende Sprache
Python
Sterne
15.9k
Forks
1.4k
Ø Merge
1 T. 17 Std.
Gemergte PRs (30 T.)
163

Beschreibung

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?

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.