> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Session Visibility • AI Agent SDK

> SessionVisibility: How widely a Gateway session may be observed by other clients.

# SessionVisibility

> Defined in the [**protocols**](https://praison.ai/docs/sdk/reference/praisonaiagents/modules/protocols.md) module.

AI Agent

How widely a Gateway session may be observed by other clients.

A session's visibility gates *whether* a second authorised client may
attach to watch (or co-drive) the same live turn stream, on top of the
orthogonal :class:`OperatorScope` authorisation. The vocabulary lives in
core so every client/impl agrees; enforcement happens in the wrapper.

Values:
PRIVATE:   Owner only. Today's behaviour and the default — a session
stays bound 1:1 to its owning client.
SHARED:    Members may co-drive; additional authorised clients may
attach with WRITE-capable roles.
READ\_ONLY: Additional clients may attach as viewers to observe the
transcript, but not send.

## Source

> **[View on GitHub](https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/gateway/protocols.py#L272)**
>
> `praisonaiagents/gateway/protocols.py` at line 272

***

## Related Documentation

> **[Session Management](https://praison.ai/docs/docs/concepts/session-management)**

> **[Sessions Feature](https://praison.ai/docs/docs/features/sessions)**

> **[Session Persistence](https://praison.ai/docs/docs/features/session-persistence)**


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.