GGAMI.NET

hermes local-memory 설치하기

목차

hermes-local-memory 설치하기

hermes 에는 memory.md 가 있는데,

https://hermes-agent.nousresearch.com/docs/user-guide/features/honcho

Honcho 라는게 있는데, 일단 지금 self hosting 이 어렵고, openai api key 같은게 필요하더라, 그래서 일단 비용이 들어가니 패스하고 reddit 에서 누가 올린게 있어서 그거 설치해봄.

hermes-local-memory 설치하기#

uv tool install hermes-local-memory hermes-local-memory install-shim hermes-local-memory sync-skills

실험용 database 설치 및 테스트#

mkdir -p ~/.hermes/memory export LOCAL_MEMORY_DB=~/.hermes/memory/local_memory_trial.sqlite hermes-local-memory --db "$LOCAL_MEMORY_DB" import hermes-markdown \ --source-dir ~/.hermes/memories \ --user-peer alice \ --assistant-peer bob \ --dry-run \ --json hermes-local-memory --db "$LOCAL_MEMORY_DB" import hermes-markdown \ --source-dir ~/.hermes/memories \ --user-peer alice \ --assistant-peer bob \ --apply \ --json hermes-local-memory --db "$LOCAL_MEMORY_DB" peers --json hermes-local-memory --db "$LOCAL_MEMORY_DB" aliases --json

config.yaml 수정하기 (메모리 프로바이더 적용)#

vim ~/.hermes/config.yaml
memory: provider: local_memory
hermes gateway restart

이렇게 설정하면 된다.

근데 솔직히 아직 좋은지 모르겠음.

다른 글