> ## Documentation Index
> Fetch the complete documentation index at: https://agno-v2-docs-align-with-readme.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Async SQLite

> Use SQLite asynchronously for session storage.

<Badge icon="code-branch" color="orange">
  <Tooltip tip="Introduced in v2.2.2" cta="View release notes" href="https://github.com/agno-agi/agno/releases/tag/v2.2.2">v2.2.2</Tooltip>
</Badge>

Agno supports using [Sqlite](https://www.sqlite.org) asynchronously, with the `AsyncSqliteDb` class.

## Usage

```python async_sqlite_for_agent.py theme={null}
from agno.agent import Agent
from agno.db.sqlite import AsyncSqliteDb

# Setup the SQLite database
db = AsyncSqliteDb(db_file="tmp/data.db")

# Setup a basic agent with the SQLite database
agent = Agent(db=db)
```

## Params

<Snippet file="db-async-sqlite-params.mdx" />

## Developer Resources

* View [Cookbook](https://github.com/agno-agi/agno/tree/main/cookbook/07_database/sqlite/async_sqlite)
