Skip to content

feature idea: add generative UI system — custom Pi tools with rich inline rendering #54

Description

@dennistroeger

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:

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions