Saurabh

Agent Activity

AI chats 19

About

An adaptive activity stream that shows an AI agent's reasoning, tool calls, web searches, or execution steps as a collapsible, animated timeline.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Agent Activity to your project and fits it to your theme.

Code

How Agent Activity is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";

import AgentActivity, {
  type AgentActivityItem,
} from "@/components/ui/agent-activity";

const STEPS: AgentActivityItem[] = [
  {
    id: "brief",
    type: "step",
    label: "Reading the product brief",
    status: "complete",
  },
  {
    id: "patterns",
    type: "step",
    label: "Mapping the interaction patterns",
    status: "complete",
  },
  {
    id: "states",
    type: "step",
    label: "Connecting the loading and completion states",
    status: "complete",
    meta: "3 states",
  },
  {
    id: "verify",
    type: "step",
    label: "Verifying the final behavior",
    status: "active",
  },
];

export default function AgentActivityDemo() {
  return (
    <div className="w-full max-w-lg">
      <AgentActivity
        items={STEPS}
        status="working"
        contentType="step"
        duration={4.2}
        maxHeight={220}
      />
    </div>
  );
}

Dependencies

More by Saurabh

View all
  • BeUI Tilt Card

    BeUI Tilt Card

    365
  • BeUI Expandable Tabs

    BeUI Expandable Tabs

    341
  • BeUI File Upload

    BeUI File Upload

    287
  • BeUI Create Menu

    BeUI Create Menu

    199
  • BeUI Bouncy Accordion

    BeUI Bouncy Accordion

    199
  • BeUI Expanable Action Bar

    BeUI Expanable Action Bar

    181
  • Loader

    Loader

    172
  • BeUI OTP Input

    BeUI OTP Input

    166

More in AI chats

View all
  • AI Actions

    AI Actions

    317
  • Color Picker

    Color Picker

    74
  • Prompt with Model Picker

    Prompt with Model Picker

    2
  • Agent Chat

    Agent Chat

    17
  • Approval Card

    Approval Card

    12
  • System Message

    System Message

    53
  • Message

    Message

    48
  • AI Task List

    AI Task List

    159