An autonomous capability flywheel for OpenClaw, Hermes, and next-generation open agent runtimes.
Moving the needle on agent intelligence through automated open-source scouting, empirical Pareto benchmarking, and iterative selection.
Most improvements to autonomous AI agents today are driven by vibes, anecdotal prompt hacks, and benchmark overfitting. When someone adds a complex memory subsystem, a new scratchpad formatting rule, or a multi-agent debate layer to an agent, three questions are rarely answered honestly:
- Did it actually move the needle on real task completion?
- What did it cost in latency, tokens, and inference dollar spend?
- Did it introduce context pollution, catastrophic forgetting, or tool call flakiness over long horizons?
The Agent Intelligence Lab is an automated research and iteration laboratory designed to answer these questions with rigorous empirical evidence.
Evolving from earlier experiments in autonomous harness optimization (such as dsh-intelligence-lab and harness-intelligence-improvements), this initiative shifts the focus from narrow single-purpose harnesses (e.g., pure SWE-bench code repair) to full-spectrum autonomous personal and workforce agents like OpenClaw (the 24/7 personal OS agent) and Hermes (Nous Research’s advanced open-weights agent ecosystem).
┌────────────────────────────────────────────────────────┐
│ 1. Highest-Intelligence Frontier Models as Researchers │
│ (Scan global open-source repos, papers, PRs, RFCs) │
└───────────────────────────┬────────────────────────────┘
│ Extract & synthesize candidate interventions
▼
┌────────────────────────────────────────────────────────┐
│ 2. Standardized Agent Intervention Spec │
│ (Prompts, Memory Graphs, Tool Protocols, Routing) │
└───────────────────────────┬────────────────────────────┘
│ Inject into target runtimes (OpenClaw, Hermes)
▼
┌────────────────────────────────────────────────────────┐
│ 3. Multi-Dimensional Benchmark Battery │
│ (Capability, Cost, Memory, Latency, Robustness) │
└───────────────────────────┬────────────────────────────┘
│ Score against champion on fixed model baselines
▼
┌────────────────────────────────────────────────────────┐
│ 4. Statistical Keep / Drop & Pareto Frontier Update │
│ (Retain only statistically validated improvements) │
└───────────────────────────┬────────────────────────────┘
│ Feed empirical learnings back into scout
└────────────► [ Continuous Loop ]
Thesis Statement:
Human researchers cannot manually keep pace with the thousands of agent patterns emerging across open-source ecosystems. By deploying frontier-grade reasoning models as automated research scouts, we can continuously discover novel mechanisms across GitHub, distill them into structured interventions, benchmark them on realistic evaluation suites, and iteratively evolve an open agent architecture that dominates existing state-of-the-art across capability, cost, and memory.
In single-turn benchmarks, "intelligence" is often reduced to a single accuracy percentage. In autonomous agents that live on your machine, browse the web, talk across messaging apps, and manage file systems 24/7, intelligence is fundamentally multi-dimensional.
We define moving the needle across the Pareto Frontier of Agent Autonomy:
| Axis | What We Measure | Why It Matters |
|---|---|---|
| 1. Capability & Autonomy | • Multi-step task completion rate • Recovery rate after tool failure • Planning horizon without human intervention |
A bot that speaks eloquently but fails to complete 7-step API workflows is not intelligent. |
| 2. Cost & Token Efficiency | • Total tokens consumed per solved goal • Prompt bloat vs. compact representations • Effective use of KV-cache and local SLMs |
High capability is useless for 24/7 background operation if it drains $50/day in repetitive context reinjection. |
| 3. Memory & Context Health | • Long-horizon episodic recall (LongMemEval) • Entity-relationship persistence • Context compaction & noise resistance |
Without active pruning and structured memory, agents degrade rapidly after 15–20 conversational turns. |
| 4. Latency & Responsiveness | • Time-to-first-action (TTFA) • Wall-clock completion time • Parallel tool execution throughput |
Slow agents cause user drop-off and break real-time interactive flows across channels. |
| 5. Robustness & Safety | • Tool call schema syntax error rate • Loop detection & prevention • Drift from original user constraint |
Agents must not get trapped in infinite recursive loops or hallucinate tool parameters. |
The lab focuses primarily on open, accessible, and self-hostable agent frameworks:
- Profile: 24/7 proactive personal assistant running on local devices (Mac Mini, VPS) connected to WhatsApp, Telegram, Discord, and system tools.
- Intervention Targets: Proactive background triggers, local file-system navigation, cross-app tool orchestrations, local long-term episodic memory, and human-in-the-loop interrupts.
- Profile: Frontier open-weights reasoning and tool-calling models (Hermes family) designed for decentralized, highly steerable autonomous workflows.
- Intervention Targets: Function-calling syntax optimizations, structured reasoning traces, system-prompt cognitive architectures, and hybrid local/cloud model handoffs.
- Profile: The underlying execution runtime (sandboxes, tool executors, token trackers, and session monitors) that houses these agents.
Rather than manually writing plugins, the lab operationalizes an automated 5-step evolutionary cycle:
Frontier models parse newly trending GitHub repositories, preprints, pull requests, and commit logs across the agent ecosystem (e.g., DSPy, LangGraph, Smolagents, AutoGen, Claude Computer Use patterns, MCP servers, and local community forks). The scout extracts concrete, testable hypotheses.
Every idea is translated into a machine-executable patch or overlay:
- System Prompt Interventions: Scratchpad formats, plan-act-reflect gates, self-skepticism heuristics.
- Memory Interventions: Vector + graph hybrid retrieval, trajectory summarization, session delta logging.
- Tool Interventions: Structured schema validators, optimistic tool batching, failure fallback hooks.
The candidate stack runs in isolated Docker containers against standard agent benchmarks:
- Task Autonomy: GAIA, OSWorld, Terminal-Bench 2.0 / SWE-bench Lite
- Memory & Context: LongMemEval-V2, needle-in-context recall across multi-day logs
- Real-World Personal Flows: Reproducible OpenClaw communication and system administration workflows.
A candidate is accepted into the champion stack only if it meets our strict decision rule:
Every
agent-intelligence-lab/
├── README.md # Vision, thesis, and executive summary
├── LICENSE # MIT License
└── docs/
├── vision.md # Deep-dive on the autonomous capability flywheel
├── pareto-metrics.md # Mathematical definitions of capability, cost, and memory
├── scouting-flywheel.md # How frontier models scout OSS and synthesize mutations
├── target-architectures.md # OpenClaw, Hermes, and harness integration surfaces
├── eval-battery.md # Benchmark suite and realistic task splits
└── hypothesis-catalog.md # Initial taxonomy of candidate interventions
- Evidence Over Folklore: A change only counts as an improvement if it produces measurable gains across reproducible benchmarks.
- Honest Cost Accounting: If an agent solves 5% more tasks by burning 400% more tokens, that is not an intelligence gain—it is compute scaling. True agent intelligence improves efficiency along the Pareto frontier.
- Open & Reproducible: All benchmark harnesses, candidate overlays, evaluation logs, and scout prompts are tracked openly.
- Phase 1 (Vision & Specs): Establish evaluation definitions, target interfaces, and benchmark baselines for OpenClaw and Hermes. (Current)
- Phase 2 (Scout Pipeline): Automate the GitHub/ArXiv scout agent that generates standardized PRs for candidate interventions.
- Phase 3 (Eval Engine): Deploy the multi-dimensional benchmark runner across isolated sandboxes.
- Phase 4 (Live Flywheel): Continuous automated loop testing community innovations and maintaining the Pareto-champion agent configuration.
Part of the open autonomy research series by @Milbaxter.