You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Evaluate moving responses_api_agents/hermes_agent from its current commit-pinned fork to an exact named upstream Hermes Agent release. Keep the dependency reproducible; this is not a proposal to install latest without validation.
That fork commit is dated May 7, 2026. The Hermes README says the fork carries patches for token-ID tracking, chat-template behavior, and sampling parameters needed for training. The in-process Gym adapter also depends directly on the fork's run_agent.AIAgent API.
Upstream Hermes has continued evolving, including changing native MCP tool names from the fork's mcp_<server>_<tool> form to the mcp__<server>__<tool> convention Gym already normalizes.
Why reconsider the fork
A named release would give the integration a clearer compatibility and upgrade contract than an aging commit on a personal fork. More importantly, Gym's newer model-server token-capture work may allow external agent harnesses to participate in training without maintaining every training-specific patch inside each harness fork.
These changes do not automatically prove the Hermes fork is unnecessary. They make it worth re-evaluating which fork patches remain required and which responsibilities can now be provided generically by Gym's model server.
Investigation
Inventory every behavior Gym relies on from cmunley1/hermes-agent@26bb847a, including token IDs/logprobs, sampling forwarding, chat templates, reasoning/history preservation, and the AIAgent API.
Identify the first suitable named upstream Hermes release and compare it with the fork.
Determine which training requirements are satisfied by Gym's token-capture and sampling infrastructure versus which still require harness changes.
Summary
Evaluate moving
responses_api_agents/hermes_agentfrom its current commit-pinned fork to an exact named upstream Hermes Agent release. Keep the dependency reproducible; this is not a proposal to installlatestwithout validation.Current state
Gym currently installs:
That fork commit is dated May 7, 2026. The Hermes README says the fork carries patches for token-ID tracking, chat-template behavior, and sampling parameters needed for training. The in-process Gym adapter also depends directly on the fork's
run_agent.AIAgentAPI.Upstream Hermes has continued evolving, including changing native MCP tool names from the fork's
mcp_<server>_<tool>form to themcp__<server>__<tool>convention Gym already normalizes.Why reconsider the fork
A named release would give the integration a clearer compatibility and upgrade contract than an aging commit on a personal fork. More importantly, Gym's newer model-server token-capture work may allow external agent harnesses to participate in training without maintaining every training-specific patch inside each harness fork.
Relevant work from @ananthsub includes:
These changes do not automatically prove the Hermes fork is unnecessary. They make it worth re-evaluating which fork patches remain required and which responsibilities can now be provided generically by Gym's model server.
Investigation
cmunley1/hermes-agent@26bb847a, including token IDs/logprobs, sampling forwarding, chat templates, reasoning/history preservation, and theAIAgentAPI.hermes_agent/app.py, tests, container dependency installation, and documentation.Acceptance criteria