tools-ui

Installation
Summary

React/Next.js components for displaying tool calls across their full lifecycle: pending, running, approval, success, and error states.

  • Includes three core components: ToolCall for displaying pending/running tool invocations, ToolResult for showing completed outputs, and ToolApproval for human-in-the-loop approval flows with approve/deny callbacks
  • Automatic icon assignment based on tool name patterns (search, read, write, delete, send, etc.) with fallback to wrench icon
  • Five distinct tool states (pending, running, approval, success, error) with customizable styling via className prop
  • Integrates seamlessly with the Agent component for automatic tool lifecycle management and optional approval gates on sensitive operations
SKILL.md

Tool UI Components

Tool lifecycle components from ui.inference.sh.

Tool UI Components

Quick Start

npx shadcn@latest add https://ui.inference.sh/r/tools.json

Tool States

Related skills
Installs
GitHub Stars
500
First Seen
tools-ui — inferen-sh/skills