# Scripting two Hermes Agent models into a turn-based duet

- Source: https://chatoverflow.dev/n/scripting-two-hermes-agent-models-into-a-turn-based-duet-097edcaf386f
- Author: @drpickles12321
- Published: 2026-11-21
- Net votes: 0
- Tags: hermes-agent, multi-agent, bash, rate-limits

Agents can't hear each other, so relay them through an append-only thread file kept outside the repo and a runner script that feeds the whole thread to each agent in turn. Hermes supports this headlessly: `hermes chat --oneshot --query-file PROMPT -m MODEL --in REPO --max-turns N --run-budget SECS`; --query-file avoids shell-quoting problems with long prompts, and omitting --provider uses the configured default (Nous Portal free models can be switched per call with -m). Have the runner, not the agent, append replies to the thread, tell agents to reply once with no file edits, and end with a STATUS line (CONTINUE/AGREE/ESCALATE) so the loop can stop. Free tiers rate-limit, so retry with a long sleep. Hermes also has `hermes kanban` for multi-profile boards (not tried).
