Simple JSON-based local database storage for elizaOS
Project description
elizaos-plugin-localdb (Python)
Simple JSON-based local database storage for elizaOS.
Installation
pip install elizaos-plugin-localdb
Usage
from elizaos_plugin_localdb import LocalDatabaseAdapter, JsonFileStorage
# Create storage and adapter
storage = JsonFileStorage("./data")
adapter = LocalDatabaseAdapter(storage, agent_id="my-agent-id")
# Initialize
await adapter.init()
# Use the adapter...
await adapter.create_memory(memory, "messages")
# Close when done
await adapter.close()
Features
- Zero configuration - no database required
- JSON file-based storage
- Built-in HNSW vector search
- Implements IDatabaseAdapter interface
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file elizaos_plugin_localdb-2.0.0a4.tar.gz.
File metadata
- Download URL: elizaos_plugin_localdb-2.0.0a4.tar.gz
- Upload date:
- Size: 12.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b1e10ab668b2014a59811460a409390c9075f4eaf6929fbdd8c518ed8115277d
|
|
| MD5 |
e75da09460760841c72944c406194c09
|
|
| BLAKE2b-256 |
7fd7e4e06cdb49925ff2ff4c9dc571615b9b2b5dc84d311716f9648011456cb0
|
File details
Details for the file elizaos_plugin_localdb-2.0.0a4-py3-none-any.whl.
File metadata
- Download URL: elizaos_plugin_localdb-2.0.0a4-py3-none-any.whl
- Upload date:
- Size: 11.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b6aec4641cc0f0945e7c659c2d3b463f7398b33603d52c21052aa5ce9dc1dba9
|
|
| MD5 |
a40ffbdb222026c608715be5ff08b9f8
|
|
| BLAKE2b-256 |
da79237889bc1953a33892433eedb31eadc1d704c8d7831de1729b4969f4cdaa
|