@inferencesh
A batteries-included shadcn registry from inference.sh providing a complete AI agent UI runtime. Key blocks: Agent (full wired agent with streaming and tool lifecycle), Chat (container, messages, composer, status indicators), Tools (tool invocation UI: pending, in-progress, human-in-the-loop approval, results), Widgets (renders declarative JSON UI nodes as interactive components), Markdown (high-fidelity with code blocks and zoomable images), Code Block, Steps, Sidebar Light, Table of Contents, YouTube Embed, and Zoomable Image. Open-source, MIT. Use for: building production AI agent interfaces in Next.js that need streaming, tool rendering, and human-in-the-loop approvals without wiring each piece from scratch.
Install this registry
npx shadcn@latest add https://ui.inference.sh/r/registry.json pnpm dlx shadcn@latest add https://ui.inference.sh/r/registry.json bunx shadcn@latest add https://ui.inference.sh/r/registry.json curl -s https://ui.inference.sh/r/registry.json Components
14 totalFull-featured AI agent chat with state management, tools, and widgets.
npx shadcn@latest add https://ui.inference.sh/r/agent.json Virtualized chat with measured markdown. Auto-scroll, message strategies, typing indicators.
npx shadcn@latest add https://ui.inference.sh/r/chat.json Displays tool lifecycle: pending, in-progress, approval, and results.
npx shadcn@latest add https://ui.inference.sh/r/tools.json Real-time task display with streaming support, status indicators, and logs viewer.
npx shadcn@latest add https://ui.inference.sh/r/task.json Renders declarative UI nodes (forms, buttons, cards) from agent tool outputs.
npx shadcn@latest add https://ui.inference.sh/r/widgets.json Measured markdown renderer powered by pretext. DOM-free text measurement, plugin architecture, virtualizable.
npx shadcn@latest add https://ui.inference.sh/r/pretext-md.json Typed virtualization with measurement strategies, incremental caching, and scroll correction.
npx shadcn@latest add https://ui.inference.sh/r/virtualize.json react-markdown based renderer. Consider using pretext-md instead.
npx shadcn@latest add https://ui.inference.sh/r/markdown.json Syntax-highlighted code block with line numbers and copy button.
npx shadcn@latest add https://ui.inference.sh/r/code-block.json Responsive YouTube video embed with loading state.
npx shadcn@latest add https://ui.inference.sh/r/youtube-embed.json Click-to-zoom image component with medium.com-style lightbox.
npx shadcn@latest add https://ui.inference.sh/r/zoomable-image.json Numbered step component with connecting line for sequential instructions.
npx shadcn@latest add https://ui.inference.sh/r/steps.json Lightweight sidebar navigation with nested items and active state.
npx shadcn@latest add https://ui.inference.sh/r/sidebar-light.json Auto-scrolling table of contents with intersection observer for active section.
npx shadcn@latest add https://ui.inference.sh/r/table-of-contents.json