> ## 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.

# Presence Info • AI Agent SDK

> PresenceInfo: Presence information for a connected client.

# PresenceInfo

> Defined in the [**protocols**](../modules/protocols) module.

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

Presence information for a connected client.

Attributes:
client\_id: Client identifier
status: Presence status ("online", "idle", "offline")
last\_seen: Last heartbeat timestamp
metadata: Client-provided metadata (e.g., display name)
channels: Channels this client is subscribed to

## Properties

<ResponseField name="client_id" type="str">
  No description available.
</ResponseField>

<ResponseField name="status" type="str">
  No description available.
</ResponseField>

<ResponseField name="last_seen" type="float">
  No description available.
</ResponseField>

<ResponseField name="metadata" type="Dict[str, Any]">
  No description available.
</ResponseField>

<ResponseField name="channels" type="List[str]">
  No description available.
</ResponseField>

<Accordion title="Internal & Generic Methods">
  * **from\_dict**: Create from dictionary.
  * **to\_dict**: Convert to dictionary for serialization.
</Accordion>

## Source

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