Hey, I've been using Tau and really like it. One thing I was missing was generative UI, like cards, charts, buttons, and similar components, like assistant-ui has, where tool results render as rich inline components instead of raw JSON in collapsed tool cards. Like: Assistant UI
I ended up building it as a Pi extension plus frontend renderers:
extensions/gen-ui/ ← Pi custom tools (registerTool)
src/public/ ← inline renderers in tool-card.ts
public/style.css ← gen-ui component styles
It's complementary to the existing ctx.ui system. That handles modals like select, confirm, and input, while this handles inline presentation, such as cards, charts, and gauges.
I'm not a developer, so I don't know if this is actually a good idea architecturally, but it seemed useful and I wanted to share it.
Do you consider this something useful?
Example:

Hey, I've been using Tau and really like it. One thing I was missing was generative UI, like cards, charts, buttons, and similar components, like assistant-ui has, where tool results render as rich inline components instead of raw JSON in collapsed tool cards. Like: Assistant UI
I ended up building it as a Pi extension plus frontend renderers:
extensions/gen-ui/ ← Pi custom tools (registerTool)
src/public/ ← inline renderers in tool-card.ts
public/style.css ← gen-ui component styles
It's complementary to the existing ctx.ui system. That handles modals like select, confirm, and input, while this handles inline presentation, such as cards, charts, and gauges.
I'm not a developer, so I don't know if this is actually a good idea architecturally, but it seemed useful and I wanted to share it.
Do you consider this something useful?
Example: