Question: json-render interoperability with Google A2UI (agent-to-UI protocol)

Aperta
#9 5 commenti 4 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
react, typescript

Direzione di ricerca

Inizia leggendo i repository json-render e Google A2UI collegati nell’issue, concentrandoti sul catalogo, lo schema, il renderer e il modello delle azioni di json-render, insieme ai messaggi di streaming e ai bindings di A2UI. L’ambito dovrebbe essere ristretto a un adapter concreto, a linee guida per il mapping o a una decisione sul protocollo prima che l’implementazione possa essere considerata completata.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Hi json-render team — thanks for open-sourcing this project.

I’m currently evaluating different “AI → JSON → UI” approaches, and I came across both vercel-labs/json-render and google/a2ui (Agent-to-User Interface). I’m not an A2UI maintainer, but I’m trying to understand how these two efforts relate and whether there’s a sensible interoperability path.

From what I can tell, there’s conceptual overlap:

  • constrained component catalog / guardrails
  • JSON-driven UI generation
  • actions + data binding
  • streaming/progressive rendering

A2UI seems to emphasize a standardized streaming protocol (createSurface, updateComponents, updateDataModel, deleteSurface) and cross-framework portability, while json-render appears to focus on a React renderer + catalog/schema constraints.

Questions

  1. Are you aware of A2UI? Is there any intended relationship (inspiration, planned alignment, or intentionally different direction)?
  2. Would you be open to (or already planning) an interoperability layer, e.g.:
    • accept A2UI messages as an input format (adapter/translator), or
    • provide guidance / examples on mapping between the formats?
  3. How do you see the long-term status of json-render’s JSON format:
    • is it intended to be a “protocol” others build against, or mainly an internal library API?
  4. Any tips on mapping between:
    • A2UI-style JSON Pointer bindings vs json-render valuePath bindings,
    • A2UI action dispatch vs json-render action handling (confirm/onSuccess/onError)?

References:

Thanks — any direction would help me choose the right approach.

Lingua principale
TypeScript
Stelle
20k
Fork
1.1k
Merge medio
1g 18h
PR unite (30g)
25

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di vercel-labs/json-render

Tutte le issue di vercel-labs/json-render

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.