AgentStatusPill

One pill for what an agent is doing: ready, thinking, using a tool, waiting on you or failed. The glyph and width morph between states. AI.

Open playground
Thinking

About

AgentStatusPill is a React component in the AI category of smoui. It is typed, ships no stylesheet, follows your theme through CSS variables, and honors prefers-reduced-motion. Import it with import { AgentStatusPill } from "@ashutoshswamy/smoui" and set state, label.

Install

Terminal
npm i @ashutoshswamy/smoui

Usage

TSX
import { AgentStatusPill } from "@ashutoshswamy/smoui";

<AgentStatusPill state="tool" label="Running search_orders" />

Props 2

state

Current state.

"idle""thinking""tool""waiting""error"
label

Replaces the default wording.

string