redrob-labs

Agent Timeline

AI chats

About

An ordered, step-by-step timeline that shows what an AI agent is doing right now, with each step marked done, active, waiting, or errored.

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

Code

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

Usage.tsx

import AgentTimeline from "@/components/ui/agent-timeline";

export default function AgentTimelineDemo() {
  const steps = [
    {
      id: 1,
      state: "done" as const,
      label: "Read the role",
      meta: "0.6s",
      detail: "Credential check, 12 documents",
    },
    {
      id: 2,
      state: "done" as const,
      label: "Read 128 source records",
      meta: "1.4s",
    },
    {
      id: 3,
      state: "active" as const,
      label: "Drafting the equivalence summary",
      detail: "Three qualifications map to the Korean framework.",
    },
    {
      id: 4,
      state: "todo" as const,
      label: "Waiting for your approval to send",
    },
    { id: 5, state: "todo" as const, label: "Add slots to the calendar" },
  ];

  return (
    <div className="flex min-h-screen w-full items-center justify-center bg-background p-8">
      <div style={{ maxWidth: 520, width: "100%" }}>
        <AgentTimeline steps={steps} />
      </div>
    </div>
  );
}

More by redrob-labs

View all
  • Alert

    Alert

    44
  • Meter

    Meter

    29
  • Schedule Picker

    Schedule Picker

    28
  • Switch

    Switch

    11
  • Status Card

    Status Card

    10
  • Hero Section

    Hero Section

    10
  • Memory Scope

    Memory Scope

    9
  • Accordion

    Accordion

    5

More in AI chats

View all
  • AI Actions

    AI Actions

    361
  • Aquarium Prompt

    Aquarium Prompt

    158
  • Color Picker

    Color Picker

    224
  • AI Task List

    AI Task List

    198
  • Interactive LLM Token & Context Window Visualizer

    Interactive LLM Token & Context Window Visualizer

    2
  • AI Orb

    AI Orb

    211
  • Message

    Message

    53
  • Commit

    Commit

    43