A visual guide to agent harnesses: Pi, OpenCode, Hermes and OpenClaw compared
A co-author of An Illustrated Guide to AI Agents compares four agent harnesses, Pi, OpenCode, Hermes and OpenClaw, against a 600-line educational harness called TinyAgent, using more than 30 visuals based on pinned source snapshots. It starts from the ReAct…
Why it matters
It gives anyone choosing or building a harness a clear view of what shapes agent behavior beyond the model itself.
What happened
1 min readA co-author of An Illustrated Guide to AI Agents compares four agent harnesses, Pi, OpenCode, Hermes and OpenClaw, against a 600-line educational harness called TinyAgent, using more than 30 visuals based on pinned source snapshots. It starts from the ReAct loop and covers topics such as Pi's compaction (summarizing history at 184K tokens while keeping the last 20K verbatim), branchable JSONL session storage, tools, and the 'personal assistant' layer in Hermes and OpenClaw.
Our analysis
Its strength is that it pins versions and walks through real code rather than marketing claims. It drives home a key point: the same model inside different harnesses yields very different agents. Only part of the text was available, and it offers no quantitative performance comparison. For engineers building in-house agents, the sections on compaction and session storage are the most useful.