packages/docs/plugin-registry/localdb.md
The Local DB plugin provides a simple, file-based database adapter for Eliza agents using JSON storage. No SQL engine, no migrations, no external dependencies.
Package: @elizaos/plugin-localdb
Category: Database
This plugin implements the elizaOS database adapter interface using JSON files stored on the local filesystem. It provides lightweight persistence suitable for single-agent setups, development, and environments where running a full database server is unnecessary. Data is written to disk as plain JSON, making it easy to inspect and back up.
eliza plugins install localdb
No environment variables or configuration required. The plugin works out of the box once installed.
| Feature | Local DB | In-Memory DB |
|---|---|---|
| Persistence | JSON files on disk | None |
| Speed | Fast | Fastest |
| Dependencies | Filesystem | None |
| Data survives restart | Yes | No |