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

Clarify tool event behavior of fronted and backend

Abierto
#381 6 comentarios 4 reacciones 0 asignados Ver en GitHub
documentation
Lenguaje dominante
Python
Estrellas
15.9k
Forks
1.4k
Merge medio
1 d 17 h
PR fusionados (30 d)
163

Descripción

The current AG-UI tool calling protocol mixes two distinct modes:

1. The tool call is actually executed by the backend/remote side, and events are synchronized to the frontend for display purposes only.
2. The tool call is executed by the frontend/client side, with results returned to the backend/remote side — similar to Human-in-the-Loop (HITL).

However, the current protocol specification does not clearly distinguish between these two modes. How should developers differentiate between them? The documentation should be improved to clarify this.

Additionally, for function calls, parameters should support the `dict` type for greater clarity and precision. Relying solely on `string` types introduces unnecessary serialization/deserialization overhead.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.