Skip to content

hermes_runner

hermes_runner

Subprocess bridge: runs one task through real Hermes Agent and emits JSON.

Invoked as: python hermes_runner.py \ --task --model --base-url --api-key \ --api-mode --output-json [--workspace ] \ [--max-iterations 90][--system-prompt ]

Imports AIAgent from run_agent (the top-level module Hermes ships at the path indicated by HERMES_AGENT_PATH, set by the calling backend). Writes a JSON dict matching the _RunnerOutput schema in _subprocess_runner.py to --output-json before exiting.