Two Design Philosophies Behind Open-Source Agent Harness Frameworks
Two recently open-sourced agent harness frameworks take sharply different approaches: one is a platform-ecosystem design built around a specific model, while the other is a fully plugin-based, model-agnostic architecture. This article compares their motivations, architecture, execution modes, and suitability for recursive self-improvement, and offers guidance on how to choose between them.
1. Why the “Harness” Is Becoming Core Infrastructure for Agents
In the agent technology stack, the model is only responsible for “thinking.” What actually determines whether it can complete tasks reliably is the execution framework wrapped around it — commonly called the Harness. It handles session management, tool scheduling, loop control, state maintenance, and error recovery. The same model can perform very differently under different Harness implementations.
Recently, two technical camps open-sourced their respective Harness implementations, drawing significant attention. On the surface, they share the same starting point: both want their models to run at full capability when paired with the accompanying framework, and both hope developers will integrate the open-source framework into their own products to amplify model value. But a closer look at their design motivations and architectural trade-offs reveals two fundamentally different paths.
2. Two Different Open-Source Motivations
The first approach can be described as “platform ecosystem.” Its core idea is to consolidate execution capabilities into a systematic whole, forming a framework platform that revolves around the vendor’s own model ecosystem. A typical characteristic is a centralized server-side process (App Server): developers only need to supply the front-end interaction layer (such as a desktop app interface), while scheduling, execution, and tool orchestration are all delegated to the framework through a standard remote procedure call protocol and standard I/O channels.
The value curve of this design depends heavily on the ecosystem. Inside the vendor’s own models and toolchain, it achieves the highest synergy. Outside that ecosystem, it can still run, but many design decisions have evolved around a specific model’s reasoning characteristics and context conventions — after migration, it often degrades into a “reference implementation.” In other words, it is more like an execution engine tailored to a particular model than a neutral foundation.
The second approach can be described as “universal plugin-based.” It deliberately avoids monopolizing any critical component — even the question of “how an agent should loop” is left to the user. It has little to do with which underlying model is used; what it truly emphasizes is one principle: All is Plugin.
3. The Universal Plugin Architecture: All Is Plugin
In this design, Model, Loop, Session, and Tool are fully abstracted into replaceable plugin units. Developers can dynamically control and replace any component at runtime without being constrained by framework presets.
A schematic plugin registry structure looks like this:
Harness├── ModelPlugin # Hot-swappable model adapter layer├── LoopPlugin # Loop and scheduling strategy├── SessionPlugin # Session and state persistence└── ToolPlugin[] # Extensible tool registry
The advantages of this architecture are separation of concerns and evolvability: a model upgrade only requires replacing the ModelPlugin; a workflow change only requires adjusting the LoopPlugin; adding a new capability only requires appending a ToolPlugin. It binds to no model, making it a better fit for teams that need long-term evolution and want to avoid vendor lock-in.
4. Diverse Execution Modes: From Standard to Programmable
Universal frameworks typically offer multiple execution modes to accommodate workloads of varying complexity, such as standard mode, code mode, minimal mode, and creator mode. The most disruptive of these is “code mode,” which reshapes the fundamental paradigm of how models invoke tools.
The traditional approach is to expose a large collection of tool schemas (structural descriptions) directly to the model. The model selects one tool per call, and multi-turn orchestration depends entirely on the model’s step-by-step decisions. Code mode takes a different approach — instead of exposing the tool list directly, it gives the model a code execution entry point and an auto-generated SDK, letting the model write a program to orchestrate multi-turn tool calls itself.
# Traditional paradigm: the model selects tools one by onecall_tool("search", {...}) -> resultcall_tool("read", {...}) -> resultcall_tool("write", {...}) -> result# Code mode: the model writes a program to orchestrate everythingprogram = model.generate_code(goal)result = run_code(program) # multi-turn tool chaining happens internally
The benefits are significant: the model can express loops, conditionals, parallelism, and error handling through the programming language itself, instead of spending an inference round on every step decision. Context usage is lower, and complex workflows become far more expressive.
5. Alignment with Recursive Self-Improvement (RSI)
A deeper significance of the universal plugin-based approach is its natural fit for Recursive Self-Improvement (RSI) scenarios. RSI refers to a system’s ability to adjust itself while working, using its own output to continuously strengthen its capabilities.
When Model, Loop, and Tool are all pluginized, the model can perceive workflow bottlenecks during execution and proactively modify the framework itself to adapt to the task — for example, dynamically adding a tool plugin, adjusting the loop strategy, or replacing an unsuitable model adapter. This “framework rewriteable by the model” property is difficult for platform-bound designs to offer, because their key decisions are already fixed on the server side.
6. Selection Guidance
When choosing between the two types of frameworks, developers should decide based on their own needs:
- If you are deeply invested in one model ecosystem, want out-of-the-box maximum synergy, and can accept a degree of ecosystem lock-in, a platform-ecosystem framework offers the lowest integration cost.
- If you value portability and long-term evolvability, or explicitly target frontier scenarios such as recursive self-improvement, a universal plugin-based framework is the better fit — provided you agree with the philosophy that “even the agent’s loop, state management, and tool composition can be redefined.”
Ultimately, choosing a Harness is not choosing a tool — it is choosing an engineering philosophy for how agents are built and evolve. Understanding the essential differences between these two paths is what allows you to make architecture decisions that stand the test of time amid a fast-moving open-source landscape.
