frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

I turned Markdown into a protocol for generative UI

https://fabian-kuebler.com/posts/markdown-agentic-ui/
30•FabianCarbonara•5h ago
There's a lot of work happening around both generative UI and code execution for AI agents. I kept wondering: how do you bring them together into a fully featured architecture? I built a prototype:

- Markdown as protocol — one stream carrying text, executable code, and data

- Streaming execution — code fences execute statement by statement as they stream in

- A mount() primitive — the agent creates React UIs with full data flow between client, server, and LLM

Let me know what you think!

Comments

eightysixfour•1h ago
There seems to be a lot of movement in this direction, how do you feel about Markdown UI?

https://markdown-ui.com/

threatofrain•1h ago
I'd much prefer MDX.
FabianCarbonara•59m ago
Markdown UI and my approach share the "markdown as the medium" insight, but they're fundamentally different bets:

Markdown UI is declarative — you embed predefined widget types in markdown. The LLM picks from a catalog. It's clean and safe, but limited to what the catalog supports.

My approach is code-based — the LLM writes executable TypeScript in markdown code fences, which runs on the server and can render any React UI. It also has server-side state, so the UI can do forms, callbacks, and streaming data — not just display widgets.

zeroq•1h ago
If you're still looking for a name let me suggest "hyper text".

It embodies the whole idea of having data, code and presentation at the same place.

If you're open for contributions I already have an idea for cascading styles system in mind.

altruios•1h ago
Every turn of the wheel someone wants to make a new one.

Maybe one day someone will invent a rounder wheel.

FabianCarbonara•37m ago
Ha, history does rhyme ;) Happy if you reach out via mail!
iusethemouse•1h ago
There’s definitely a lot of merit to this idea, and the gifs in the article look impressive. My strong opinion is that there’s a lot more to (good) UIs than what an LLM will ever be able to bring (happy to be proven wrong in a few years…), but for utilitarian and on-the-fly UIs there’s definitely a lot of promise
theturtletalks•56m ago
OpenUI and JSON-render are some other players in this space.

I’m building an agentic commerce chat that uses MCP-UI and want to start using these new implementations instead of MCP-UI but can’t wrap my head around how button on click and actions work? MCP-UI allows onClick events to work since you’re “hard coding” the UI from the get-go vs relying on AI generating undertemistic JSON and turning that into UI that might be different on every use.

FabianCarbonara•50m ago
In my approach, callbacks are first-class. The agent defines server-side functions and passes them to the UI:

  const onRefresh = async () => {
    data.loading = true;
    data.messages = await loadMessages();
    data.loading = false;
  };

  mount({
    data,
    callbacks: { onRefresh },
    ui: ({ data, callbacks }) => (
      <Button onClick={callbacks.onRefresh}>Refresh</Button>
    )
  });
When the user clicks the button, it invokes the server-side function. The callback fetches fresh data, updates state via reactive proxies, and the UI reflects it — all without triggering a new LLM turn.

So the UI is generated dynamically by the LLM, but the interactions are real server-side code, not just display. Forms work the same way — "await form.result" pauses execution until the user submits.

The article has a full walkthrough of the four data flow patterns (forms, live updates, streaming data, callbacks) with demos.

wangmander•9m ago
Using markdown as the transport layer is clever because every LLM already speaks it fluently. You're not teaching the model a new format, you're just giving existing behavior a runtime.

Astral to Join OpenAI

https://astral.sh/blog/openai
896•ibraheemdev•6h ago•579 comments

An update on Steam / GOG changes for OpenTTD

https://www.openttd.org/news/2026/03/19/steam-changes-update
105•jandeboevrie•1h ago•61 comments

Show HN: Three new Kitten TTS models – smallest less than 25MB

https://github.com/KittenML/KittenTTS
139•rohan_joshi•3h ago•50 comments

Noq: n0's new QUIC implementation in Rust

https://www.iroh.computer/blog/noq-announcement
35•od0•49m ago•5 comments

Return of the Obra Dinn: spherical mapped dithering for a 1bpp first-person game

