> ## 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 platform connection and release resources.

# disconnect

AsyncMethod

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

Tear down the platform connection and release resources.

## 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/bots/base.py#L511)
>
> `praisonaiagents/bots/base.py` at line 511


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