Hermes Agent Challenge Submission: Write About Hermes Agent
This is a submission for the Hermes Agent Challenge.
My Hermes research agent's stop logic had grown into a 40-line if/elif block. Stop after 20 turns. Stop if cost exceeds $2. Stop if the response contains "FINAL ANSWER". Stop if the last tool called was "write_summary". Each condition was written out longhand, tested independently, and hard to reuse across different agents.
I extracted the pattern into agent-loop-stop.
Three lines replace forty






