Skip to main content
Agno supports using MongoDB asynchronously as a storage backend for Agents, with the AsyncMongoDb class.

Usage

You need to provide either db_url or client. The following example uses db_url.

Run MongoDB

Install docker desktop and run MongoDB on port 27017 using:
async_mongodb_for_agent.py

Params