frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

A2UI: A Protocol for Agent-Driven Interfaces

https://a2ui.org/
47•makeramen•3h ago

Comments

tasoeur•2h ago
In an ideal world, people would be implementing UI/UX accessibility in the first place, and a lot of those problems would be solved in the first place. But one can also hope that having the motivation to get agents running on those things could actually bring a lot of accessibility features to newer apps.
qsort•2h ago
This is very interesting if used judiciously, I can see many use cases where I'd want interfaces to be drawn dynamically (e.g. charts for business intelligence.)

What scares me is that even without arbitrary code generation, there's the potential for hallucinations and prompt injection to hit hard if a solution like this isn't sandboxed properly. An automatically generated "confirm purchase" button like in the shown example is... probably something I'd not make entirely unsupervised just yet.

jy14898•2h ago
I never want to unknowingly use an app that's driven this way.

However, I'm happy it's happening because you don't need an LLM to use the protocol.

mbossie•1h ago
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.

MrOrelliOReilly•1h ago
I agree that it's annoying to have competing standards, but when dealing with a lot of unknowns it's better to allow divergence and exploration. It's a worse use of time to quibble over the best way to do things when we have no meaningful data yet to justify any decision. Companies need freedom to experiment on the best approach for all these new AI use cases. We'll then learn what is great/terrible in each approach. Over time, we should expect and encourage consolidation around a single set of standards.
pscanf•1h ago
> when dealing with a lot of unknowns it's better to allow divergence and exploration

I completely agree, though I'm personally sitting out all of these protocols/frameworks/libraries. In 6 months time half of them will have been abandoned, and the other half will have morphed into something very different and incompatible.

