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

# Get Home • AI Agent SDK

> get_home: Get the home channel for a platform.

# get\_home

<div className="flex items-center gap-2">
  <Badge color="purple">Method</Badge>
</div>

> This is a method of the [**HomeChannelRegistryProtocol**](../classes/HomeChannelRegistryProtocol) class in the [**protocols**](../modules/protocols) module.

Get the home channel for a platform.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def get_home(platform: str) -> Optional[tuple[str, Optional[str]]]
```

## Parameters

<ParamField query="platform" type="str" required={true}>
  Platform name to look up
</ParamField>

### Returns

<ResponseField name="Returns" type="Optional[tuple[str, Optional[str]]]">
  Tuple of (chat\_id, thread\_id) if set, None otherwise
</ResponseField>

## Source

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