Skip to main content
AsyncSqliteDb stores a Team’s sessions and run history asynchronously in SQLite. Use async Team methods such as arun() and aprint_response().

Usage

AsyncSqliteDb uses an async db_engine, then db_url, then db_file. A db_url must use an async driver such as sqlite+aiosqlite. If none is provided, it creates agno.db in the current directory. The following example uses db_file. Install the sqlalchemy asyncio extra, aiosqlite, openai, and ddgs:
async_sqlite_for_team.py

Parameters