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

Usage

Install the sqlalchemy asyncio extra, aiosqlite, openai, and ddgs:
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.
async_sqlite_for_agent.py

Parameters