> ## 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**](../modules/protocols) module.

<Badge color="blue">AI Agent</Badge>

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

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/gateway/protocols.py#L271">
  `praisonaiagents/gateway/protocols.py` at line 271
</Card>

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="Session Management" icon="clock" href="/docs/docs/concepts/session-management" />

  <Card title="Sessions Feature" icon="folder" href="/docs/docs/features/sessions" />

  <Card title="Session Persistence" icon="database" href="/docs/docs/features/session-persistence" />
</CardGroup>
