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

# disconnect • AI Agent SDK

> disconnect: Tear down the relay connection.

# disconnect

AsyncMethod

> This is a method of the [**RelayTransport**](https://praison.ai/docs/sdk/reference/praisonaiagents/classes/RelayTransport.md) class in the [**protocols**](https://praison.ai/docs/sdk/reference/praisonaiagents/modules/protocols.md) module.

Tear down the relay connection.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
async def disconnect() -> None
```

## Used By

* [`BasePlatformAdapter.start`](../functions/BasePlatformAdapter-start)
* [`BasePlatformAdapter.stop`](../functions/BasePlatformAdapter-stop)
* [`BasePlatformAdapter.probe`](../functions/BasePlatformAdapter-probe)

## Source

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


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