> ## Documentation Index
> Fetch the complete documentation index at: https://agno-v2-service-account.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# InMemoryDb

`InMemoryDb` is a class that implements the Db interface using an in-memory database. It provides lightweight, in-memory storage for agent/team sessions.

## Parameters

`InMemoryDb()` takes no parameters. Sessions, memories, metrics, eval runs, knowledge, and cultural knowledge are stored in internal lists. The instance `id` is an auto-generated UUID.

<Snippet file="db-new-bulk-methods.mdx" />
