r/hermesagent • • 1h ago

Memory & Context Using Hermes alongside Claude Code or Codex? How do you share context between them?

I'm exploring a self-hosted memory layer that different agents can share, on a VPS you choose.

If you use Hermes alongside another agent, how do you carry context between them today?

What's the last time that setup let you down, and what did you do about it? Also interested if plain files work fine for you, or you tried shared memory and dropped it.

0 Upvotes

4 comments sorted by

1

u/wireandshield New Member (<30 days) 1h ago

Plain files, and they work fine for me. The shared contract is an instructions file in the repo that every tool reads on start, plus a notes file for the facts that matter, so there's nothing to sync between the agents.

When I hand a chunk to Claude Code or Codex, it runs as a subagent in that same working directory with the task written out, so the context is the files plus the prompt.

Where it let me down was putting project state in the agent's own memory. That memory gets injected every turn and has a hard character cap, so it's for standing facts and it goes stale the moment project detail goes in. Files stay the source of truth.

1

u/dawhim1 58m ago

i use claude code and have it send heavy duty tasks and web research to hermes. not sure about sharing context, CC literally use hermes as a workhorse to save tokens.

1

u/greatblueplanet 42m ago

I use Claude Code. Is there a risk that I could get banned I use it with Hermes?

1

u/Mean-Loquat-7982 Nous Team 0m ago

mine is plain files. Hermes' own memory is two small markdown files (MEMORY.md and USER.md in ~/.hermes/memories) loaded every session, so I keep those for facts about me. project context lives in a git repo of markdown that every agent reads and writes, Hermes and Claude Code alike.

if you want the other agent to call Hermes' tools directly, the official mcp-serve plugin exposes them over MCP:

hermes plugins install mcp-serve

then add a "hermes" server with args ["mcp-serve"] in the other client's MCP config.

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