@awe0_io: When building your own AI agent, the interface really doesn't have to stay a one-question-one-answer chat box. This Tool UI on GitHub offers a full set of interactive components built specifically for AI applications. Maps, weather, charts, progress bars, code diffs, product cards, confirmation buttons, even X post previews — all can be directly integrated.…
Summary
assistant-ui has released Tool UI, a React component library designed specifically for AI applications that renders raw data returned from AI tool calls into interactive interfaces. It includes components like maps, charts, progress bars, code diffs, and approval cards, follows the shadcn/ui copy-paste pattern, and comes with built-in Zod validation.
View Cached Full Text
Cached at: 11/22/26, 12:29 AM
Building your own AI Agent? The interface doesn’t have to stay stuck in a plain question-and-answer chat box. This Tool UI on GitHub offers a full set of interaction components purpose-built for AI applications. Maps, weather, charts, progress bars, code diffs, product cards, confirmation buttons — even X post previews — can all be integrated directly. More importantly, it turns the data returned by AI tools into interfaces users can actually interact with. If you’re building your own ChatGPT or AI Agent product, this component library is well worth exploring.
GitHub: — # assistant-ui/tool-ui
Source: https://github.com/assistant-ui/tool-ui
Copy/paste React components for rendering tool calls in AI chat interfaces. Built by assistant-ui (https://github.com/assistant-ui).
Docs (https://tool-ui.com/docs/overview) · Gallery (https://tool-ui.com/docs/gallery) · Quick Start (https://tool-ui.com/docs/quick-start)
When a model calls a tool, most apps dump raw JSON into the conversation. These components turn tool payloads into interactive UI like approvals, forms, tables, charts, and media cards so users can understand and act without leaving the chat.
Featured Components
Option List Let users select from multiple choices
Question Flow Multi-step guided questions with branching
Why Tool UI?
- Copy/paste, not install — shadcn/ui model. Components live in your codebase. No dependency lock-in.
- Schema-validated — Every component has a Zod schema. Parse tool output, render when valid, fail safely when not.
- Interactive with receipts — Components aren’t just displays. Users make choices that flow back to the assistant. Choices persist as receipts.
- Built on shadcn/ui — Radix primitives, Tailwind styling, your theme. No new design system to learn.
Components
- Progress: Plan, Progress Tracker
- Input: Option List, Parameter Slider, Preferences Panel, Question Flow
- Display: Citation, Geo Map, Item Carousel, Link Preview, Stats Display, Terminal, Weather Widget
- Artifacts: Chart, Code Block, Code Diff, Data Table, Instagram Post, LinkedIn Post, Message Draft, X Post
- Confirmation: Approval Card, Order Summary
- Media: Audio, Image, Image Gallery, Video
Each component includes a Zod schema for payload validation and presets for realistic example data. Browse them all in the Gallery (https://tool-ui.com/docs/gallery).
License
MIT License. See LICENSE for details.
Similar Articles
@aisolopreneur: The funny thing about AI agents right now is they'll do all the research for you, read every review, narrow it down to …
推文讨论 AI 代理目前只输出大段文字而缺乏可视化决策界面的问题,并介绍 OpenUI 这一开源项目,旨在让 AI 输出变成可交互、可点击的界面,ChatGPT 也已在应用内推出 Intelligent UI。
@grapeot: Why Have We Been Giving AI Agents the Wrong Interface? Nearly all AI coding and agent tools default to chat windows (e.g., Cursor, Claude Code). But from an efficiency standpoint, this WeChat/Slack-inspired interaction is severely limiting AI...
The article criticizes the prevalent use of chat windows as the interface for AI programming tools, arguing that this design restricts the autonomous working ability of AI from both the user and developer ends, and proposes a shift to an asynchronous, task-driven collaboration model.
@heyshrutimishra: OpenUI 1.0 just dropped, and this is a big deal for agents. Right now almost every agent answers the same way: text. Ho…
OpenUI 1.0 发布,这是一个开源框架,能让 AI 代理把文本回答转化为由产品自身组件构建的实时界面(卡片、表格、地图、表单),开发者选择组件、模型决定展示内容。
@bozhou_ai: This is the most visually intuitive design Skill for removing the AI feel I've ever seen. The author is an early creator of jQuery UI, and it has already racked up 92.8k stars on GitHub. It includes 5 major functional dimensions: 1. Style Direction: Precise control over the interface's vibe. Supports one-click boosting of visual impact, toning down cluttered elements, fixing…
Impeccable, open-sourced by Paul Bakaus, an early creator of jQuery UI (92.8k stars on GitHub), is a design Skill for coding agents. It offers five major capabilities: style direction, design review, delivery polish, live iteration, and spec consolidation. Using 62 deterministic rules, it detects the homogenized "AI slop" problem in AI-generated interfaces, and is compatible with mainstream agents like Claude Code, Cursor, and Codex.
@FinnTsai88: The biggest headache with AI doing UI, Figma is finally starting to fix it. These days it's not hard to get AI to generate a beautiful interface — what's hard is getting it to follow instructions. Even with existing components and design specs available, it still likes to freelance, and as it keeps tweaking, the entire page's style and business logic drift away. Figma has now launched Fi…
Figma launches Figma Specs, which lets you write requirements and design specs in Markdown directly on the design canvas and link components, design files, and code so AI Agents can read this context. It also upgrades MCP to make it easier for AI coding tools like Codex to integrate with Figma, and pairs with Code Layers to run interactive code and prototypes in the canvas.