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

@uipath/ui-widgets-conversational-agent-chat

v1.0.0-beta.1

Published

A React conversational agent chat component

Readme

Conversational Agent Chat Widget

A React component that provides a conversational AI chat interface powered by UiPath Conversational Agents. Built on top of UiPath Apollo React components, this widget enables seamless integration of AI-powered chat functionality into your applications.

Features

  • Real-time streaming responses from conversational agents
  • Tool call visualization and tracking
  • Support for side-by-side and embedded chat modes
  • Customizable welcome experience with suggestions
  • Automatic conversation and session management
  • Multi-conversation support with "New Chat" functionality
  • Built with TypeScript for type safety

Installation

npm install @uipath/ui-widgets-conversational-agent-chat

Peer Dependencies

This package requires the following peer dependencies:

npm install react@^19.2.0 react-dom@^19.2.0 @uipath/uipath-typescript

Usage

Basic Example

import { ConversationalAgentChat } from "@uipath/ui-widgets-conversational-agent-chat";
import "@uipath/ui-widgets-conversational-agent-chat/ConversationalAgentChat.css";
import { UiPath } from "@uipath/uipath-typescript/core";

function App() {
  const sdk = new UiPath({
    // Your UiPath SDK configuration
  });

  return <ConversationalAgentChat sdk={sdk} agentId={123} folderId={456} />;
}

Customized Example

import { ConversationalAgentChat } from "@uipath/ui-widgets-conversational-agent-chat";
import "@uipath/ui-widgets-conversational-agent-chat/ConversationalAgentChat.css";
import { AutopilotChatMode } from "@uipath/apollo-react/material/components";

function App() {
  const sdk = new UiPath({
    // Your UiPath SDK configuration
  });

  return (
    <ConversationalAgentChat
      sdk={sdk}
      agentId={123}
      folderId={456}
      mode={AutopilotChatMode.SideBySide}
      title="Custom Chat Title"
      description="Ask me anything about your business data."
    />
  );
}

API Reference

Props

| Prop | Type | Required | Default | Description | | ------------- | ------------------- | -------- | ------------------------------------------------------------------- | ------------------------------------------------- | | sdk | UiPath | Yes | - | UiPath SDK instance for API communication | | agentId | number | Yes | - | The ID of the conversational agent release to use | | folderId | number | Yes | - | The folder ID where conversations will be stored | | mode | AutopilotChatMode | No | AutopilotChatMode.SideBySide | Chat display mode (SideBySide or Embedded) | | title | string | No | 'Welcome to UiPath Autopilot Chat!' | Title displayed in the first-run experience | | description | string | No | 'Ask me anything about your data or how to use this application.' | Description shown in the first-run experience |

Chat Modes

The component supports different display modes via the mode prop:

  • AutopilotChatMode.SideBySide - Displays the chat in a side panel
  • AutopilotChatMode.Embedded - Embeds the chat inline within your layout

Features in Detail

Streaming Responses

The component supports real-time streaming of AI responses, providing a smooth conversational experience as the agent generates its reply.

Tool Call Tracking

When the conversational agent uses tools, the component automatically displays:

  • Tool name and input parameters
  • Execution status
  • Output results
  • Error handling

Session Management

The widget automatically handles:

  • Conversation creation and persistence
  • Session initialization and maintenance
  • Multiple conversation support via "New Chat"

Styling

The component comes with default styles. Import the CSS file in your application:

import "@uipath/ui-widgets-conversational-agent-chat/ConversationalAgentChat.css";

The chat interface supports both light and dark themes through the UiPath Apollo design system.

Development

Install Dependencies

npm install

Build the Package

npm run build

Run Tests

# Run tests once
npm test

# Run tests in watch mode
npm run test:watch

# Run tests with UI
npm run test:ui

# Run tests with coverage
npm run test:coverage

TypeScript Support

This package is written in TypeScript and includes type definitions. Import types as needed:

import type { ConversationalAgentChatProps } from "@uipath/ui-widgets-conversational-agent-chat";

License

MIT