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.
Usage
Developer Resources
- View Cookbook
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Use in-memory storage for testing and development.
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.
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)