Native RushDB persistent memory for Hermes Agent.
The provider recalls scope-authorized historical context before inference, captures completed turns without blocking the response, and uses a profile-local durable outbox so acknowledged events survive process restarts.
- Python 3.11–3.13
- Hermes Agent with memory-provider entry-point support
- A RushDB project API key from app.rushdb.com
Install the provider into the same Python environment as Hermes Agent:
pip install rushdb-hermes-memory
hermes memory setupSet the RushDB project key in the Hermes environment:
export RUSHDB_API_KEY="your-project-api-key"Optional environment variables:
RUSHDB_API_URLselects a self-hosted RushDB API.RUSHDB_MEMORY_SCOPE_SALTmakes participant hashes deployment-specific.
Hermes discovers the rushdb provider through the hermes_agent.memory_providers Python entry-point group.
- Recall searches
EPISODE.summaryand activeMEMORY_FACT.textrecords with mandatory agent, profile, privacy, participant, and sandbox scope filters. - Recall has a short fail-open timeout and falls back to bounded recent in-process episodes.
- Successful primary-agent turns are captured asynchronously as canonical
EPISODErecords. - Explicit Hermes memory
addandreplaceoperations are mirrored as activeMEMORY_FACTrecords. - Writes first enter an atomic local outbox under
$HERMES_HOME/rushdb-memory/outbox, then use deterministic IDs and idempotent RushDB upserts. - Surviving outbox files are retried while the process is running and replayed after restart.
The provider uploads bounded user and assistant text from completed primary-agent turns. It does not automatically upload Hermes' complete messages payload, system prompts, tool calls, command output, or local file paths. Subagents do not write memory.
Recalled records are formatted as untrusted historical context, never as instructions or policy. Participant identifiers are stored as hashes rather than raw platform IDs.
uv sync --locked --group dev
uv run ruff format --check .
uv run ruff check .
uv run pytest
uv buildCI verifies pull requests and every push to main. A successful main build publishes the version in pyproject.toml to PyPI when that exact version is not already present. Configure the pypi GitHub environment and its PYPI_TOKEN secret. Bump version before merging a subsequent release.
Apache-2.0