LiveKit docs › React components › Hooks › useVoiceAssistant

---

# useVoiceAssistant

> ℹ️ **Note**
> 
> This feature is under active development and may change based on developer feedback and real-world usage.

This hook looks for the first agent-participant in the room.

## Import

```typescript
import { useVoiceAssistant } from "@livekit/components-react";

```

## Remarks

This hook requires an agent running with livekit-agents >= 0.9.0

## Usage

```tsx
const { state, audioTrack, agentTranscriptions, agentAttributes } = useVoiceAssistant();

```

## Returns

```typescript
VoiceAssistant;

```

---

This document was rendered at 2026-11-14T14:49:19.268Z.
For the latest version of this document, see [https://docs.livekit.io/reference/components/react/hook/usevoiceassistant.md](https://docs.livekit.io/reference/components/react/hook/usevoiceassistant.md).

To explore all LiveKit documentation, see [llms.txt](https://docs.livekit.io/llms.txt).