hermes-agent/plugins/memory/byterover
Stoltemberg c89481db5e fix: add explicit UTF-8 encoding to all subprocess text=True calls (#53428)
On Windows with Chinese locale (GBK), subprocess.run(text=True) without
explicit encoding causes UnicodeDecodeError crashes. This fix adds
encoding='utf-8', errors='replace' to all subprocess.run() and
subprocess.Popen() calls that use text=True across 76 non-test Python files.

Fixes #53428 (master tracker for Windows GBK locale crash).

Note: credential_pool.py and electron changes excluded per reviewer request —
those will be submitted as separate focused PRs.
2026-07-24 11:45:57 -07:00
..
__init__.py fix: add explicit UTF-8 encoding to all subprocess text=True calls (#53428) 2026-07-24 11:45:57 -07:00
plugin.yaml feat(memory): pluggable memory provider interface with profile isolation, review fixes, and honcho CLI restoration (#4623) 2026-04-02 15:33:51 -07:00
README.md feat(memory): pluggable memory provider interface with profile isolation, review fixes, and honcho CLI restoration (#4623) 2026-04-02 15:33:51 -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