npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@apteva/apteva-kit

v0.1.80

Published

AI-powered React component library for building interactive agent interfaces

Readme

Apteva-Kit

AI-powered component library for React. Build conversational interfaces with specialized components for different AI interaction patterns.

🚀 Quick Start

Run the Example App (Port 3060)

cd example
npm install
npm run dev

Then visit http://localhost:3060

Installation

npm install @apteva/apteva-kit
# or
yarn add @apteva/apteva-kit
# or
bun add @apteva/apteva-kit

Required: Import Styles

Add this import to your app's root layout or entry point:

import '@apteva/apteva-kit/styles.css';

For Next.js, add it to app/layout.tsx:

import '@apteva/apteva-kit/styles.css';
import './globals.css'; // your app's styles

Components

<Chat> - Full Chat Interface

Complete chat experience with message history, streaming, and widgets.

import { Chat } from '@apteva/apteva-kit';

<Chat
  agentId="agent_support"
  headerTitle="Customer Support"
  onAction={(action) => {
    console.log('Action:', action);
  }}
/>

<Command> - Single Command Execution

Execute a command, show loading, display result.

import { Command } from '@apteva/apteva-kit';

<Command
  agentId="agent_analyst"
  command="Analyze Q4 sales data"
  autoExecute
  onComplete={(result) => {
    console.log('Result:', result);
  }}
/>

<Prompt> - Inline AI Input

Single input field with AI completion.

import { Prompt } from '@apteva/apteva-kit';

<Prompt
  agentId="agent_writer"
  placeholder="Describe your product..."
  onResult={(text) => {
    setDescription(text);
  }}
/>

<Stream> - Streaming Text Display

Display streaming AI text without input UI.

import { Stream } from '@apteva/apteva-kit';

<Stream
  agentId="agent_narrator"
  prompt="Describe this dashboard"
  autoStart
  showCursor
/>

<Widgets> - Widget Renderer

Render AI-generated interactive widgets.

import { Widgets } from '@apteva/apteva-kit';

<Widgets
  widgets={aiGeneratedWidgets}
  layout="grid"
  columns={3}
  onAction={(action) => {
    console.log('Widget action:', action);
  }}
/>

<Threads> - Thread Management

Manage conversation threads.

import { Threads } from '@apteva/apteva-kit';

<Threads
  threads={conversations}
  currentThreadId={activeThread}
  onThreadSelect={setActiveThread}
  variant="sidebar"
  showSearch
/>

Features

  • Mock Data Built-in - All components work with mock data out of the box
  • TypeScript Native - Full type safety and autocompletion
  • Tailwind CSS - Styled with Tailwind v4
  • Customizable - Theme and style everything
  • Widget System - Rich interactive widgets (cards, lists, forms, charts, maps)
  • Action Handling - Client-side and server-side actions

Development

# Install dependencies
npm install

# Build package
npm run build

# Watch mode
npm run dev

# Type check
npm run type-check

License

MIT