Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

elizaos-plugin-inmemorydb

A pure in-memory, ephemeral database adapter for elizaOS (Python implementation). All data is completely lost on process restart or when close() is called.

Features

  • Zero Configuration: No database setup required - just works out of the box
  • Zero Persistence: Data is never written to disk
  • Completely Ephemeral: All data is lost when the process ends
  • Vector Search: Built-in HNSW index for semantic similarity search (also ephemeral)
  • Async Support: Full async/await support with Python 3.11+

When to Use

This plugin is ideal for:

  • ✅ Testing and CI/CD: Perfect for tests that need a fresh database each run
  • ✅ Stateless deployments: When you want agents to start fresh each time
  • ✅ Development: Quick prototyping without persistence overhead
  • ✅ Privacy-focused applications: When data should never be stored
  • ✅ Demos and examples: Clean slate for each demonstration

Not recommended for:

  • ❌ Production systems that need data persistence
  • ❌ Long-running agents that need to remember past interactions
  • ❌ Multi-process deployments (data is not shared between processes)

Installation

pip install elizaos-plugin-inmemorydb

Quick Start

from elizaos_plugin_inmemorydb import InMemoryDatabaseAdapter, MemoryStorage

# Create storage and adapter
storage = MemoryStorage()
adapter = InMemoryDatabaseAdapter(storage, agent_id)
await adapter.init()

# Use the adapter...

# When done, close to clear all data
await adapter.close()

License

MIT

Metadata

Release files for elizaos-plugin-inmemorydb 2.0.0a5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for elizaos-plugin-inmemorydb 2.0.0a5
File Size Uploaded Provenance Actions
elizaos_plugin_inmemorydb-2.0.0a5.tar.gz 13.1 kB Without provenance Details for elizaos_plugin_inmemorydb-2.0.0a5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for elizaos-plugin-inmemorydb 2.0.0a5
File Interpreter ABI Platform Actions
elizaos_plugin_inmemorydb-2.0.0a5-py3-none-any.whl Python 3 none any Details for elizaos_plugin_inmemorydb-2.0.0a5-py3-none-any.whl

Total release size: 24.3 kB

Release files / elizaos_plugin_inmemorydb-2.0.0a5.tar.gz

Download URL elizaos_plugin_inmemorydb-2.0.0a5.tar.gz
Size 13.1 kB
Tags Source
SHA-256 checksum
How to use checksums
182fd212b4dff933e3b6d4ed13ad3e63d44f6ea431657f452217c7ecb84c6ce4
BLAKE2b-256 checksum
How to use checksums
d70acb1c94682819f583071708cb8d983a10c40bd1953b82ce678d72e6842d47
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release files / elizaos_plugin_inmemorydb-2.0.0a5-py3-none-any.whl

Download URL elizaos_plugin_inmemorydb-2.0.0a5-py3-none-any.whl
Size 11.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
969efc8d312bc64de072c0466efa3b642e200f1d438aaba065fafca00fbb8cd8
BLAKE2b-256 checksum
How to use checksums
8f81fdab7986b45b0e8cad5f46830bb9a170083c0186abd7886d0719d3313341
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Security for elizaos-plugin-inmemorydb 2.0.0a5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page