Files
hermes-agent/plugins/memory/byterover
Dat Pham b3319b1252 fix(memory): Fix ByteRover plugin - run brv query synchronously before LLM call
The pipeline prefetch design was firing \`brv query\` in a background
thread *after* each response, meaning the context injected at turn N
was from turn N-1's message — and the first turn got no BRV context
at all. Replace the async prefetch pipeline with a synchronous query
in \`prefetch()\` so recall runs before the first API call on every
turn. Make \`queue_prefetch()\` a no-op and remove the now-unused
pipeline state.
2026-04-03 12:11:29 -07:00
..

ByteRover Memory Provider

Persistent memory via the brv CLI — hierarchical knowledge tree with tiered retrieval (fuzzy text → LLM-driven search).

Requirements

Install the ByteRover CLI:

curl -fsSL https://byterover.dev/install.sh | sh
# or
npm install -g byterover-cli

Setup

hermes memory setup    # select "byterover"

Or manually:

hermes config set memory.provider byterover
# Optional cloud sync:
echo "BRV_API_KEY=your-key" >> ~/.hermes/.env

Config

Env Var Required Description
BRV_API_KEY No Cloud sync key (optional, local-first by default)

Working directory: $HERMES_HOME/byterover/ (profile-scoped).

Tools

Tool Description
brv_query Search the knowledge tree
brv_curate Store facts, decisions, patterns
brv_status CLI version, tree stats, sync state