> ## 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 Config • AI Agent SDK

> PresenceConfig: Configuration for presence tracking.

# PresenceConfig

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

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

Configuration for presence tracking.

Attributes:
enabled: Toggle presence tracking
heartbeat\_interval: Expected heartbeat frequency from clients (seconds)
offline\_timeout: Mark offline after this many seconds without heartbeat
broadcast\_changes: Broadcast presence changes to subscribed channels

## Properties

<ResponseField name="enabled" type="bool">
  No description available.
</ResponseField>

<ResponseField name="heartbeat_interval" type="int">
  No description available.
</ResponseField>

<ResponseField name="offline_timeout" type="int">
  No description available.
</ResponseField>

<ResponseField name="broadcast_changes" type="bool">
  No description available.
</ResponseField>

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

## Source

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

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="Configuration Overview" icon="gear" href="/docs/docs/configuration/index" />

  <Card title="Agent Config" icon="robot" href="/docs/docs/configuration/agent-config" />
</CardGroup>