https://forums.tigsource.com/index.php?topic=40832.msg1363742#msg1363742
36•PaulHoule•2d ago•6 comments

Android: Balancing Openness and Choice with Safety

https://android-developers.googleblog.com/2026/03/android-developer-verification.html
53•0xedb•1h ago•40 comments

OpenBSD: PF queues break the 4 Gbps barrier

https://undeadly.org/cgi?action=article;sid=20260319125859
142•defrost•5h ago•43 comments

Juggalo Makeup Blocks Facial Recognition Technology (2019)

https://consequence.net/2019/07/juggalo-makeup-facial-recognition/
188•speckx•6h ago•95 comments

Launch HN: Voltair (YC W26) – Drone and charging network for power utilities

20•wweissbluth•2h ago•4 comments

Scaling Karpathy's Autoresearch: What Happens When the Agent Gets a GPU Cluster

https://blog.skypilot.co/scaling-autoresearch/
40•hopechong•2h ago•14 comments

How to Not Pay Your Taxes

https://taylor.town/succession-000
73•surprisetalk•1h ago•51 comments

World Happiness Report 2026

https://www.worldhappiness.report/ed/2026/
66•ChrisArchitect•2h ago•41 comments

The Shape of Inequalities

https://www.andreinc.net/2026/03/16/the-shape-of-inequalities/
68•nomemory•4h ago•11 comments

macOS 26 breaks custom DNS settings including .internal

https://gist.github.com/adamamyl/81b78eced40feae50eae7c4f3bec1f5a
216•adamamyl•4h ago•111 comments

I turned Markdown into a protocol for generative UI

https://fabian-kuebler.com/posts/markdown-agentic-ui/
30•FabianCarbonara•5h ago•10 comments

Prompt Injecting Contributing.md

https://glama.ai/blog/2026-03-19-open-source-has-a-bot-problem
66•statements•3h ago•21 comments

4Chan mocks £520k fine for UK online safety breaches

https://www.bbc.com/news/articles/c624330lg1ko
83•mosura•4h ago•55 comments

Launch HN: Canary (YC W26) – AI QA that understands your code

16•Visweshyc•3h ago•11 comments

Afroman found not liable in defamation case

https://nypost.com/2026/03/18/us-news/afroman-found-not-liable-in-bizarre-ohio-defamation-case/
945•antonymoose•9h ago•531 comments

What if Python was natively distributable?

https://medium.com/@bzurak/what-if-python-was-natively-distributable-3bfae485a408
42•bzurak•3d ago•16 comments

Connecticut and the 1 Kilometer Effect

https://alearningaday.blog/2026/03/19/connecticut-and-the-1-kilometer-effect/
11•speckx•1h ago•1 comments

Hyper-optimized reverse geocoding API

https://github.com/traccar/traccar-geocoder
42•tananaev•4h ago•9 comments

Consensus Board Game

https://matklad.github.io/2026/03/19/consensus-board-game.html
62•surprisetalk•5h ago•9 comments

Love of corporate bullshit is correlated with bad judgment

https://pluralistic.net/2026/03/19/jargon-watch/
58•hn_acker•2h ago•17 comments

Conway's Game of Life, in real life

https://lcamtuf.substack.com/p/conways-game-of-life-in-real-life
293•surprisetalk•15h ago•79 comments

Show HN: Dumped Wix for an AI Edge agent so I never have to hire junior staff

8•axotopia•3h ago•13 comments

Ramtrack.eu – RAM Price Intelligence

https://ramtrack.eu
60•nu11r0ut3•6h ago•20 comments

A rogue AI led to a serious security incident at Meta

https://www.theverge.com/ai-artificial-intelligence/897528/meta-rogue-ai-agent-security-incident
5•mikece•8m ago•0 comments

UK's Ofcom has today fined 4chan £450k for not having age checks in place

https://www.ofcom.org.uk/online-safety/illegal-and-harmful-content/4chan-fined-450000-for-not-pro...
50•longislandguido•1h ago•53 comments

Monuses and Heaps

https://doisinkidney.com/posts/2026-03-03-monus-heaps.html
11•aebtebeten•19h ago•1 comments