For the time being, I just build things from scratch, which–as others have noted¹–is actually not that difficult, gives you understanding of what goes on under the hood, and doesn't tie you to someone else's innovation pace (whether it's higher or lower).

¹ https://fly.io/blog/everyone-write-an-agent/

askl•29m ago
Obligatory https://xkcd.com/927/
raybb•1h ago
Is there a standard protocol for the way things like Cline sometimes give you multiple choice buttons to click on? Or how does that compare to something like this?
codethief•1h ago
> 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.

rockwotj•1h ago
this isn’t the right way to look at it. It’s really server side rendering where the LLM is doing the markup language generation instead of a template. The custom UI is usually higher level. Airbnb has been doing this for years: https://medium.com/airbnb-engineering/a-deep-dive-into-airbn...
mentalgear•3m ago
Yeah, it still needs language-specific libraries [1] (and no sveltekit even announced yet :( ).

[1] https://a2ui.org/renderers/

evalstate•1h ago
I quite like the look of this one - seems to fit somewhere between the rigid structure of MCP Elicitations and the freeform nature of MCP-UI/Skybridge.
lowsong•1h ago
> 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.

Why the hell would anyone want this? Why on earth would you trust an LLM to output a UI? You're just asking for security bugs, UI impersonation attacks, terrible usability, and more. This is a nightmare.

vidarh•38m ago
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.
wongarsu•57m ago
I wouldn't want this anywhere near production, but for rapid prototyping this seems great. People famously can't articulate what they want until they get to play around with it. This lets you skip right to the part where you realize they want something completely different from what was first described without having to build the first iteration by hand
_pdp_•48m ago
I am fan of using markdown to describe the UI.

It is simple, effective and feels more native to me than some rigid data structure designed for very specific use-cases that may not fit well into your own problem.

Honestly, we should think of Emacs when working with LLMs and kind of try to apply the same philosophy. I am not a fan of Emacs per-se but the parallels are there. Everything is a file and everything is a text in a buffer. The text can be rendered in various ways depending on the consumer.

This is also the philosophy that we use in our own product and it works remarkably well for diverse set of customers. I have not encountered anything that cannot be modelled in this way. It is simple, effective and it allows for a great degree of flexibility when things are not going as well as planned. It works well with streaming too (streaming parsers are not so difficult to do with simple text structures and we have been doing this for ages) and LLMs are trained very well how to produce this type of output - vs anything custom that has not been seen or adopted yet by anyone.

Besides, given that LLMs are getting good at coding and the browser can render iframes in seamless mode, a better and more flexible approach would be to use HTML, CSS and JavaScript instead of what Slack has been doing for ages with their block kit API which we know is very rigid and frustrating to work with. I get why you might want to have a data structures for UI in order to cover CLI tools as well but at the end of the day browsers and clis are completely different things and I don not believe you can meaningfully make it work for both of them unless you are also prepared to dumb it down and target only the lowest common dominator.

pedrozieg•29m ago
We’ve had variations of “JSON describes the screen, clients render it” for years; the hard parts weren’t the wire format, they were versioning components, debugging state when something breaks on a specific client, and not painting yourself into a corner with a too-clever layout DSL.

The genuinely interesting bit here is the security boundary: agents can only speak in terms of a vetted component catalog, and the client owns execution. If you get that right, you can swap the agent for a rules engine or a human operator and keep the same protocol. My guess is the spec that wins won’t be the one with the coolest demos, but the one boring enough that a product team can live with it for 5-10 years.

nsonha•9m ago
What's agent/AI specific about this? Seems just backend-driven UI
mentalgear•5m ago
The way to do this would be to come together and design a common W3C-like standard.

The search for the vanished diver at Vortex Spring

https://thartribune.com/ben-mcdaniel-vanished-in-an-underwater-cave-at-vortex-spring-fifteen-year...
1•NikxDa•58s ago•0 comments

I asked an LLM to teach me Clojure

https://github.com/AquiGorka/clojure-lessons
1•AquiGorka•1m ago•1 comments

Haptic display technology creates 3D graphics you can see and feel

https://news.ucsb.edu/2025/022254/new-haptic-display-technology-creates-3d-graphics-you-can-see-a...
1•geox•1m ago•0 comments

Pornhub extorted after hackers steal Premium member activity data

https://www.bleepingcomputer.com/news/security/pornhub-extorted-after-hackers-steal-premium-membe...
1•thunderbong•3m ago•0 comments

Show HN: Open-source Markdown research tool written in Rust – Ekphos

https://github.com/hanebox/ekphos
1•haneboxx•4m ago•0 comments

PayPal Applies to Become a Bank as US Loosens Regulatory Reins

https://www.bloomberg.com/news/articles/2025-12-15/paypal-applies-to-become-a-bank-as-us-loosens-...
1•jnord•5m ago•0 comments

Things You Should Never Do, Part I

https://www.joelonsoftware.com/2000/04/06/things-you-should-never-do-part-i/
1•lionkor•5m ago•0 comments

Show HN: Ruby-TI – Static Type Checker for Mruby (Version 1.0)

https://github.com/engneer-hamachan/ruby-ti
1•hamachang•6m ago•0 comments

Show HN: MP3 File Editor / Player for Windows

https://github.com/cutandjoin/Cjam/releases/tag/v2350
1•cutandjoin•6m ago•0 comments

Rust and OCaml-style exhaustive error and None handling for Python

https://github.com/4tyone/pyrethrin
1•MelsHakobyan•8m ago•1 comments

How Nicolas Sarkozy Survived Twenty Days Behind Bars

https://www.newyorker.com/culture/critics-notebook/how-nicolas-sarkozy-survived-twenty-days-behin...
2•bookofjoe•9m ago•1 comments

Critical Databricks Mistakes Advanced Developers Make:Security,Workflows,Envs

https://blog.devgenius.io/14-critical-databricks-mistakes-advanced-developers-make-security-workf...
1•protmaks•10m ago•0 comments

Commoning open-source versus growth-hacking open-source

https://garagehq.deuxfleurs.fr/blog/2025-commoning-opensource/
1•wrxd•10m ago•0 comments

All about Parameters and Widgets in Databricks Workflows

https://medium.com/dev-genius/all-about-parameters-in-databricks-workflows-28ae13ebb212
1•protmaks•11m ago•0 comments

A game-changer app for self-help

https://www.z1.digital/work/gabby
1•Goofy_teckel•12m ago•0 comments

AoC Quantum Edition: Day 2

https://aqora.io/blog/advent-of-code-quantum-edition-day-2
1•stubbi•12m ago•0 comments

Merriam-Webster's 2025 word of the year is 'slop'

https://apnews.com/article/merriam-webster-dictionary-word-year-2025-slop-2dffb2379cac6001aa30e14...
2•gk1•13m ago•0 comments

Nth Country Experiment

https://en.wikipedia.org/wiki/Nth_Country_Experiment
1•Anon84•13m ago•0 comments

A visual editor for the Cursor Browser

https://cursor.com/blog/browser-visual-editor
2•iamspoilt•14m ago•0 comments

UK Lawmakers Propose Mandatory On-Device Surveillance and VPN Age Verification

https://reclaimthenet.org/uk-lawmakers-propose-mandatory-on-device-surveillance-and-vpn-age-verif...
2•robtherobber•14m ago•0 comments

A proof of concept of a semistable C++ vector container

https://github.com/joaquintides/semistable_vector
1•joaquintides•16m ago•0 comments

Detailed balance in large language model-driven agents

https://arxiv.org/abs/2512.10047
1•Anon84•17m ago•0 comments

Welcome to iWeb

https://www.apple.com/welcomescreen/ilife/iweb-3/
3•gregsadetsky•19m ago•1 comments

Learn Japanese RPG: Hiragana Forbidden Speech

https://store.steampowered.com/app/1114950/Learn_Japanese_RPG_Hiragana_Forbidden_Speech/
1•01-_-•20m ago•0 comments

Thomas Piketty: 'The reality is the US is losing control of the world'

https://www.lemonde.fr/en/opinion/article/2025/04/12/thomas-piketty-the-reality-is-the-us-is-losi...
4•robtherobber•21m ago•1 comments

Only These AI Startup Ideas Make Sense Now

1•shilpasanny•22m ago•1 comments

Tech savvy users have most digital concerns

https://newsroom.taylorandfrancisgroup.com/tech-savvy-users-have-most-digital-concerns/
3•01-_-•23m ago•0 comments

Build a ridiculous duck, give it style, and flex it like it owns the internet

https://duckparty.fun/
1•omidnikrah•25m ago•0 comments

Show HN: Zone – App blocker that tracks how often you try to open blocked apps

https://apps.apple.com/in/app/app-blocker-zone/id6753007462
1•appdevfun•25m ago•0 comments

Show HN: Resumeup.ai – ATS optimised resumes that lands you interviews

https://resumeup.ai/
1•rohithreddyj•26m ago•0 comments