LiveKit docs › Hooks › useSession

---

# useSession

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

A Session represents a managed connection to a Room which can contain Agents.

## Import

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

```

## Properties

- **`tokenSource`** _(TokenSourceConfigurable)_: 

## Returns

```typescript
UseSessionReturn;

```

---

This document was rendered at 2026-06-07T11:32:19.863Z.
For the latest version of this document, see [https://docs.livekit.io/reference/components/react/hook/usesession.md](https://docs.livekit.io/reference/components/react/hook/usesession.md).

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