HydraDB for Hermes Agent
A Hermes Agent memory provider backed by HydraDB: relevant context is recalled before each turn and completed turns are persisted - the proper native way to make HydraDB Hermes' long-term memory (like the supermemory / retaindb / ham providers).
How it works
Implements Hermes' MemoryProvider contract:
| Method | Role → HydraDB |
|---|---|
prefetch(query, *, session_id) |
auto-recall - returns context injected before the API call → hybrid POST /query (prefers server llm_prompt) |
sync_turn(user, assistant, ...) |
persist the turn (non-blocking, off-thread) → POST /context/ingest |
is_available() |
bool(HYDRADB_API_KEY) |
get_config_schema() / save_config() |
setup wizard (api key, tenant) |
name |
"hydradb" |
Public API only (recall + knowledge ingest); no HydraDB SDK required.
Prerequisites
- Python >= 3.10, a Hermes Agent install
- A HydraDB account: API key + tenant ID (hydradb.com)
Install
Directory (drop-in): copy the hydradb_hermes/ folder into
~/.hermes/plugins/memory/hydradb/ (it contains __init__.py + plugin.yaml).
pip (entry point): pip install hydradb-hermes - registered via the
hermes_agent.memory_providers entry point.
Then enable it in config.yaml (memory providers are single-select):
memory:
provider: hydradb
Credentials come from the environment:
export HYDRADB_API_KEY="your-api-key"
export HYDRADB_DATABASE="your-tenant-id"
Test
pip install -e ".[test]"
pytest
MCP alternative
For pull-style recall (agent-invoked tools) instead of automatic memory, point
Hermes at the MCP server (see hermes-mcp.snippet.json). The provider gives
automatic recall/retain, so MCP is optional.
License
Apache-2.0 - Copyright (c) 2026 HydraDB
Metadata
Release files for hydradb-hermes 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| hydradb_hermes-1.0.1.tar.gz | 11.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| hydradb_hermes-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 24.0 kB
Release files / hydradb_hermes-1.0.1.tar.gz
| Download URL | hydradb_hermes-1.0.1.tar.gz |
|---|---|
| Size | 11.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
79a4bfb66e9c59d9ddc0b8825c25453e0dd7806166d5f6ccb83b34af90a8c385
|
|
BLAKE2b-256 checksum How to use checksums |
9509220e1612f6e3e4fe7415d7765c9072bc508de5227ebc640529dee593411f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / hydradb_hermes-1.0.1-py3-none-any.whl
| Download URL | hydradb_hermes-1.0.1-py3-none-any.whl |
|---|---|
| Size | 12.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
17f4160e1198e56fa155df630a3dbc4b69ec268852cb9c1d38007b96e8be4ebc
|
|
BLAKE2b-256 checksum How to use checksums |
f76e98667c8757d8f82db0bc0b7ff86bf12413d6b07e3ec09bafeb779a7a1a44
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|