# Agent status (AgentStatus) · Booki

> One short line telling a person what the agent is doing: idle, working, waiting for a person, done or refused. Lime only for the agent's own work; the agent itself never reads it.

Source: https://booki.dev/docs/agent-status

Building blocks

# Agent status

`AgentStatus`

One short line telling a person what the agent is doing: idle, working, waiting for a person, done or refused. Lime only for the agent's own work; the agent itself never reads it.

The person sees

Loading preview…

Bridge demo

```
booki_version=$(npm view @booki-aui/react@latest version) &&
ui_sdk_version=$(npm view "@booki-aui/react@$booki_version" peerDependencies.@ui-sdk/core) &&
pnpm add --save-exact "@booki-aui/core@$booki_version" "@booki-aui/react@$booki_version" "@booki-aui/styles@$booki_version" \
  "@ui-sdk/core@$ui_sdk_version" "@ui-sdk/react@$ui_sdk_version"
```

## Usage example

```jsx
import { AgentStatus } from "@booki-aui/react"

<AgentStatus state="waiting" />
```

Shows "waiting for a person" in the person's language, with the icon hidden and the change announced politely. Pass the state your agent loop is in; label overrides the words.

Import from `@booki-aui/react`. For Booki's default styling, add `import "@booki-aui/styles"`.
