Darwin-Agent/HarnessX
HarnessX is a harness foundry: forge any number of agent harnesses from reusable processors and bundles, pair each with any model, and evolve them through training.
What it solves
Swapping the model behind an agent is easy, but swapping the agent's behavior (from coding to research, adding memory or guardrails) usually means rewriting the whole agent. HarnessX solves this by separating the model from the behavior pipeline. The harness—tools, memory, processors, tracing, sandbox—is what drives performance, and it can be composed, adapted, and evolved independently.
How it works
You define a ModelConfig (provider routing, fallback) and a HarnessConfig (the full behavior pipeline). Then you get an agent with one line: agent = model.agentic(harness). The harness is built from reusable processors, each behavior is a Processor, and you combine them with the | operator. There are 9 independent behavior dimensions (context, control, evaluation, memory, multi-model routing, observability, tools).
The harness can also adapt and evolve:
- Adapt – a meta-harness observes the agent's trajectories and automatically searches for better processor combinations, prompt strategies, and tool configurations, without changing the model.
- Evolve – every run produces reward-annotated trajectories that feed SFT or RL training (via VERL), improving the model itself.
The two loops compose: evolve the harness first, then evolve the model on top.
Who it's for
Developers and teams building AI agents who want to experiment with different behaviors (memory, guardrails, tool orchestration) without rewriting code. Researchers who need systematic performance improvement via automated harness search and model fine-tuning. Anyone who needs a flexible multi-provider agent setup with a Lab UI, CLI, and chat gateway.
Highlights
- 9-dimension behavior pipeline with composable processors using the
|operator - Automatic harness adaptation: meta-harness proposes better configs round by round
- Reward-annotated trajectories feed RL fine-tuning (VERL integration) for model evolution
- GAIA benchmark: harness evolution lifts Qwen 3.5 9B from 33% to 47% (zero model changes); co-evolution reaches 55.77% (+64% relative); GPT-5 rises from 62% to 84%
- Multiple model providers, sandbox options (local, Docker, E2B), and a React-based Lab UI
- IM Gateway for Feishu, Telegram, Slack, Discord, DingTalk
- Open-source under MIT, plugin system for extensions
Related
- Project
- Project
- Project
- Project