Skip to main content
Agno supports using MongoDB as a storage backend for Agents using the MongoDb 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:
mongodb_for_agent.py

Params