The Same ReAct Loop, Four Agent Harness Philosophies: A 30-Image Breakdown
Maarten Grootendorst uses more than 30 visualizations to compare Pi, OpenCode, Hermes, and OpenClaw. They share a similar agent loop but diverge on memory, tools, and session storage.
Maarten Grootendorst has published a comparison guide to agentic harnesses. The core message is straightforward: these harnesses all run a similar ReAct-like agentic loop, but they handle memory, tools, and sessions in completely different ways.
First, some context. An agent harness can be understood as the runtime wrapped around a model, responsible for connecting the model, tool calls, memory, session state, and loop logic. The model decides what to say; the harness decides how it can act, what it remembers, and how it continues.
This guide contains more than 30 visualizations comparing several well-known harnesses. They all use a similar ReAct-style loop, but their design philosophies differ. The original focuses on four:
- Pi: Elegant and highly customizable.
- OpenCode: Stores sessions in a database.
- Hermes: An assistant focused on self-improvement.
- OpenClaw: Aims to get everything done.
What makes this comparison interesting is that the differences between agent systems often do not lie in the loop itself. Loops can look much the same; what really separates the experiences is how memory is organized, how tools are exposed, how sessions are persisted, and where state boundaries are drawn. If you focus only on model capabilities when choosing a system, you will miss these engineering-level decisions.
This guide also builds on An Illustrated Guide to AI Agents, co-authored by Maarten Grootendorst and @JayAlammar. The book already contains a lot of visual content, and they had additional chapters they wanted to write, so they continued by turning them into new content.
Original link: https://x.com/MaartenGr/status/2127442346551791642
发布时间: 2026-12-01 11:29