Skip to main content

Documentation Index

Fetch the complete documentation index at: https://agno-v2-shaloo-ai-support-link.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Agno supports using In-Memory storage with the InMemoryDb class. By doing this, you will be able to use all features that depend on having a database, without having to set one up.
Using the In-Memory storage 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

from agno.agent import Agent
from agno.db.in_memory import InMemoryDb

# Setup in-memory database
db = InMemoryDb()

# Create agent with database
agent = Agent(db=db)