Clarx

Agent Status

Communicate what an AI agent is currently doing across multi-step tasks.

AgentStatus shows a compact inline status with a colored dot and label. Use it above a message thread or in a header to give users real-time feedback on agent progress without cluttering the conversation.

idle
Idle
thinking
Thinking...
using-tool
Using tool...
responding
Responding...
done
Done
error
Error

States table

StateDotColorDefault label
idlenonezinc-400Idle
thinkingpulsezinc-400Thinking...
using-toolpulseblue-500Using tool...
respondingpulseviolet-500Responding...
donestaticgreen-500Done
errorstaticred-500Error

Usage

import { AgentStatus } from '@clarxai/ui'

// Basic usage
<AgentStatus state="thinking" />

// Custom label
<AgentStatus state="using-tool" label="Searching documentation..." />

// Cycle through states as the agent progresses
const [state, setState] = useState<AgentState>('idle')
// ... update state as stream events arrive
<AgentStatus state={state} />

Props

PropTypeDefaultDescription
stateAgentStateCurrent agent state
labelstringOverrides the default label for the given state
classNamestringAdditional class names