Skip to main content
AsyncMySQLDb stores Agent, Team, and Workflow sessions, memories, knowledge, evaluations, and traces asynchronously in MySQL.

Usage

Install the sqlalchemy, asyncmy, and openai packages:
async_mysql_for_agent.py
Use async methods such as Agent.arun() and Agent.aprint_response() with this database.

Run MySQL

Install Docker Desktop, then start MySQL on port 3306:

Parameters