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

# close • AI Agent SDK

> close: Close the underlying database connection.

# close

Method

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

Close the underlying database connection.

## Signature

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

## Uses

* `close`

## Used By

* [`Agent.close`](../functions/Agent-close)
* [`Agent.close`](../functions/Agent-close)
* [`Agent.aclose`](../functions/Agent-aclose)
* [`Agent.aclose`](../functions/Agent-aclose)
* [`Agent.aclose`](../functions/Agent-aclose)

## Source

> [card] [View on GitHub](https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/runtime/journal.py#L437)
>
> `praisonaiagents/runtime/journal.py` at line 437


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