Skip to main content

HydraDB

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.2

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

Source distribution (sdist)

Source distribution for hydradb-hermes 1.0.2
File Size Uploaded
hydradb_hermes-1.0.2.tar.gz 15.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hydradb-hermes 1.0.2
File Interpreter ABI Platform
hydradb_hermes-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 27.8 kB

Release files / hydradb_hermes-1.0.2.tar.gz

Download URL hydradb_hermes-1.0.2.tar.gz
Size 15.1 kB
Tags Source
SHA-256 checksum
How to use checksums
8a2d0d58ac2397187263c5e24eef6c7f1f274c41a8020dfb443c13ca87ea29f1
BLAKE2b-256 checksum
How to use checksums
d13aacfbbc39884a3ab964bb7dc0d999519b9688259eeecb2e8221602d4014b5
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.2-py3-none-any.whl

Download URL hydradb_hermes-1.0.2-py3-none-any.whl
Size 12.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
998396107ae4db4b840d1b9ed61f21fd574dc7fe487d5fe7d84b56f6ef1988c2
BLAKE2b-256 checksum
How to use checksums
32b6eae0a09aaab4a6d625efa3b3ff214a7ee6d32f8270c08b8d979802629524
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

1.0.1

2 release files

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