packages/docs/plugin-registry/inmemorydb.md
The In-Memory DB plugin provides a pure in-memory database adapter for Eliza agents. All data is ephemeral and lost when the process exits.
Package: @elizaos/plugin-inmemorydb
Category: Database
This plugin implements the elizaOS database adapter interface entirely in memory, with no disk I/O and no external dependencies. It is useful for testing, development, stateless agents, and scenarios where persistence is not needed or desired. All stored data is lost when the agent process terminates.
eliza plugins install inmemorydb
No environment variables or configuration required. The plugin works out of the box once installed.
| Feature | In-Memory DB | Local DB |
|---|---|---|
| Persistence | None | JSON files on disk |
| Speed | Fastest | Fast |
| Dependencies | None | Filesystem |
| Data survives restart | No | Yes |