Live data from Hacker News

A2UI: A Protocol for Agent-Driven Interfaces

a2ui.org

31–40 of 80 posts

Re: A2UI: A Protocol for Agent-Driven Interfaces

#31
post #5

So there's MCP-UI, OpenAI's ChatKit widgets and now Google's A2UI, that I know of. And probably some more... How many more variants are we introducing to solve the same problem. Sounds like a lot of wasted manhours to me.

AGUI sounds similar: https://github.com/ag-ui-protocol/ag-ui

Re: A2UI: A Protocol for Agent-Driven Interfaces

#32

> A2UI lets agents send declarative component descriptions that clients render using their own native widgets. It's like having agents speak a universal UI language . (emphasis mine) Sounds like agents are suddenly able to do what developers have failed at for decades: Writing platform-independent UIs. Maybe this works for simple use cases but beyond that I'm skeptical.

It still needs language-specific libraries [1] (and no sveltekit even announced yet :( ). [1] https://a2ui.org/renderers/

Well it is open source and they expect the community to add more renderers. So if you are a sveltekit specialist this could actually be an opportunity.

Re: A2UI: A Protocol for Agent-Driven Interfaces

#33
post #17

Earlier quoted context omitted.

If done in chat , it's just an alternative to talking to you freeform. Consider Claude Code's multiple-choice questions, which you can trigger by asking it to invoke the right tool, for example.

None of the issues go away just because it's in chat? Freeform looks and acts like text, except for a set of things that someone vetted and made work. If the interactive diagram or UI you click on now owns you, it doesn't matter if it was inside the chat window or outside the chat window. Now, in this case, it's not arbitrary UI, but if you believe that the parsing/validation/rendering/two way data binding/incrementa…

> None of the issues go away just because it's in chat?

There is a wast difference in risk between me clicking a button provided by Claude in my Claude chat, on the basis of conversations I have had with Claude, and clicking a random button on a random website. Both can contain a malicious. One is substantially higher risk. Separately, linking a UI constructed this way up to an agent and let third parties interact with it, is much riskier to you than to them.

> If the interactive diagram or UI you click on now owns you, it doesn't matter if it was inside the chat window or outside the chat window.

In that scenario, the UI elements are irrelevant barring a buggy implementation (yes, I've read the rest, see below), as you can achieve the same things as you can do that way with just presenting the user with a basic link and telling them to press it.

> as transported/renderered/etc by NxM combinations of implementations (there are 4 renderers and a bunch of transports right now), is not going to have security issues, i've got a bridge to sell you.

I very much doubt we'll see many implementations that won't just use a web view for this, and I very much doubt these issues will even fall in the top 10 security issues people will run into with AI tooling. Sure, there will be bugs. You can use this argument against anything that requires changes to client software.

But if you're concerned about the security of clients, mcp and hooks is a far bigger rats nest of things that are inherently risky due to the way they are designed.

Re: A2UI: A Protocol for Agent-Driven Interfaces

#36

This sounds like a way to have the LLM client render dynamic UI. Is this for use during the chat session or yet another way to build actual applications?

Google PM here. Right now, it’s designed for rendering UI widgets inline with a chat conversation - it’s an extension to a2a that lets you stream JSON defining UI components in addition to chat messages.

Re: A2UI: A Protocol for Agent-Driven Interfaces

#37

Earlier quoted context omitted.

It still needs language-specific libraries [1] (and no sveltekit even announced yet :( ). [1] https://a2ui.org/renderers/

Well it is open source and they expect the community to add more renderers. So if you are a sveltekit specialist this could actually be an opportunity.

Plus 1! We’d love community contributions here!

Re: A2UI: A Protocol for Agent-Driven Interfaces

#38
post #5

So there's MCP-UI, OpenAI's ChatKit widgets and now Google's A2UI, that I know of. And probably some more... How many more variants are we introducing to solve the same problem. Sounds like a lot of wasted manhours to me.

AGUI sounds similar: https://github.com/ag-ui-protocol/ag-ui

Same team! AGUI uses a2UI as the protocol under the hood.
Post reply on HN