Files
hermes-agent/plugins/memory/honcho
Teknium 60fcae3c09 fix(honcho): port profile isolation fixes from PR #4632
Ports 5 bug fixes found during profile testing (erosika's PR #4632):

1. 3-tier config resolution — resolve_config_path() now checks
   $HERMES_HOME/honcho.json → ~/.hermes/honcho.json → ~/.honcho/config.json
   (non-default profiles couldn't find shared host blocks)

2. Thread host=_host_key() through from_global_config() in cmd_setup,
   cmd_status, cmd_identity (--target-profile was being ignored)

3. Use bare profile name as aiPeer (not host key with dots) — Honcho's
   peer ID pattern is ^[a-zA-Z0-9_-]+$, dots are invalid

4. Wrap add_peers() in try/except — was fatal on new AI peers, killed
   all message uploads for the session

5. Gate Honcho clone behind --clone/--clone-all on profile create
   (bare create should be blank-slate)

Also: sanitize assistant_peer_id via _sanitize_id()
2026-04-02 12:15:38 -07:00
..

Honcho Memory Provider

AI-native cross-session user modeling with dialectic Q&A, semantic search, peer cards, and persistent conclusions.

Requirements

Setup

hermes memory setup    # select "honcho"

Or manually:

hermes config set memory.provider honcho
echo "HONCHO_API_KEY=your-key" >> ~/.hermes/.env

Config

Config file: $HERMES_HOME/honcho.json (or ~/.honcho/config.json legacy)

Existing Honcho users: your config and data are preserved. Just set memory.provider: honcho.

Tools

Tool Description
honcho_profile User's peer card — key facts, no LLM
honcho_search Semantic search over stored context
honcho_context LLM-synthesized answer from memory
honcho_conclude Write a fact about the user to memory