# Agent presence (AgentPresence) · Booki

> A small marker on the control the agent is changing, announced to a screen reader.

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

Building blocks

# Agent presence

`AgentPresence`

A small marker on the control the agent is changing, announced to a screen reader.

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 { AgentPresence } from "@booki-aui/react"
import { agent } from "./agent"

// Once, in the app shell:
<AgentPresence agent={agent} label="Agent" />
```

While the agent changes a control, a lime marker sits on it and a screen reader hears which control it is.

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