Skip to main content
Agno supports using local JSON files as a “database” with the JsonDb class. This is a simple way to store your Agent’s session data without having to setup a database.
Using JSON files as a database is not recommended for production applications. Use it for demos, testing and any other use case where you don’t want to setup a database.

Usage

Install the openai package:
json_for_agent.py

Params