Skip to content

agents-ui/agents-kit

Repository files navigation

agents-ui-kit

Advanced UI components for building AI agent interfaces.
Build sophisticated agent experiences, autonomous assistants, and multi-agent systems with beautiful, customizable components.

agents-ui-kit hero

About

agents-ui-kit extends the excellent prompt-kit library with additional components specifically designed for AI agent interfaces. This library includes all the original prompt-kit components plus new agent-focused components.

Attribution

This project is built on top of prompt-kit. We maintain all original components and functionality while adding new agent-specific features.

Installation

Install shadcn/ui

First, you'll need to install and configure shadcn/ui in your project.
Follow the installation guide in the shadcn/ui documentation.

Install agents-ui-kit components

Once shadcn/ui is set up, you can install components using the shadcn CLI:

Original prompt-kit components:

npx shadcn@latest add agents-ui-kit/prompt-kit/[component]

New agent-specific components:

npx shadcn@latest add agents-ui-kit/agents-ui/[component]

Usage

After installation, import and start using the components in your project:

// Original prompt-kit components
import { PromptInput } from "@/components/prompt-kit/prompt-input"
import { Message } from "@/components/prompt-kit/message"

// New agent-specific components
import { AgentCard } from "@/components/agents-ui/agent-card"
import { TaskQueue } from "@/components/agents-ui/task-queue"

Components Preview

Agent Card Component

The Agent Card displays agent information with real-time status, capabilities, and interactive controls.

Agent Card Basic

Agent Card Interactive

Navigation Structure

The sidebar clearly separates agents-ui components from the original prompt-kit components.

Sidebar Navigation

New Specialized Agent Components

A growing library of 30+ specialized agent components covering orchestration, human-in-the-loop workflows, analytics dashboards, research tools, and media generation interfaces.

Image Generation & Editing Agent

Handle AI-generated images with proper variation management, export controls, and editing workflows. Supports multiple formats and real-time preview updates.

Image Agent

Video Editor Agent

Professional video editing interface with timeline visualization, clip management, and export controls. Perfect for AI video generation workflows.

Video Agent

Audio Generation Agent

Complete audio synthesis interface with waveform visualization, voice controls, and real-time playback. Handles voice selection, speed control, and multiple export formats.

Audio Agent

Grammar & Text Analysis Agent

Smart text analysis with categorized suggestions, issue detection, and correction workflows. Shows readability scores and handles bulk text improvements.

Grammar Agent

Component Libraries

prompt-kit (Original Components)

All original prompt-kit components are preserved:

  • Message - Display chat messages with avatars and actions
  • PromptInput - Enhanced input for prompts
  • ResponseStream - Streaming text responses
  • CodeBlock - Syntax-highlighted code display
  • Markdown - Rich markdown rendering
  • ChatContainer - Full chat interface
  • Loader - Loading states
  • ScrollButton - Scroll controls
  • And more...

agents-ui (New Components)

Specialized components for agent workflows:

Core Agent Components

  • AgentCard - Display agent information, capabilities, and status
  • AgentResponse - Handle agent messages with tool integration
  • AgentPromptComposer - Advanced prompt building interface
  • AgentChatHistory - Conversation history management
  • AgentStatusPanel - Real-time agent status monitoring
  • AgentToolPalette - Tool selection and management
  • AgentFeedback - User satisfaction collection

Operations & Monitoring

  • AgentOpsMonitor - Live signal dashboard with metrics, incidents, and escalation controls
  • AgentTaskQueue - Orchestrate multi-step workflows with progress, priorities, and metrics
  • AgentWorkflowPlanner - Guided checkpoint planner with playbooks and handoff queues

Analytics & Finance

  • AgentRevenueInsights - Scenario planning surface with ARR forecasts and opportunity insights
  • AgentAnalyticsPulse - Growth analytics overview with segment switching and highlights
  • AgentDataAnalysis - Bento grid analytics dashboard with sparklines, donut charts, and distribution bars

Orchestration & Routing

  • AgentOrchestrator - Multi-agent coordination dashboard with communication logs and per-agent metrics
  • AgentParallelProcessor - Fan-out/fan-in pipeline visualization with SVG connection lines and ring progress
  • AgentSequentialWorkflow - Metro/subway map pipeline with station nodes and animated data flow
  • AgentRoutingHub - Hub-and-spoke query routing with classification ticker and confidence gauge
  • AgentEvaluator - Quality assurance dashboard with radial gauge, convergence charts, and iteration timeline

Human-in-the-Loop

  • AgentToolApproval - Tool execution approval flow with risk banners, parameter display, and history timeline
  • AgentPlanBuilder - Kanban-style plan review board with per-step approval and confidence gauge
  • AgentInquiry - Conversational decision interface with chat bubbles, pill selections, and star ratings

Research & Analysis

  • AgentSourcesCitations - Magazine-style citation layout with masonry grid and source verification
  • AgentCompetitorResearch - Business intelligence view with radar chart, SWOT matrix, and dot matrix comparison

Generators & Artifacts

  • AgentArtifact - IDE-style artifact viewer with macOS chrome, syntax highlighting, and version timeline
  • AgentFormGenerator - Drag-drop form builder aesthetic with field palette and live preview
  • AgentCodeExecutor - Terminal/console emulator with split panes, line numbers, and status bar

Media Agent Components

  • AgentImageEditor - AI image editing with variation management and export controls
  • AgentVideoEditor - Professional video editing with timeline and playback controls
  • AgentAudioGenerator - Voice synthesis with waveform visualization and voice controls
  • AgentGrammarChecker - Smart text analysis with categorized suggestions and corrections

Development

# Install dependencies
npm install

# Run development server
npm run dev

# Build for production
npm run build

# Build component registry
npm run build:registry

Contributing

We welcome contributions! Please feel free to submit issues and pull requests.

License

This project is distributed under a non-commercial license. You may remix and use the components for personal or internal evaluation, but commercial usage requires written permission.
For commercial licenses, contact me@abhishek.it. See LICENSE.md for the full terms.

Author

Abhishek Gahlot
Email: me@abhishek.it


Built on top of prompt-kit and shadcn/ui

Releases

No releases published

Packages

 
 
 

Contributors

Languages