ClawEnvKit: Automatic Environment Generation for Claw-Like Agents Xirui Li1 , Ming Li1,4 , Derry Xu2 , Wei-Lin Chiang2 , Ion Stoica2 , Cho-Jui Hsieh3 , Tianyi Zhou4
University of Maryland University of California, Berkley 3 University of California, Los Angeles 4 Mohamed bin Zayed University of Artificial Intelligence
1
arXiv:2604.18543v1 [cs.AI] 20 Apr 2026
2
Constructing environments for training and evaluating claw-like agents remains a manual, humanintensive process that does not scale. We argue that what is needed is not just a dataset, but an automated pipeline capable of generating diverse, verified environments on demand. To this end, we introduce ClawEnvKit, an autonomous generation pipeline that instantiates this formalism from natural language descriptions. The pipeline comprises three modules: (1) a parser that extracts structured generation parameters from natural language input; (2) a generator that produces the task specification, tool interface, and scoring configuration; and (3) a validator that enforces feasibility, diversity, structural validity, and internal consistency across the generated environments. Using ClawEnvKit, we construct Auto-ClawEval, the first large-scale benchmark for claw-like agents, comprising 1,040 environments across 24 categories. Empirically, Auto-ClawEval matches or exceeds human-curated environments on coherence and clarity at 13,800× lower cost. Evaluated across 4 model families and 8 agent harness frameworks, we find that harness engineering boosts performance by up to 15.7 percentage points over a bare ReAct baseline, completion remains the primary axis of variation with no model saturating the benchmark, and automated generation enables evaluation at a scale previously infeasible. Beyond static benchmarking, ClawEnvKit enables live evaluation: users describe a desired capability in natural language and obtain a verified environment on demand, turning evaluation into a continuous, user-driven process. The same mechanism serves as an on-demand training environment generator, producing task distributions that adapt to an agent’s current weaknesses rather than being bounded by existing user logs. Date: April 21, 2026 Author E-mails: [email protected], [email protected] Project Page: https://github.com/xirui-li/ClawEnvKit
1
Introduction
Large language model (LLM) agents are increasingly being deployed in real-world environments to autonomously handle complex, multi-step tasks (Yao et al., 2023; Shinn et al., 2023). By equipping LLM agents with harness (OpenAI, 2026b; Lee et al., 2026; Anthropic, 2025a; Bölük, 2026; Böckeler, 2026), they extend beyond static text generation to actively interact with digital ecosystems, including file systems, web services, and application programming interfaces (APIs). Exemplified by claw-like agents, such as OpenClaw (Steinberger, 2025), NanoClaw (qwibitai, 2026), and IronClaw (Near AI, 2026), the rapid proliferation of such systems signals a broader paradigm shift from LLMs as passive language interfaces to LLM-driven agents as autonomous actors embedded in real-world scenarios. To investigate and improve claw-like agents in real-world scenarios, researchers (Xia et al., 2026; Wang et al., 2026a; Ye et al., 2026; Ji et al., 2026) construct environments for training and evaluation that specify (1) the executable scenarios defining what an agent must do, (2) the tools it can use, and (3) how its actions are verified. OpenClaw-RL (Wang et al., 2026a) and MetaClaw (Xia et al., 2026) improve agent capabilities via reinforcement learning on trajectories collected from real user environments, while Claw-Eval (Ye et al.,
1
Claw-AutoEval
Quality
First large-scale benchmark for Claw-like agents
Compare to human curated environment
Scalability
Models Testing on 4+ model families
Easily generated to thousands
Agility
Harnesses
Generating services on demands
Supporting 8+ claw-like agents
Figure 1 ClawEnvKit at a glance. ClawEnvKit provides three key properties (left): quality comparable to human-curated
benchmarks, scalability to an unlimited number of environments, andadaptability through on-demand curation. The framework ships with supports 4+ model families, and integrates with 8+ claw-based agent harnesses out of the box (right).
2026) and SkillsBench (Li et al., 2026a) provide human-curated environments for evaluating such systems. However, both directions face fundamental limitations: training is constrained to whatever tasks users happen to perform, and benchmarks require hundreds of person-hours to construct yet become static once released. This shared bottleneck, the cost and rigidity of manual environment construction, prevents training and evaluation from scaling alongside rapidly advancing agent capabilities. We present ClawEnvKit, a scalable framework that automates agent environment generation for claw-like agents. Given a natural language specification, ClawEnvKit produces verified agent environments in which agents interact with mock services and are graded automatically, reducing the cost of environment construction from hours of human labor to minutes of automation. The pipeline comprises three modules: (1) a Parser that converts natural language into structured specifications, (2) a Generator that instantiates task environments, and (3) a Validator that enforces structural and semantic correctness. In each generated environment, the agent runs in an isolated sandbox that supports the full family of claw-like agent harnesses and models, supporting long-horizon tasks without cross-task interference. Empirically, we show that automatically generated environments match or exceed human-curated ones on all quality dimensions while reducing construction cost and time. Building on ClawEnvKit, we automatically construct two benchmarks based on services from Claw-Eval.
Auto-ClawEval contains 1,040 environments spanning 24 semantic categories for the first-ever large-scale crossharness evaluation, and Auto-ClawEval-Mini is a compact 104-task version paired one-to-one with Claw-Eval
for direct quality comparison. Experiments across 8 agent harness frameworks and 4 model families reveal that harness engineering is a significant performance booster: all structured harnesses outperform the ReAct baseline by up to 15.7 percentage points, confirming that Auto-ClawEval is not saturated by current frontier models. Scores on the full Auto-ClawEval and the compact Auto-ClawEval-Mini differ by less than 2%, validating that automated generation can reliably scale benchmark size without sacrificing evaluation quality.
Beyond static benchmarking, ClawEnvKit enables live evaluation: users describe a desired capability in natural language and obtain a verified environment on demand, turning evaluation into a continuous, user-driven process that keeps pace with emerging tasks and long-tail domains. The same mechanism doubles as an on-demand training environment generator, producing task distributions that adapt to an agent’s current weaknesses rather than being bounded by existing user logs. Our main contributions are: 1. ClawEnvKit, a scalable framework for automated agent environment generation that separates declarative specification from deterministic verification, runs each task in an isolated sandbox preserving agent-native workflows, and supports the full family of claw-based agents across multiple backbone models.
2
2. The first large-scale benchmark, Auto-ClawEval, spanning 24 domains, evaluated across claw-based agents and backbone models, serving as the first large-scale, cross-harness, cross-backbone benchmark in the claw ecosystem. 3. Live evaluation, where end users generate bespoke evaluation cases on demand through natural language, is demonstrated by our ClawEnvKit framework.
2
Relate Work
2.1
Scaling up Environment Generation
Constructing agent environments has been a manual, labor-intensive process. AgentBench (Liu et al., 2023) provides hand-crafted interactive environments for multi-turn LLM evaluation, finding a large capability gap between commercial and open-source models. GUI benchmarks (Sun et al., 2022; Lù et al., 2024; Xie et al., 2024; Chen et al., 2025) build high-fidelity web or GUI environments for functional task execution but require significant engineering effort per domain. Web agent frameworks (Zhou et al., 2023; Drouin et al., 2024; Chezelles et al., 2025; Koh et al., 2024) pursue reproducibility through self-hosted applications and Gym-style evaluation, yet static benchmarks degrade as live interfaces evolve, motivating online evaluation methods (Pan et al., 2024; Yoran et al., 2024) and continuously updated task sets (Zhang et al., 2025). On the infrastructure side, sandboxed agent platforms (Wang et al., 2025) and environment configuration benchmarks (Eliseeva et al., 2025) address execution safety and dependency resolution, but each remains purpose-built for a specific domain. Recent work has begun to address this scalability bottleneck through automatic environment synthesis. AgentStudio (Zheng et al., 2024) provides a toolkit for building general virtual agents with tools for creating online benchmark tasks across GUI and API action spaces. SWE-smith (Yang et al., 2025) automatically constructs software engineering tasks from GitHub repositories by seeding bugs and filtering with test execution. R2E-Gym (Jain et al., 2025) uses a data curation pipeline to synthesize executable coding environments. RandomWorld (Sullivan et al., 2025) procedurally generates tool-use environments for APIcalling agents. Agent World Model (Wang et al., 2026b) synthesizes executable tool-use environments at scale by decomposing generation into a stateful backend, a tools interface layer, and task-specific success criteria. Endless Terminal (Gandhi et al., 2026) provides a pipeline that procedurally generates terminal-use tasks without human annotation. Our work is the first of the kind to provide scalable environment for claw-like agents that we discuss as follows. Table 1 Comparison of environments that evaluate claw-like agents. Auto-ClawEval is the only framework that combines
auto-generated tasks, universal verification, continuous scoring, safety gates, robustness testing, and support for the full family of claw-like agents. Claw-Eval is a growing benchmark, we use the version snapshot on 2026-04-01. Evironments
Tasks
Source
Grading
Generalizability
Safety Eval
Robustness Eval
Harness support
ClawArena (Ji et al., 2026) ClawsBench (Li et al., 2026b) SkillsBench (Li et al., 2026a) Claw-Eval∗ (Ye et al., 2026)
64 – 84 104
Human Human Human Human
Binary Rubric Binary Rubric
✗ ✗ ✗ ✗
✗ ✓ ✗ ✓
✗ ✓ ✗ ✓
✓ ✗ ✗ ✗
Auto-ClawEval (ours)
1,040
Auto-generated
Rubric
✓
✓
✓
✓
2.2
Claw-like Agents
The claw-like agent ecosystem (Steinberger, 2025) provides a family of open-source CLI agent platforms (OpenClaw (Steinberger, 2025), NanoClaw (qwibitai, 2026), IronClaw (Near AI, 2026), and others) that interact with external services through native tool calls and support continue-learning (Wang et al., 2024) by modifying skills markdown. Noticeably, the OpenAI’s and Anthropic’s On the training side, OpenClaw-RL (Wang et al., 2026a) and MetaClaw (Xia et al., 2026) scale agent training by collecting trajectories from real user interactions, but remain limited by the diversity and volume of available usage data. Recent benchmarks such as ClawArena Ji et al. (2026), ClawsBench (Li et al., 2026b),
3
Natural Language
Score
“Every Friday afternoon I draft a weekly update for my team: I pull this week’s project emails form Gmail, check next week’s important schedules, …”
Safety: 82% Completion: 76% Robustness: 93%
Environment Generation
P: task specification Environment x N M: interaction interface C: evaluation functional
Performance Grading
Environment X N Sandbox Initialization
Agent Execution
Harness Preparation
Result Collection
Figure 2 Overview of the ClawEnvKit pipeline. Given a natural language specification (upper left), the Environment Generation module produces a set of N task environments E = (P, M, C), each comprising a task specification P , an
interaction interface M , and an evaluation functional C. Each environment is then executed through four sequential steps: (1) Sandbox Initialization, (2) Harness Preparation, (3) Agent Execution, and (4) Result Collection. At the end, the Performance Grading module scores the agent trajectory along three dimensions: Safety, Completion, and Robustness (upper right).
Claw-Eval (Ye et al., 2026), and SkillsBench (Li et al., 2026a) evaluate agent capabilities across dynamic information environments, realistic productivity workflows, and structured API tasks; however, they all rely on fixed, human-authored task distributions, limiting scalability, diversity, and coverage of real-world scenarios. ClawEnvKit addresses these limitations as a scalable source of environments for both training and evaluation: it synthesizes diverse environments on demand, without requiring existing user traffic or manual task authoring. With ClawEnvKit, we obtain the first large-scale benchmark (Auto-ClawEval) for claw-like agents. Table 1 demonstrate a direct comparison with latest benchmarks.
3
Formalizing Environments for Claw-like Agents
Classical environments in reinforcement learning are modeled as Markov Decision Processes with an explicit, enumerable state space S, a formalism well-suited to bounded domains such as game simulators or robot controllers (Sutton and Barto, 1998). Modern agent settings break this assumption: an agent that reads emails, calls APIs, and reasons over multi-turn conversation histories operates over a state space that is effectively infinite, driven by unbounded natural language context, tool outputs, and interaction history. Yet the implementation of such an environment is finite: in our setting, the environment state reduces to the contents of a small number of in-memory mock service databases, fully determined by the fixture data loaded at startup. This asymmetry, infinite from the agent’s perspective, finite from the implementer’s, suggests a different representational strategy: rather than specifying the state space, we specify what the agent must do (P ), what it can do (M ), and how it is evaluated (C). This declarative separation is what makes automated generation tractable: an LLM can produce a valid (P, M, C) triple without ever reasoning about state transitions, whereas generating a correct state-based grader requires understanding the full execution semantics of the environment. Definition 3.1 (Environment). An environment is a three-tuple E = (P, M, C), where: • P ∈ L is a task specification in natural language. • M = (T , O) is the interaction interface: T is a set of callable tools and O is the audit log recording every tool call, its parameters, and its server-side outcome. • C = {(ci , wi )} is the evaluation functional, where each ci : Σ × O → [0, 1] evaluates a property of the P agent’s trajectory, with i wi = 1.
4
Parser “Every Friday afternoon I draft a weekly update for my team: I pull this week’s project emails form Gmail …”
What must be satisfied
Generator
Structured Specification
Validator
Task Generation
What the task involves What agents should do
Feasibility Check
Service Generation Fixture Generation
P: task specification M: interaction interface C: evaluation functional
Coverage Check Environment Candidate
Format Check
New Mock Service
Figure 3 Overview of the Environment Generation.
4
ClawEnvKit: A Scalable Framework for Automated Environment Generation
Constructing environments by hand requires writing instructions, implementing verification logic, and validating correctness. While human takes hours per task, ClawEnvKit automates this pipeline end-to-end: given a natural language specification φ, it generates verified environment sets E suitable for both agent evaluation and RL training, producing 1,040 environments at 80 dollars in API costs by claude-sonnet-4.6. Figure 4 shows the ClawEnvKit pipeline. Given a natural language specification φ (e.g. “generate 10 email management tasks, medium difficulty”), ClawEnvKit produces a environment set E for training or evaluating claw-like agents. The system comprises three modules: generation (Section 4.1), execution (Section 4.2), and grading (Section 4.3).
4.1
Environment Generation
The bottleneck in manual environment construction is verification Anthropic (2026): each environment requires custom logic to check whether the agent performed the right actions, called the right APIs, and produced the right output. This logic is task-specific, difficult to generalize, and does not scale. ClawEnvKit addresses this by a LLM-based multi-agent system of three agents: a Parser, a Generator and a Validator. The Parser converts a natural language request into a structured specification via a single LLM call, answering three questions: (1) What the agent should do (send an email, schedule a meeting), (2) What the task involves (recipient, date, document) and (3) What must be satisfied (modified emails, sheduled meeting). It decomposes the users’ description into typed intent units: actions the agent must perform, objects the environment must contain, and constraints the agent must respect. These intent units serve as the key bridge between natural language and executable verification: every unit maps to a concrete, checkable element of E = (P, M, C), ensuring nothing in the user’s request is lost in translation. Parser.
The Generator turns the Parser’s specification into a complete task environment through three sub-workflows. (1) Task generation is the main workflow: given the service list and difficulty, it asks an LLM to write the task, including what the agent should do (P ), what tools it can call (M ), what data to pre-load, and how to score the result (C). Diversity controls ensure each generated task covers a different API action and does not repeat previous tasks. (2) Service generation handles the case where a required service does not yet exist in the service library. The Generator designs the new API, builds a mock server, tests it, and confirm it with user. Once confirmed, the system will add the generated service into the library so future tasks can use it immediately. (3) Fixture generation prepares any files the task needs, e.g. a database for terminal tasks, an image for OCR tasks, a document for reading comprehension, and mounts them into the task container before the agent runs. Generator.
Validator. The Validator answers three questions before accepting a generated environment. (1) Format Check: Is the generated environment well-formed? Every field is present, scoring weights sum to one, at least
one safety check exists, and nothing is self-contradictory, for example, a safety rule that forbids an action the scoring also requires to pass. (2) Coverage Check: Does it cover what was asked? Every intent unit from the Parser must appear somewhere in the task: actions must be callable tools and verified by scoring; objects
5
must exist in the pre-loaded data or the task prompt; constraints must be enforced by a safety or scoring rule. Any gap causes the task to be regenerated. (3) Feasibility Check: Is it actually solvable? A single LLM call checks for counterfactual tasks, for example, a prompt asking the agent to get tomorrow’s emails, or scoring criteria that reference information the agent cannot access. If a new service was created, the Validator also starts the server, hits its endpoints, and confirms it works before adding it to the library. Together, the three modules transform a natural language description into a verified task environment E = (P, M, C) in a single pipeline invocation. The resulting environment is contamination-free by construction, diversity-controlled via action rotation and deduplication, and extensible to new services without modifying existing tasks or grading logic. Full implementation details are provided in Appendix E.
4.2
Task Execution
Once an environment E = (P, M, C) is generated and validated, it must be executed in a controlled setting where the agent can interact with T , observations O can be collected, and results are reproducible across runs and agents. ClawEnvKit achieves this through four steps as shown in Figure: sandbox initialization, harness preparation, agent execution, and trajectory collection. Each task runs in an isolated container with no internet access, preventing cross-task interference and eliminating infrastructure-level confounders Anthropic (2026). Mock services start with pre-populated fixtures and inject random API errors on 25% of calls to test robustness similar to Claw-Eval (Ye et al., 2026). Tasks can run concurrently without conflict. Sandbox Initialization.
Harness Preparation. ClawEnvKit adapts to each agent’s native workflow via three tiers: native tool plugin (OpenClaw (Steinberger, 2025)), MCP server (Claude Code (Anthropic, 2025b), Codex (OpenAI, 2025b), Cursor (Anysphere, 2024), NanoClaw (qwibitai, 2026), IronClaw (Near AI, 2026), PicoClaw (Sipeed, 2026), ZeroClaw (ZeroClaw Labs, 2026), and other MCP-compatible agents), and a curl-based SKILL.md appended to the prompt (CoPaw (AgentScope Team, 2026), NemoClaw (NVIDIA, 2026), Hermes (Nous Research, 2026)).
The agent runs native multi-turn loop in harnesses mentioned above, reasoning, calling tools, observing results, until it produces a final output or reaches the timeout. Regardless of tier, all tool calls reach the same mock services and produce identical audit log entries. Agent Execution.
Two artifacts are passed to the GradingEngine: a server-side audit log recording every API call, and the agent’s final text output. Grading from server-side records prevents agents from receiving credit for actions they described but did not perform. Trajectory Collection.
4.3
Grading of Agent Performance
After the agent’s trajectory σ completes, the GradingEngine evaluates the audit log and agent output against C through five sequential steps. First, a safety gate checks whether any forbidden action was called or any prohibited keyword appeared in the output; a violation sets safety(σ) = 0 and zeroes the entire score regardless of task completion. Second, each scoring component in C is evaluated independently using one of 15 check types drawn from three sources: audit-log checks (what the agent did), output checks (what the agent said), and filesystem checks (what the agent created). The llm_judge (Zheng et al., 2023) check type evaluates output quality against a rubric using an LLM with both the agent output and audit summary as context; its total weight is capped at 55% to ensure the majority of every score is deterministic. Third, a completion score aggregates component outcomes as a weighted sum. Fourth, a robustness score measures the fraction of injected API errors from which the agent successfully recovered. Finally, the three dimensions are combined into a single reward signal (Anthropic, 2026).
6
Table 2 Task quality comparison between ClawEnvKit (auto-generated) and Claw-Eval (human-written). ↑ = higher is better. ⋆
Human cost estimated at one person with approximately 2 hours per task (Ye et al., 2026). Dimension
Claw-Eval (Ye et al., 2026)
Auto-ClawEval
Auto-ClawEval-Mini
# Environments (↑) # Services (↑) # Categories (↑)
Basic Information 104 19 24
1,040 15 24
104 15 24
Validity (↑) Coherence (↑) Clarity (↑)
Quality Metrics 100% 0.51 3.38
100% 0.59 3.54
100% 0.59 3.52
Time(↓)
208 h⋆
18 h
1.8 h
Cost
5
Experiments
To validate ClawEnvKit framework, we construct full-automated Auto-ClawEval and Auto-ClawEval-Mini benchmarks (Section 5.1) and investigate (1) whether the generated task environments are of sufficient quality for agent evaluation (Section 5.2), and (2) whether the system scales across agents and domains (Section 5.3).
5.1
Benchmark Automation
A central motivation for ClawEnvKit is to reduce the human-intensive curation required to build agent benchmarks. In existing benchmarks, tasks are manually written. A natural validation for the ClawEnvKit is to address this bottleneck by automatically generating task environments for evaluation. To provide a fair comparison, we instantiate benchmark suites by ClawEnvKit with a shared mock-service and grading criteria. The resulting tasks are then validated for structural consistency, checked against the available tool and action space, and organized into benchmark collections. In practice, this means that benchmark construction no longer requires writing per-task graders by hand: the benchmark is produced by repeatedly applying a common generation-and-validation procedure over a target task distribution. We construct two benchmark variants for different purposes. Auto-ClawEval is the full benchmark, intended for broader coverage, larger-scale evaluation, and studies of scaling across models, agents, and task types. Auto-ClawEval-Mini is a controlled benchmark designed for direct comparison with Claw-Eval (Ye et al., 2026): it matches the comparison scale while preserving the same automated construction process. This separation is important. Auto-ClawEval-Mini lets us ask whether automated benchmark construction can match human curation under a controlled setting, while Auto-ClawEval lets us study what becomes possible once benchmark construction is no longer bottle-necked by manual effort. Following Claw-Eval (Ye et al., 2026), the score consists of: R(σ, E) = safety(σ) × 0.8 · completion(σ, C) + 0.2 · robustness(σ, M ) , (1) P where safety(σ) ∈ {0, 1} zeros the score on any safety violation; completion(σ, C) = i wi · ci (σ, O) is the weighted sum of check outcomes; and robustness(σ, M ) is the fraction of injected errors from which the agent successfully recovered.
5.2
Quality of Generated Environments
A core question for any automated generation system is whether the resulting tasks are as useful as humanwritten ones. We study this in two ways: first, whether the generated tasks are well-formed, clear, and coherent; and second, whether they produce meaningfully different outcomes for stronger and weaker agents. Table 2 compares Auto-ClawEval-Mini and Claw-Eval across the three primary quality dimensions: Validity, Coherence, and Clarity that we defined in Appendix C. On this count-matched comparison, Auto-ClawEval-Mini reaches 100% validity under our structural validator. Claw-Eval also passes the shallow baseline checks applied to its different task format. Auto-ClawEval-Mini also scores higher on Coherence (0.59 vs 0.51) and Clarity 7
Table 3 Performance of different agent models on 1,040 Auto-ClawEval and 104 Auto-ClawEval-Mini environments. The
models span from state-of-the-art 5 model families. Family
Model Name
Safety
Auto-ClawEval
Completion
Robustness
Auto-ClawEval-Mini
Mean
Safety
Completion
Robustness
Mean
Claude Claude
Opus 4.6 (Anthropic, 2026a) Sonnet 4.6 (Anthropic, 2026b)
87.3 90.3
Anthropic 49.7 50.0
GPT GPT
GPT-5.4 (OpenAI, 2026a) GPT-5-nano (OpenAI, 2025a)
91.0 93.3
OpenAI 56.7 48.9
100.0 100.0
58.8 54.9
93.3 93.3
51.2 49.6
100.0 100.0
56.5 55.7
GLM GLM
GLM 5 Turbo (Zhipu AI, 2026) GLM 5 (GLM-5-Team et al., 2026)
89.0 90.2
Zipu AI 46.2 45.3
100.0 100.0
49.8 50.1
88.5 90.4
47.2 46.4
100.0 100.0
50.3 51.3
MiniMax MiniMax
MiniMax M2.7 (MiniMax, 2026b) MiniMax M2.5 (MiniMax, 2026a)
90.5 93.0
MiniMax 43.8 35.5
100.0 100.0
49.4 43.6
94.2 92.3
35.7 45.0
100.0 100.0
44.9 51.4
100.0 100.0
52.4 53.7
87.5 90.4
49.3 50.6
100.0 100.0
52.1 54.2
(3.54 vs 3.38). The coherence gap is explained by ClawEnvKit’s structured task format: explicit tool lists and scoring components make the P ↔ M ↔ C alignment transparent to the LLM judge, whereas Claw-Eval’s rubrics are embedded in task-specific grader code that the judge cannot inspect directly. The clarity advantage suggests that LLM-generated prompts are more consistent and actionable.
5.3
ClawEnvKit Scales Up Agent Evaluation
Auto-ClawEval scales evaluation to 1,040 environments across 4 model families and 8 agent harnesses, a scope not achievable through manual curation. Results together reveal four findings. Finding 1: Harness engineering is a significant performance booster. Table 4 shows that all structured harnesses
outperform the ReAct Agent Loop baseline (53.3%), with gains of up to 15.7 points (NemoClaw, 69.0%). Figure 6 reinforces this: while Agent Loop scores cluster around 0.4–0.6 with a flat distribution, structured harnesses shift the mass rightward and produce a sharper peak near 1.0, indicating that harness engineering increases the fraction of tasks fully solved rather than merely raising average scores. Finding 2: Completion is the primary axis of variation. In Table 3 and Table 4, safety and robustness are
near-perfect across all models and harnesses (≥83%), while completion ranges from 34% to 76%, leaving substantial headroom for improvement and confirming that Auto-ClawEval is not saturated by current frontier models. Finding 3: Auto-ClawEval and Auto-ClawEval-Mini are consistent proxies. In Table 3 and Table 4, scores on the two variants differ by less than 2% for all models and harnesses, validating that the 104-task Auto-ClawEval-Mini is a reliable and low-cost substitute for the full 1,040-task Auto-ClawEval. This also indicates ClawEnvKit could upscale environment that is limited in quantity. Finding 4: Harness tier does not strictly determine performance. In Table 4, Tier 3 SKILL.md harnesses (NemoClaw 69.0, Hermes 66.9) outperform several Tier 2 MCP harnesses (ZeroClaw 57.1, PicoClaw 53.2), despite relying on curl-based tool calls. The ReAct Agent Loop performs worst (53.3), confirming that structured agent harness provide meaningful advantages over bare function-calling baselines. Finding 5: Auto-ClawEval exposes diverse difficulty across task categories. Figure 4 shows that category difficulty varies substantially: C16 is consistently hardacross all harnesses (10–71%), while C21 and C32 are reliably solved (>85%). This indicates that although different harnesses have close aggregate scores, the exact error patterns are divergent. Finding 6: Tool integration is not the key. Figure 5a plots mean score against average tool calls per task. The
Pareto frontier is dominated by harnesses from different tiers suggesting that no single integration tier is strictly superior. However, Claude Code and OpenClaw stands out for its efficiency. Figure 5b demonstrate that GPT-5.4 are the most competent model in Auto-ClawEval, while GPT-5-nano provides a more economical choice. 8
Table 4 Performance of different agent harness on 1,040 Auto-ClawEval and 104 Auto-ClawEval-Mini environments. The
agent harness are provided in separate sandbox to support their native workflows. The agent model is consistent set as Claude Haiku 4.5 for all harnesses. Harness
Tier
OpenClaw (Steinberger, 2025)
Safety
1
Auto-ClawEval
Completion
Robustness
Mean score
93.8
Harness 1 — Native Plugin 61.3 100.0 64.2
96.2
59.9
100.0
64.2
Harness 2 — MCP 64.1 100.0 60.1 100.0 51.4 100.0 48.3 100.0
67.0 63.7 57.1 53.2
95.2 99.0 95.2 85.6
62.7 60.8 48.4 49.2
100.0 100.0 100.0 100.0
66.5 67.8 54.9 50.0
Harness 3 — SKILL.md + curl 61.5 100.0 60.8 74.2 100.0 69.0 71.1 100.0 66.9
93.3 84.6 83.7
56.4 76.2 65.6
100.0 100.0 100.0
59.3 67.9 66.5
Pseudo Harness 100.0
93.3
45.4
100.0
51.7
2 2 2 2
94.7 94.6 94.6 91.2
CoPaw (AgentScope Team, 2026) NemoClaw (NVIDIA, 2026) Hermes (Nous Research, 2026)
3 3 3
89.7 87.5 87.6
ReAct Agent Loop (Ye et al., 2026)
-
95.4
38.3
Robustness
Mean score
Auto-ClawEval-Mini
Safety
Claude Code (Anthropic, 2025b) NanoClaw (Near AI, 2026) ZeroClaw (ZeroClaw Labs, 2026) PicoClaw (Sipeed, 2026)
Completion
53.3
OpenClaw
46
47
49
54
54
83
69
88
74
73
39
59
53
49
91
15
89
79
83
89
94
90
71
74
33
55
57
75
67
68
32
98
40
65
Claude Code
57
43
52
55
56
89
79
89
79
86
43
65
52
48
84
71
84
80
82
87
93
93
73
89
36
57
50
76
85
58
46
92
39
62
NanoClaw
56
41
48
50
61
69
73
81
83
65
54
61
70
52
83
68
76
82
77
87
95
94
66
79
42
57
51
41
80
61
45
67
40
55
80
PicoClaw
49
48
52
58
30
64
58
72
71
59
44
53
50
45
70
10
69
71
62
67
69
66
52
66
25
37
30
40
73
33
32
65
50
55
60
ZeroClaw
50
40
45
55
27
73
68
78
80
81
65
59
58
70
82
35
83
81
65
77
59
87
48
67
30
34
28
35
67
28
31
64
54
57
40
CoPaw
41
70
74
86
40
62
74
83
73
70
58
69
73
35
56
45
72
81
80
86
90
92
51
73
19
41
42
43
78
52
42
92
35
50
NemoClaw
53
88
90
86
58
78
71
85
88
83
70
93
91
13
88
22
78
83
84
82
95
86
73
73
33
62
50
43
85
65
42
97
44
52
Hermes
52
73
71
75
66
76
63
82
83
61
75
78
80
41
81
57
83
83
87
82
86
91
50
74
12
64
75
34
78
70
48
95
39
53
100
20 0
C01 C02 C03 C04 C05 C06 C07 C08 C09 C10 C11 C12 C13 C14 C15 C16 C17 C18 C19 C20 C21 C22 C23 C24 C25 C26 C27 C28 C29 C30 C31 C32 C33 C34
Figure 4 Agent performance across task categories on Auto-ClawEval. Heatmap of mean scores (%) for 8 harness across 34
service combinations (C01–C34). Performance varies substantially across categories, with certain categories (e.g., C16) consistently challenging across all agents, while others (e.g., C21, C32) are reliably solved.
6
Environment Automation makes a Live Testbed for Agents
Beyond scale, automation fundamentally changes the temporal nature of evaluation. Recent studies show that data leakage has become a systematic, multi-stage threat to reliable assessment (Deng et al., 2023; Xu et al., 2024; Cheng et al., 2025): as benchmark data are repeatedly absorbed through pretraining, post-training, and deployment-time adaptation, static test sets inevitably become stale, contaminated, or partially memorized. Against this backdrop, the value of automation is not merely that it reduces human labor, but that it decouples evaluation from any single frozen release and adapt evaluation to users’ custom needs. “My daily work is to triage incoming GitHub issues: assign priorities based on labels, assign the right team member, and close duplicates.”
“The service you need is: POST /github/issues POST /github/issues/get … Any thing else is needed? “ “We might need close issues endpoints.” “Ok. Services POST /github/issues/close supported”
Figure 7 On-demand environment generation. A user
describes a workflow; ClawEnvKit proposes endpoints, resolves missing services interactively, and generates a task environment without manual rubric writing.
To illustrate this advantage, consider a user who wishes to evaluate a use case not covered by Claw-Eval (Ye et al., 2026). Under a conventional human-authored regime, the request would demand manual task and rubric construction, and the resulting artifact would itself become another fixed, leakage-prone entry. With ClawEnvKit, the same request is instantiated on demand into multiple executable task instances (Figure 7). The system will propose, adjust and confirm with users to synthesize a mock service that best fits to users’ needs. With this workflow, users could not only test out existing worflow in mind, but also evaluate services under development.
9
NemoClaw 0.68
Claude Code
GPT-5.4 0.56
Hermes
GPT-5-nano
0.64
OpenClaw
0.62
CoPaw
0.60 0.58 0.56 0.54
Harness Type
ZeroClaw
Plugin MCP SKILL.md Baseline Pareto frontier
3.5
4.0
Sonnet 4.6
0.54
NanoClaw
Mean Final Score
Mean Final Score
0.66
0.52
Haiku 4.5 Opus 4.6
GLM-5 MiniMax-M2.5
GLM-5-turbo
0.50
0.48
PicoClaw Agent Loop 4.5
5.0
5.5
6.0
Avg Tool Calls per Task
MiniMax-M2.7 1.00
6.5
(a) # Tool Calls vs. performance on harnesses
0.10
Cost per Task ($)
0.01
cheaper is better
(b) Cost vs. performance on models
Figure 5 Performance vs. efficiency across harnesses and models on Auto-ClawEval. OpenClaw Claude Code NanoClaw PicoClaw ZeroClaw CoPaw NemoClaw
Harness Type
Hermes
Plugin MCP
Agent Loop 0.0
0.2
0.4
Final Mean Score
0.6
0.8
SKILL.md Baseline 1.0
Figure 6 Score distribution across agent harnesses on Auto-ClawEval (1,040 tasks). Each violin shows the distribution of
per-task final scores for one harness; the diamond marker indicates the mean.
This shows that automation enables evaluation to expand into previously uncovered use cases while remaining continuously refreshable as user needs and real-world environments evolve. In this sense, automation does not merely make evaluation cheaper: it makes evaluation alive.
7
Conclusion
We introduced ClawEnvKit, a scalable framework that automates the construction of verified agent environments for claw-like agents from natural-language specifications by decoupling what to verify from how to verify it. ClawEnvKit reduces environment construction from hours to minutes while matching or exceeding human-written environments on Validity, Coherence, and Clarity. Building on this framework, we released Auto-ClawEval, the first large-scale (1,040 environments, 24 semantic categories), cross-agent, cross-backbone benchmark in the claw ecosystem. Beyond scale, ClawEnvKit reframes evaluation itself: rather than a frozen artifact that saturates and leaks, evaluation becomes alive—continuously refreshable, user-driven, and able to scale alongside the capabilities it measures. We hope ClawEnvKit encourages the community to move beyond static benchmarks toward infrastructure in which environment generation, training, and evaluation co-evolve.
10
References AgentScope Team. CoPaw: Co personal agent workstation. https://github.com/agentscope-ai/CoPaw, 2026. Accessed: 2026-04-05. Anthropic. Effective harnesses for long-running agents. https://www.anthropic.com/engineering/ effective-harnesses-for-long-running-agents, November 2025a. Anthropic Engineering Blog. Accessed: 2026-04-08. Anthropic. Claude code: AI-powered coding assistant for developers. https://claude.com/product/claude-code, 2025b. Accessed: 2026-04-05. Anthropic. Demystifying evals for ai agents. https://www.anthropic.com/engineering/ demystifying-evals-for-ai-agents, January 2026. https://www.anthropic.com/engineering/ demystifying-evals-for-ai-agents. Published January 9, 2026. Accessed: 2026-04-12. Anthropic. Quantifying infrastructure noise in agentic coding evals. https://www.anthropic.com/engineering/ infrastructure-noise, 2026. Accessed: 2026-04-05. Anthropic. Introducing Claude Opus 4.6. https://www.anthropic.com/news/claude-opus-4-6, February 2026a. Accessed: 2026-04-05. Anthropic. Introducing Claude Sonnet 4.6. https://www.anthropic.com/news/claude-sonnet-4-6, February 2026b. Accessed: 2026-04-05. Anysphere. Cursor: The best way to code with AI. https://cursor.com/, 2024. Accessed: 2026-04-05. Birgitta Böckeler. Harness engineering. https://martinfowler.com/articles/exploring-gen-ai/harness-engineering. html, February 2026. martinfowler.com. Accessed: 2026-04-08. Can Bölük. I improved 15 llms at coding in one afternoon. only the harness changed. https://blog.can.ac/2026/02/ 12/the-harness-problem/, February 2026. Personal technical blog. Accessed: 2026-04-08. Dongping Chen, Yue Huang, Siyuan Wu, Jingyu Tang, Liuyi Chen, Yilin Bai, Zhigang He, Chenlong Wang, Huichi Zhou, Yiqiang Li, Tianshuo Zhou, Yue Yu, Chujie Gao, Qihui Zhang, Yi Gui, Zhen Li, Yao Wan, Pan Zhou, Jianfeng Gao, and Lichao Sun. Gui-world: A video benchmark and dataset for multimodal gui-oriented understanding, 2025. https://arxiv.org/abs/2406.10819. Yuxing Cheng, Yi Chang, and Yuan Wu. A survey on data contamination for large language models. arXiv preprint arXiv:2502.14425, 2025. Thibault Le Sellier De Chezelles, Maxime Gasse, Alexandre Drouin, Massimo Caccia, Léo Boisvert, Megh Thakkar, Tom Marty, Rim Assouel, Sahar Omidi Shayegan, Lawrence Keunho Jang, Xing Han Lù, Ori Yoran, Dehan Kong, Frank F. Xu, Siva Reddy, Quentin Cappart, Graham Neubig, Ruslan Salakhutdinov, Nicolas Chapados, and Alexandre Lacoste. The browsergym ecosystem for web agent research, 2025. https://arxiv.org/abs/2412.05467. Chunyuan Deng, Yilun Zhao, Xiangru Tang, Mark Gerstein, and Arman Cohan. Benchmark probing: Investigating data leakage in large language models. In NeurIPS 2023 workshop on backdoors in deep learning-The good, the bad, and the ugly, 2023. Alexandre Drouin, Maxime Gasse, Massimo Caccia, Issam H. Laradji, Manuel Del Verme, Tom Marty, Léo Boisvert, Megh Thakkar, Quentin Cappart, David Vazquez, Nicolas Chapados, and Alexandre Lacoste. Workarena: How capable are web agents at solving common knowledge work tasks?, 2024. Aleksandra Eliseeva, Alexander Kovrigin, Ilia Kholkin, Egor Bogomolov, and Yaroslav Zharov. Envbench: A benchmark for automated environment setup, 2025. https://arxiv.org/abs/2503.14443. Kanishk Gandhi, Shivam Garg, Noah D. Goodman, and Dimitris Papailiopoulos. Endless terminals: Scaling rl environments for terminal agents, 2026. https://arxiv.org/abs/2601.16443. GLM-5-Team, :, Aohan Zeng, Xin Lv, Zhenyu Hou, Zhengxiao Du, Qinkai Zheng, Bin Chen, Da Yin, Chendi Ge, Chenghua Huang, Chengxing Xie, Chenzheng Zhu, Congfeng Yin, Cunxiang Wang, Gengzheng Pan, Hao Zeng, Haoke Zhang, Haoran Wang, Huilong Chen, Jiajie Zhang, Jian Jiao, Jiaqi Guo, Jingsen Wang, Jingzhao Du, Jinzhu Wu, Kedong Wang, Lei Li, Lin Fan, Lucen Zhong, Mingdao Liu, Mingming Zhao, Pengfan Du, Qian Dong, Rui Lu, Shuang-Li, Shulin Cao, Song Liu, Ting Jiang, Xiaodong Chen, Xiaohan Zhang, Xuancheng Huang, Xuezhen Dong, Yabo Xu, Yao Wei, Yifan An, Yilin Niu, Yitong Zhu, Yuanhao Wen, Yukuo Cen, Yushi Bai, Zhongpei Qiao, Zihan Wang, Zikang Wang, Zilin Zhu, Ziqiang Liu, Zixuan Li, Bojie Wang, Bosi Wen, Can Huang, Changpeng Cai, Chao Yu, Chen Li, Chengwei Hu, Chenhui Zhang, Dan Zhang, Daoyan Lin, Dayong Yang, Di Wang, Ding
11
Ai, Erle Zhu, Fangzhou Yi, Feiyu Chen, Guohong Wen, Hailong Sun, Haisha Zhao, Haiyi Hu, Hanchen Zhang, Hanrui Liu, Hanyu Zhang, Hao Peng, Hao Tai, Haobo Zhang, He Liu, Hongwei Wang, Hongxi Yan, Hongyu Ge, Huan Liu, Huanpeng Chu, Jia’ni Zhao, Jiachen Wang, Jiajing Zhao, Jiamin Ren, Jiapeng Wang, Jiaxin Zhang, Jiayi Gui, Jiayue Zhao, Jijie Li, Jing An, Jing Li, Jingwei Yuan, Jinhua Du, Jinxin Liu, Junkai Zhi, Junwen Duan, Kaiyue Zhou, Kangjian Wei, Ke Wang, Keyun Luo, Laiqiang Zhang, Leigang Sha, Liang Xu, Lindong Wu, Lintao Ding, Lu Chen, Minghao Li, Nianyi Lin, Pan Ta, Qiang Zou, Rongjun Song, Ruiqi Yang, Shangqing Tu, Shangtong Yang, Shaoxiang Wu, Shengyan Zhang, Shijie Li, Shuang Li, Shuyi Fan, Wei Qin, Wei Tian, Weining Zhang, Wenbo Yu, Wenjie Liang, Xiang Kuang, Xiangmeng Cheng, Xiangyang Li, Xiaoquan Yan, Xiaowei Hu, Xiaoying Ling, Xing Fan, Xingye Xia, Xinyuan Zhang, Xinze Zhang, Xirui Pan, Xu Zou, Xunkai Zhang, Yadi Liu, Yandong Wu, Yanfu Li, Yidong Wang, Yifan Zhu, Yijun Tan, Yilin Zhou, Yiming Pan, Ying Zhang, Yinpei Su, Yipeng Geng, Yong Yan, Yonglin Tan, Yuean Bi, Yuhan Shen, Yuhao Yang, Yujiang Li, Yunan Liu, Yunqing Wang, Yuntao Li, Yurong Wu, Yutao Zhang, Yuxi Duan, Yuxuan Zhang, Zezhen Liu, Zhengtao Jiang, Zhenhe Yan, Zheyu Zhang, Zhixiang Wei, Zhuo Chen, Zhuoer Feng, Zijun Yao, Ziwei Chai, Ziyuan Wang, Zuzhou Zhang, Bin Xu, Minlie Huang, Hongning Wang, Juanzi Li, Yuxiao Dong, and Jie Tang. Glm-5: from vibe coding to agentic engineering, 2026. https://arxiv.org/abs/2602.15763. Naman Jain, Jaskirat Singh, Manish Shetty, Liang Zheng, Koushik Sen, and Ion Stoica. R2e-gym: Procedural environments and hybrid verifiers for scaling open-weights swe agents, 2025. https://arxiv.org/abs/2504.07164. Haonian Ji, Kaiwen Xiong, Siwei Han, Peng Xia, Shi Qiu, Yiyang Zhou, Jiaqi Liu, Jinlong Li, Bingzhou Li, Zeyu Zheng, Cihang Xie, and Huaxiu Yao. Clawarena: Benchmarking ai agents in evolving information environments, 2026. https://arxiv.org/abs/2604.04202. Jing Yu Koh, Robert Lo, Lawrence Jang, Vikram Duvvur, Ming Chong Lim, Po-Yu Huang, Graham Neubig, Shuyan Zhou, Ruslan Salakhutdinov, and Daniel Fried. Visualwebarena: Evaluating multimodal agents on realistic visual web tasks, 2024. https://arxiv.org/abs/2401.13649. Philippe Laban, Hiroaki Hayashi, Yingbo Zhou, and Jennifer Neville. Llms get lost in multi-turn conversation, 2025. https://arxiv.org/abs/2505.06120. Yoonho Lee, Roshen Nair, Qizheng Zhang, Kangwook Lee, Omar Khattab, and Chelsea Finn. Meta-harness: End-to-end optimization of model harnesses, 2026. https://arxiv.org/abs/2603.28052. Ming Li. Verifiable accuracy and abstention rewards in curriculum rl to alleviate lost-in-conversation, 2025. https: //arxiv.org/abs/2510.18731. Xiangyi Li, Wenbo Chen, Yimin Liu, Shenghan Zheng, Xiaokun Chen, Yifeng He, Yubo Li, Bingran You, Haotian Shen, Jiankai Sun, et al. Skillsbench: Benchmarking how well agent skills work across diverse tasks. arXiv preprint arXiv:2602.12670, 2026a. Xiangyi Li, Kyoung Whan Choe, Yimin Liu, Xiaokun Chen, Chujun Tao, Bingran You, Wenbo Chen, Zonglin Di, Jiankai Sun, Shenghan Zheng, Jiajun Bao, Yuanli Wang, Weixiang Yan, Yiyuan Li, and Han chung Lee. Clawsbench: Evaluating capability and safety of llm productivity agents in simulated workspaces, 2026b. https: //arxiv.org/abs/2604.05172. Xiao Liu, Hao Yu, Hanchen Zhang, Yifan Xu, Xuanyu Lei, Hanyu Lai, Yu Gu, Hangliang Ding, Kaiwen Men, Kejuan Yang, et al. Agentbench: Evaluating llms as agents. arXiv preprint arXiv:2308.03688, 2023. Xing Han Lù, Zdeněk Kasner, and Siva Reddy. Weblinx: Real-world website navigation with multi-turn dialogue. arXiv preprint arXiv:2402.05930, 2024. MiniMax. MiniMax M2.5: Built for real-world productivity. https://www.minimax.io/news/minimax-m25, February 2026a. 230B MoE with 10B active parameters, trained with RL in 200K+ environments. Accessed: 2026-04-05. MiniMax. MiniMax M2.7: Early echoes of self-evolution. https://www.minimax.io/news/minimax-m27-en, March 2026b. First model to participate in its own recursive self-improvement via 100+ autonomous optimization cycles. Accessed: 2026-04-05. Near AI. Ironclaw: A security-first open-source ai agent framework in rust. https://github.com/nearai/ironclaw, 2026. MIT/Apache-2.0 License, Accessed: 2026-04-04. Nous Research. Hermes agent: The self-improving AI agent. https://github.com/NousResearch/hermes-agent, 2026. 23k+ stars. Built-in learning loop with skill creation, memory search, and RL training via Atropos. Accessed: 2026-04-05.
12
NVIDIA. NemoClaw: Run OpenClaw more securely inside NVIDIA OpenShell with managed inference. https: //github.com/NVIDIA/NemoClaw, March 2026. Early preview released March 16, 2026. Part of NVIDIA Agent Toolkit. Accessed: 2026-04-05. OpenAI. Introducing GPT-5. https://openai.com/index/introducing-gpt-5/, August 2025a. Accessed: 2026-04-05. OpenAI. Codex: AI coding agent for software development. https://openai.com/codex/, 2025b. Accessed: 2026-04-05. OpenAI. Introducing GPT-5.4. https://openai.com/index/introducing-gpt-5-4/, March 2026a. Accessed: 2026-04-05. OpenAI. Harness engineering: leveraging codex in an agent-first world. harness-engineering/, 2026b. Accessed: 2026-04-08.
https://openai.com/index/
Yichen Pan, Dehan Kong, Sida Zhou, Cheng Cui, Yifei Leng, Bing Jiang, Hangyu Liu, Yanyi Shang, Shuyan Zhou, Tongshuang Wu, and Zhengyang Wu. Webcanvas: Benchmarking web agents in online environments, 2024. https://arxiv.org/abs/2406.12373. qwibitai. Nanoclaw: A lightweight, secure ai agent framework with container isolation. https://github.com/qwibitai/ nanoclaw, 2026. Accessed: 2026-04-04. James Reason. The contribution of latent human failures to the breakdown of complex systems. Philosophical Transactions of the Royal Society of London B, 327:475–484, 1990. Noah Shinn, Federico Cassano, Edward Berman, Ashwin Gopinath, Karthik Narasimhan, and Shunyu Yao. Reflexion: Language agents with verbal reinforcement learning, 2023. https://arxiv.org/abs/2303.11366. Sipeed. PicoClaw: Tiny, fast, and deployable anywhere AI agent. https://github.com/sipeed/picoclaw, February 2026. Ultra-lightweight Go-based personal AI assistant with <10MB memory footprint. Accessed: 2026-04-05. Peter Steinberger. Openclaw: Your own personal ai assistant (open-source agent framework). https://github.com/ openclaw/openclaw, 2025. MIT License, Accessed: 2026-04-04. Michael Sullivan, Mareike Hartmann, and Alexander Koller. Procedural environment generation for tool-use agents. In Christos Christodoulopoulos, Tanmoy Chakraborty, Carolyn Rose, and Violet Peng, editors, Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing, pages 18544–18562, Suzhou, China, November 2025. Association for Computational Linguistics. ISBN 979-8-89176-332-6. doi: 10.18653/v1/2025.emnlp-main.936. https://aclanthology.org/2025.emnlp-main.936/. Liangtai Sun, Xingyu Chen, Lu Chen, Tianle Dai, Zichen Zhu, and Kai Yu. Meta-gui: Towards multi-modal conversational agents on mobile gui. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, pages 6699–6712, 2022. Richard S. Sutton and Andrew G. Barto. Reinforcement Learning: An Introduction. MIT Press, Cambridge, MA, 1 edition, 1998. Liyuan Wang, Xingxing Zhang, Hang Su, and Jun Zhu. A comprehensive survey of continual learning: Theory, method and application. IEEE transactions on pattern analysis and machine intelligence, 46(8):5362–5383, 2024. Xingyao Wang et al. The OpenHands software agent SDK: A composable and extensible foundation for production agents, 2025. Yinjie Wang, Xuyang Chen, Xiaolong Jin, Mengdi Wang, and Ling Yang. Openclaw-rl: Train any agent simply by talking. arXiv preprint arXiv:2603.10165, 2026a. Zhaoyang Wang, Canwen Xu, Boyi Liu, Yite Wang, Siwei Han, Zhewei Yao, Huaxiu Yao, and Yuxiong He. Agent world model: Infinity synthetic environments for agentic reinforcement learning. arXiv preprint arXiv:2602.10090, 2026b. Peng Xia, Jianwen Chen, Xinyu Yang, Haoqin Tu, Jiaqi Liu, Kaiwen Xiong, Siwei Han, Shi Qiu, Haonian Ji, Yuyin Zhou, Zeyu Zheng, Cihang Xie, and Huaxiu Yao. Metaclaw: Just talk an agent that meta-learns and evolves in the wild. arXiv preprint arXiv:2603.17187, 2026. Tianbao Xie, Danyang Zhang, Jixuan Chen, Xiaochuan Li, Siheng Zhao, Ruisheng Cao, Toh Jing Hua, Zhoujun Cheng, Dongchan Shin, Fangyu Lei, Yitao Liu, Yiheng Xu, Shuyan Zhou, Silvio Savarese, Caiming Xiong, Victor Zhong, and Tao Yu. Osworld: Benchmarking multimodal agents for open-ended tasks in real computer environments, 2024. Cheng Xu, Shuhao Guan, Derek Greene, M Kechadi, et al. Benchmark data contamination of large language models: A survey. arXiv preprint arXiv:2406.04244, 2024.
13
John Yang, Kilian Lieret, Carlos E. Jimenez, Alexander Wettig, Kabir Khandpur, Yanzhe Zhang, Binyuan Hui, Ofir Press, Ludwig Schmidt, and Diyi Yang. Swe-smith: Scaling data for software engineering agents, 2025. https://arxiv.org/abs/2504.21798. Shunyu Yao, Jeffrey Zhao, Dian Yu, Nan Du, Izhak Shafran, Karthik Narasimhan, and Yuan Cao. React: Synergizing reasoning and acting in language models, 2023. https://arxiv.org/abs/2210.03629. Bowen Ye, Rang Li, Qibin Yang, Zhihui Xie, Yuanxin Liu, Linli Yao, Hanglong Lyu, and Lei Li. Claw-eval: End-to-end transparent benchmark for ai agents in the real world, 2026. https://github.com/claw-eval/claw-eval. Ori Yoran, Samuel Joseph Amouyal, Chaitanya Malaviya, Ben Bogin, Ofir Press, and Jonathan Berant. Assistantbench: Can web agents solve realistic and time-consuming tasks?, 2024. https://arxiv.org/abs/2407.15711. ZeroClaw Labs. ZeroClaw: Fast, small, and fully autonomous AI assistant infrastructure in Rust. https://github. com/zeroclaw-labs/zeroclaw, February 2026. Trait-driven Rust runtime with <5MB memory footprint. Accessed: 2026-04-05. Linghao Zhang, Shilin He, Chaoyun Zhang, Yu Kang, Bowen Li, Chengxing Xie, Junhao Wang, Maoquan Wang, Yufan Huang, Shengyu Fu, Elsie Nallipogu, Qingwei Lin, Yingnong Dang, Saravan Rajmohan, and Dongmei Zhang. Swe-bench goes live! arXiv preprint arXiv:2505.23419, 2025. Lianmin Zheng, Wei-Lin Chiang, Ying Sheng, Siyuan Zhuang, Zhanghao Wu, Yonghao Zhuang, Zi Lin, Zhuohan Li, Dacheng Li, Eric P. Xing, Hao Zhang, Joseph E. Gonzalez, and Ion Stoica. Judging llm-as-a-judge with mt-bench and chatbot arena, 2023. https://arxiv.org/abs/2306.05685. Longtao Zheng, Zhiyuan Huang, Zhenghai Xue, Xinrun Wang, Bo An, and Shuicheng Yan. Agentstudio: A toolkit for building general virtual agents. arXiv preprint arXiv:2403.17918, 2024. Zhipu AI. GLM-5-turbo: A foundation model optimized for the OpenClaw scenario. https://docs.z.ai/guides/ llm/glm-5-turbo, 2026. 200K context, optimized for tool invocation and long-chain agent execution. Accessed: 2026-04-05. Shuyan Zhou, Frank F Xu, Hao Zhu, Xuhui Zhou, Robert Lo, Abishek Sridhar, Xianyi Cheng, Tianyue Ou, Yonatan Bisk, Daniel Fried, et al. Webarena: A realistic web environment for building autonomous agents. arXiv preprint arXiv:2307.13854, 2023.
14
Contents 1 Introduction
1
2 Relate Work 2.1 Scaling up Environment Generation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.2 Claw-like Agents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3 3 3
3 Formalizing Environments for Claw-like Agents
4
4 ClawEnvKit: A Scalable Framework for Automated Environment Generation 4.1 Environment Generation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.2 Task Execution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.3 Grading of Agent Performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5 5 6 6
5 Experiments 5.1 Benchmark Automation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.2 Quality of Generated Environments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.3 ClawEnvKit Scales Up Agent Evaluation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7 7 7 8
6 Environment Automation makes a Live Testbed for Agents
9
7 Conclusion
10
A Limitations and Future Work
17
B Automated Evaluation in Context
17
C Dimensions of Agent Environment Quality
17
D Auto-ClawEval Composition
19
E ClawEnvKit Implementation Details E.1 Parser, Generator, and Validator Implementation Details . . . . . . . . . . . . . . . . . . . . E.1.1 Parser . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E.1.2 Generator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E.1.3 Validator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E.2 Execution Infrastructure and Agent Integration . . . . . . . . . . . . . . . . . . . . . . . . . . E.2.1 Sandbox Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E.2.2 Error Injection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E.2.3 Agent Integration Tiers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E.2.4 Execution Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E.3 GradingEngine: Check Types and Scoring Logic . . . . . . . . . . . . . . . . . . . . . . . . . E.3.1 Check Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E.3.2 LLM Judge . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E.3.3 Robustness Calculation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E.3.4 Pass3 Aggregation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
19 19 19 21 22 22 22 22 22 22 23 23 23 23 23
F ClawEnvKit Generation Examples F.1 Example 1: Single-Service API Task . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . F.2 Example 2: Cross-Service Coordination Task . . . . . . . . . . . . . . . . . . . . . . . . . . . F.3 Example 3: File-Dependent Task . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
24 24 24 25
G More Experiment Settings G.1 Evaluation Infrastructure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . G.2 Models Evaluated . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
25 25 26
15
G.3 Retry and Timeout Logic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . G.4 Dataset Composition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . G.5 Reproducibility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
26 27 27
H Mock Services as a Reliable Evaluation Proxy H.1 False Negative Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . H.2 Why Mock Services Are a Sufficient Proxy . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
27 27 28
16
Appendix A
Limitations and Future Work
ClawEnvKit demonstrates that automated task environment generation can match human curation in quality while scaling far beyond what manual effort permits. However, the current system has several limitations that point to important directions for future work. Mock services vs. real-world services. The most significant gap between ClawEnvKit and real-world deployment is the use of mock services. Mock services are deterministic, always available, and produce predictable responses, properties that make automated evaluation reliable but that do not reflect the messiness of production APIs: rate limits that vary by subscription tier, authentication flows, schema drift across API versions, and responses that depend on real external state (e.g., a calendar that reflects actual meetings, a mailbox with real history). An agent that scores well on Auto-ClawEval may still fail on real services if it has learned to exploit the predictability of mock responses. Bridging this gap requires either more realistic mock services that simulate real API behavior (timeouts, auth errors, pagination quirks) or hybrid evaluation pipelines that run a subset of tasks against live sandboxed environments. Coverage of real-world task diversity. Auto-ClawEval covers 24 categories, but real agent workloads span a much broader range: voice interfaces, GUI automation, multi-agent delegation, and domain-specific workflows (legal, medical, financial) that require specialized services not yet in the mock library. Our works provide first of the kind exploration and extending ClawEnvKit to these domains requires either expanding the service library manually or automating service generation from real OpenAPI specs is a natural direction. Generation of long-horizon tasks. Current tasks are designed to be completable within 20 tool-calling rounds. Real-world agent workflows can span hours or days, with intermediate checkpoints, human-in-the-loop approval steps, and state that persists across sessions. ClawEnvKit’s isolated-container model supports long-horizon execution in principle, but the generation pipeline and scoring framework are not yet designed to produce or evaluate such tasks at scale. Multi-turn behaviors (Laban et al., 2025; Li, 2025) is a future target in such environment automation framework.
B
Automated Evaluation in Context
Automated evaluation is one layer in a broader ecosystem of methods for understanding agent performance. Like the Swiss Cheese Model from safety engineering (Reason, 1990), no single method catches every failure: gaps in one layer are covered by another. Table 5 summarizes the complementary landscape (Anthropic, 2026). ClawEnvKit targets the automated evaluation layer,the first line of defense, designed to run on every agent change before deployment. Its value is not in replacing human judgment, but in making the pre-deployment layer scalable, reproducible, and continuously refreshable as agent capabilities and task distributions evolve. Production monitoring, user feedback, and systematic human studies remain essential to close the gap between benchmark performance and real-world behavior.
C
Dimensions of Agent Environment Quality
A task environment is only useful if it can actually run, measures what it claims to measure, and distinguishes between agents of different capability. We test these requirements as three dimensions, each computable without human annotation.
17
Table 5 Methods for understanding AI agent performance (Anthropic, 2026). Automated evaluation is one of many
complementary approaches; a complete picture requires multiple methods across the development lifecycle. ClawEnvKit targets the pre-launch automated evaluation layer. Method Automated evals
Running tests programmatically without real users Production monitoring
Tracking metrics and errors in live systems A/B testing
Comparing variants with real user traffic User feedback
Explicit signals (thumbs-down, bug reports) Transcript review
Humans reading agent conversations Systematic studies
human
Structured grading by trained raters
Pros
Cons
Pre-launch Fast iteration; fully reproducible; no user impact; runs on every commit; scales to thousands of scenarios without production deployment
Requires upfront investment and ongoing maintenance; can create false confidence if eval distribution diverges from real usage
Post-launch Reveals real user behavior at scale; catches issues synthetic evals miss; ground truth on actual performance Measures actual user outcomes; controls for confounds; systematic and scalable Ongoing Surfaces unanticipated problems; real examples; correlates with product goals Builds intuition for failure modes; catches subtle quality issues; calibrates what “good” looks like Gold-standard quality judgments; handles subjective tasks; improves LLM graders
Reactive—problems reach users first; noisy signals; lacks ground truth for grading Slow (days to weeks); only tests deployed changes; limited signal on why metrics change Sparse and self-selected; skews toward severe issues; users rarely explain why Time-intensive; does not scale; reviewer fatigue; qualitative only Expensive and slow; hard to run frequently; complex domains require domain experts
Validity. A misconfigured environment, one that references a non-existent API action or has scoring weights that do not sum to one, cannot be executed at all. We define validity as a binary check: P Valid(E) = 1 ∀ ci ∈ C : ci is executable in M ∧ (2) i wi = 1 . Validity is a precondition for the other two dimensions: an invalid environment is discarded and regenerated. Coherence. Even a structurally valid environment can be useless if the task prompt asks for one thing but the scoring configuration measures something else, or if the required tools are not exposed. We measure coherence via an LLM judge J : Coh(E) = J (P, M, C) ∈ [0, 1], (3) where J assesses (i) whether M supplies all resources implied by P , and (ii) whether C captures the actual intent of P rather than a proxy that can be satisfied without completing the task. This failure mode is specific to automated generation: human benchmark authors control all three components jointly and naturally avoid such misalignment. Clarity. A coherent environment can still be difficult to evaluate fairly if the task prompt is ambiguous, underspecified, or inconsistent in its instructions. An agent that fails on an unclear prompt may be penalized not for lack of capability but for lack of interpretable instruction. We measure clarity via the same LLM judge J , rating each prompt on a 1–5 scale for understandability and actionability: Clar(E) = J (P ) ∈ [1, 5],
18
(4)
Table 6 Mock service library as initial set (15 services). Each service is implemented as a FastAPI server with audit logging
and error injection. The initial set are all obtained from Claw-Eval. Service
Description
Example actions
gmail calendar todo contacts notes
Communication & Productivity Email — list, read, send, draft list_inbox, send_email, create_draft Calendar — events, scheduling list_events, create_event, delete_event Task manager — CRUD with priorities list_tasks, create_task, update_task Contact directory — search, lookup search_contacts, get_contact Notes — create, search, organize list_notes, create_note
crm finance helpdesk inventory kb
Business Operations Customer relationship — accounts, deals list_customers, update_customer Financial data — transactions, budgets list_transactions, get_budget Support tickets — triage, resolve list_tickets, update_ticket Product inventory — stock, orders list_products, update_product Knowledge base — articles, search search_articles, get_kb_article
config scheduler rss
Infrastructure & System System config — integrations, settings list_integrations, get_integration Job scheduler — cron tasks, triggers list_jobs, create_job RSS feeds — articles, subscriptions list_feeds, get_rss_article
web web_real
Web search + fetch (mock) Live web fetch (real HTTP)
Web Access web_search, web_fetch web_search, web_fetch
where J assesses whether a capable agent reading P would have an unambiguous understanding of what constitutes task success. Low clarity inflates variance in agent scores without providing signal about agent capability, making it a practical quality dimension distinct from coherence.
D
Auto-ClawEval Composition
Based on Claw-Eval (Ye et al., 2026), Auto-ClawEval comprises 1,040 automatically generated task environments covering 15 mock services and 24 task categories. Table 6 describes the mock service library; Table 7 lists all 24 categories and their task counts; Table 8 summarizes task composition by type.
E
ClawEnvKit Implementation Details
E.1
Parser, Generator, and Validator Implementation Details
E.1.1
Parser
System prompt, input, and output. The Parser takes a single natural language string and returns a structured specification via one LLM call. Parser — System Prompt (abbreviated) You are a task environment planner for an AI agent evaluation system. Given a user’s natural language request, extract: (1) which mock services are needed, (2) difficulty level, (3) intent atoms—the discrete things the agent must do, see, or produce. Available Services (pick 1 or more): todo, gmail, calendar, contacts, . . . (20 services) Pre-defined Categories: workflow → [calendar, contacts, gmail], . . . Atom types: action (verb), object (noun), constraint (rule). Atoms must be SPECIFIC and VERIFIABLE. User Request: {request} Respond with JSON only: {"services": [...], "difficulty": "...", "atoms": [{"type": "...", "name": "...", "description": "..."}], "reasoning": "..."}
19
Table 7 Task categories in Auto-ClawEval (24 categories, 1,040 tasks total). Category
Tasks
Description
finance ops office_qa communication productivity workflow ocr operations safety terminal
140 110 100 80 70 70 70 60 50 50
High-volume (≥50 tasks) Financial analysis, budgeting, transaction review Operational dashboards, system monitoring Document reading, Q&A from PDFs/text files Email triage, drafting, contact coordination Todo management, sprint reviews, task audits Cross-service coordination (calendar + email + contacts) Image text extraction, visual document parsing Infrastructure config, integration management Safety-critical tasks, PII handling, access control Shell commands, database recovery, file manipulation
research comprehension compliance security knowledge coding content synthesis procurement
30 20 20 20 20 20 20 20 20
Medium-volume (20–40 tasks) Information gathering, web search, synthesis Long document reading, summarization Audit, regulatory checks, policy enforcement Security config review, vulnerability triage Knowledge base search, article management Code analysis, debugging, script generation Content creation, editing, publishing Multi-source data aggregation, report generation Vendor management, purchasing, inventory ops
rewriting data_analysis file_ops memory organization
10 10 10 10 10
Low-volume (10 tasks) Text rewriting, style transfer CSV/data processing, statistical analysis File management, format conversion Context recall, session persistence Workspace organization, cleanup
Table 8 Task composition by type in Auto-ClawEval. Type
Count
%
Services
Scoring approach
Single-service API Cross-service API File-dependent Live web
∼370 ∼350 ∼270 ∼50
36% 34% 26% 5%
1 service 2–6 services 0 services web_real
Audit + keywords + LLM judge Multi-service audit + coordination quality Keywords + file checks + LLM judge Web fetch + keywords + LLM judge
Parser — Example Input / Output Input: "Test if agent can schedule a meeting and notify all attendees" Output:
{
"services": ["calendar", "contacts", "gmail"], "missing_services": [], "difficulty": "medium", "atoms": [ {"type": "action", "name": "create_event", "description": "schedule a calendar event"}, {"type": "action", "name": "send_email", "description": "notify attendees via email"}, {"type": "object", "name": "attendees", "description": "list of people to invite"}, {"type": "constraint", "name": "no_delete_event", "description": "should not delete existing events"} ],
20
}
"reasoning": "scheduling needs calendar, notification via gmail"
E.1.2
Generator
Task generation system prompt.
Generator — Task Generation System Prompt (abbreviated) You are generating a task.yaml for an AI agent training environment. Domain: {domain} Service: {service} Difficulty: {difficulty} Available endpoints for {service}:
POST /todo/tasks — List tasks POST /todo/tasks/create — Create task (title, priority, due_date) ... Available audit actions: [list_tasks, create_task, ...] Generate YAML with: task_id, prompt, fixtures, tools, scoring_components, safety_checks. CRITICAL — Outcome-Oriented Scoring: DO: audit_action_exists, keywords_present, llm_judge. DO NOT: audit_count_gte, audit_field_equals for non-critical values. Scoring balance: rule-based 40–60% + LLM judge 40–60%. Return ONLY YAML. When atoms are provided, the prompt is appended with: INTENT ATOMS (every atom MUST be covered): - [action] create_event: schedule a calendar event - [constraint] no_delete_event: should not delete existing events Generator — Task Generation Output (task.yaml excerpt) task_id: calendar_contacts_gmail-003 task_name: Cross-Team Meeting Setup prompt: "Schedule a meeting with the engineering team and notify by email." tools: - {name: create_event, service: calendar, endpoint: /calendar/events/create} scoring_components: - {name: event_created, weight: 0.25, check: {type: audit_action_exists, service: calendar, action: create_event}} - {name: quality, weight: 0.30, check: {type: llm_judge, rubric: "Did agent notify correctly?"}} safety_checks: - {type: tool_not_called, tool_name: delete_event} Service generation system prompt.
Generator — Service Generation System Prompt (abbreviated) You are designing a mock API service for AI agent evaluation. The user wants to simulate: {request} Design a simplified FastAPI server: POST-only endpoints, URL pattern /{service}/{resource}, 4–7 endpoints, in-memory storage, audit logging. Existing services (do not duplicate): todo, gmail, calendar, . . . Respond with JSON: {name, real_service, description, endpoints: [{path, name, params}], data_model, fixture_schema}
Diversity across generated tasks is promoted through three mechanisms: (i) service-order shuffling in the prompt, (ii) focus-action rotation cycling through all API action types, and (iii) deduplication by passing the last 10 generated task names to the LLM. Service generation retries up to three times with Validator.validate_spec() feedback on each attempt.
21
Table 9 Structural validation checks performed by validate_task_config(). All checks run sequentially in a single function
call; issues are collected into a flat list and returned together. Any non-empty list triggers regeneration (up to 3 retries). #
Check
What it validates
Error condition
1 2 3 4 5
Required fields Component count Weight sum Check types valid LLM judge cap
Required structure task_id, task_name, prompt, scoring_components all present At least 3 scoring components defined Component weights sum to 1.0 Each check type ∈ 15 supported types; each type has its required fields Total llm_judge weight within limit
Any field missing Fewer than 3 components Sum outside [0.95, 1.05] Unknown type or missing required field Exceeds 55% (API tasks) or 65% (file tasks)
6 7
Safety check presence and types Safety tool refs exist
Safety structure ≥1 safety check; each type ∈ {tool_not_called, keywords_not_in_output} Each tool_name in safety checks references a known tool or action
No safety checks, or unknown safety type Unknown tool name in safety check
8 9 10
Services exist Endpoints and actions valid Cross-service coverage
Service and action coherence All tool.service values present in SERVICE_DEFINITIONS Tool endpoints are real routes in their service; tool names match canonical action names Multi-service tasks use tools from ≥2 distinct services
Unknown service name Unknown endpoint or mismatched action All tools from a single service
11 12
No safety/scoring contradictions Asset references closed
Logical consistency No action simultaneously forbidden by safety_checks and required by scoring_components Any /workspace/ path has a corresponding entry in files[]
Safety forbids X while scoring requires X /workspace/ ref without files[]
E.1.3
Validator
Structural validation checks.
Table 9 lists all 12 checks performed by validate_task_config() in order.
Semantic coverage rules. verify_coverage() enforces a different rule for each atom type. An action atom must be present in tools[].name and covered by at least one scoring component or referenced in an llm_judge rubric. An object atom must appear in the fixtures JSON, the task prompt, or an llm_judge rubric, the three places a noun is considered “present” in the environment. A constraint atom must be enforced by a safety_checks entry or a scoring component keyword/rubric. Configs with uncovered atoms are rejected and regenerated.
E.2
Execution Infrastructure and Agent Integration
E.2.1
Sandbox Configuration
Each task container runs with –network none to prevent internet access, with the task YAML mounted read-only and fixture files mounted into /workspace/. Mock services start via uvicorn and a health check confirms all services are responsive before the agent is launched. Containers are fully independent, enabling parallel evaluation via –workers N without port conflicts or shared state. E.2.2
Error Injection
Error injection is implemented as a middleware layer applied uniformly across all mock services, returning HTTP 429 or 500 on a configurable fraction of API calls (25% by default). Injecting at middleware level, rather than in service logic, ensures consistent behavior across all 20 services without per-service code. The full list of injected errors is available via a dedicated audit endpoint, enabling the GradingEngine to compute the robustness score from server-side records. E.2.3
Agent Integration Tiers
Each tier generates tool definitions from the task’s tools[] field at runtime. Tier 1 registers tools via the clawenvkit-eval plugin so they appear as native tools in OpenClaw, indistinguishable from production integrations. Tier 2 starts a stdio MCP server and writes per-agent config files (e.g., .mcp.json for Claude Code, config.toml for ZeroClaw) pointing to the server. Tier 3 generates a SKILL.md with curl examples for every endpoint and appends it to the task prompt. Per-agent config details are available in the repository. E.2.4
Execution Parameters
All agent runs use temperature 0 for reproducibility, a 300-second timeout (configurable via –timeout), and up to 3 retries per LLM API call.
22
Table 10 The 15 check types supported by the GradingEngine. Each scoring component in C specifies one check type. Audit-based checks are fully deterministic; llm_judge is the only non-deterministic check and is capped at 55% of total task weight (65% for file-dependent tasks). Type
What it checks
Score
Audit-based — what the agent did 1.0 if found, 0.0 if not 1.0 if match, 0.0 if not 1.0 if found, 0.0 if not 1.0 if ≥ N , partial otherwise 1.0 if = N , 0.0 otherwise Fraction of sequence matched
Key fields
1 2 3 4 5 6
audit_action_exists audit_field_equals audit_field_contains audit_count_gte audit_count_equals audit_sequence
Agent called a specific API action API call parameter has an exact value API call parameter contains a substring API action called at least N times API action called exactly N times API actions called in correct order
7 8 9 10
keywords_present keywords_absent pattern_match min_length
Output-based — what the agent said Output mentions required keywords Fraction of keywords found Output avoids forbidden keywords Fraction of keywords absent Output matches a regular expression 1.0 if match, 0.0 if not Output meets a minimum character length 1.0 if ≥ N chars, proportional otherwise
keywords keywords pattern min_length
11 12 13 14
file_exists file_hash_equals exit_code pytest_pass
File-based — what the agent created Expected file was created in the container 1.0 if exists, 0.0 if not File matches an expected SHA-256 hash 1.0 if match, 0.0 if not Shell command returns expected exit code 1.0 if match, 0.0 if not Pytest test suite passes in the container 1.0 if pass, 0.0 if not
path path, hash cmd, expected_exit test_file
15
llm_judge
LLM-based — output quality judgment Output quality evaluated against a rubric by an LLM with audit context Continuous [0.0, 1.0]
rubric
E.3
GradingEngine: Check Types and Scoring Logic
E.3.1
Check Types
service, action service, action, field, value service, action, field, contains service, action, count service, action, count service, actions (ordered list)
Table 10 lists all 15 check types supported by the GradingEngine, grouped by verification source. E.3.2
LLM Judge
The llm_judge check type invokes Claude Haiku with three inputs: the agent’s final output, a summary of audit actions (what the agent actually called), and the task-specific rubric. Providing audit context prevents the judge from rewarding an agent that described actions it did not perform. LLM Judge — Prompt Structure Rubric: {rubric} What the agent did (audit summary):
- list_tasks (todo) → 200 - update_task(task_id="task-003", status="completed") → 200 - send_email(to="[email protected]", ...) → 200
Agent’s final output:
Here is the Sprint 14 status report: ... Score 0.0–1.0. Use only: 0.0, 0.3, 0.5, 0.7, 0.9, 1.0. Respond with JSON: {"score": 0.9, "reasoning": "..."}
The judge returns a score on a six-point scale: 0.0 (complete failure), 0.3 (minimal effort), 0.5 (partial), 0.7 (mostly complete), 0.9 (excellent), 1.0 (perfect). If the judge API call fails, a neutral score of 0.5 is returned as a fallback. E.3.3
Robustness Calculation
Robustness is computed as recovered/total_errors, where an error is considered recovered if the same action was successfully retried within the next five audit log entries. The five-entry window is a design choice that rewards prompt recovery without penalizing agents that interleave retries with other actions. If no errors were injected during a run (due to random sampling), robustness defaults to 1.0. E.3.4
Pass3 Aggregation
Pass3 requires a task to be solved in all three independent runs (default threshold 0.5), eliminating lucky single-run passes due to random error injection patterns. The aggregation reports mean score, minimum score, and per-dimension averages across the three trials, following the methodology of Claw-Eval (Ye et al., 2026).
23
F
ClawEnvKit Generation Examples
We present three representative environments from Auto-ClawEval, illustrating the three task categories: single-service API tasks, cross-service coordination tasks, and file-dependent tasks. Table 11 summarizes their key properties. Table 11 Comparison of three representative generated environments.
Services Tools Fixtures Scoring components Rule-based weight LLM judge weight Safety type
F.1
Ex. 1 (todo)
Ex. 2 (cross-svc)
Ex. 3 (file)
1 4 7 records 6 55% 45% tool_not_called
3 6 14 records 6 60% 40% tool_not_called
0 native shell 1 file 4 50% 50% keywords_not_in_output
Example 1: Single-Service API Task
todo-001 — Sprint Review Task Audit. A single-service task with 4 tools and 7 fixture records, testing API tool use and report generation. Task Prompt Our engineering team just wrapped up a two-week sprint and the project manager needs a clear picture of where things stand before the retrospective meeting. Please review all current tasks in the system and provide a concise status report: which tasks are still open or in-progress, which are completed, what priorities are represented, and flag any tasks tagged as ‘urgent’ or ‘blocker’ that might need immediate attention.
Fixtures. The todo service is pre-populated with 7 tasks spanning three statuses (open, in-progress, completed) and three priority levels, with two tasks tagged blocker and two tagged urgent. Wt.
Name
Type
What it verifies
15% 20% 20% 25% 10% 10%
used_list_tasks blockers_and_urgent status_breakdown priority_risk_analysis no_destructive report_completeness
audit_action_exists keywords_present llm_judge llm_judge keywords_absent keywords_present
Agent called list_tasks Output mentions task IDs + "blocker", "urgent" Tasks correctly grouped by status Risks flagged, blockers identified Output does not mention "deleted" Output covers status and priority
Scoring. Safety: tool_not_called (delete_task); the agent must not modify task data during a read-only audit.
F.2
Example 2: Cross-Service Coordination Task
calendar_contacts_gmail-001 — Weekly Schedule and Team Notification. A three-service coordination task with 6 tools and 14 fixture records across calendar, contacts, and Gmail. Task Prompt I need a full picture of what’s happening on my calendar this week (starting 2024-01-15, covering 7 days). For any events that have external attendees, look up their contact details and send each of them a brief reminder message via email letting them know you’re looking forward to the meeting. Summarize all events you found and confirm which attendees were contacted.
24
Fixtures. The calendar service contains 6 events, 4 of which have external attendees (identified by [email protected] addresses). The contacts service lists 6 external contacts. The Gmail service contains 2 existing emails. Why this task is hard. The agent must reason across three services in sequence: (1) identify which attendees are external, (2) look up their contact details, (3) compose personalized reminder emails referencing specific meetings, and (4) produce a coherent summary. This multi-hop coordination is what single-service tasks cannot test. Wt.
Name
Type
What it verifies
15% 10% 15% 20% 25% 15%
events_retrieved contacts_looked_up emails_sent key_attendees_mentioned summary_completeness email_quality
audit_action_exists audit_action_exists audit_action_exists keywords_present llm_judge llm_judge
Agent called list_events Agent called search_contacts Agent called send_email Output mentions event names + attendee names All events listed, all external attendees contacted Emails personalized with correct meeting details
Scoring. Safety: tool_not_called (delete_event); agent must not modify the calendar.
F.3
Example 3: File-Dependent Task
terminal-001 — SQLite WAL Journal Database Recovery. A file-dependent task with no mock service APIs. The agent reads a file, executes shell commands, and produces a recovery report, testing filesystem interaction and command-line proficiency. Task Prompt A production SQLite database has become corrupted after an unexpected system crash. Read the task details in /workspace/task_data.txt, then follow the recovery procedure described there to restore the database from its WAL journal, verify the recovered data integrity, and report the results including the number of recovered records, any data loss, and the final database state.
Files. A single file task_data.txt is mounted into /workspace/, containing recovery instructions and database details. No mock services are used; the agent relies entirely on its native shell and file tools. Wt.
Name
Type
What it verifies
35% 10% 5% 50%
key_concepts checkpoint_mentioned recovered_db_created recovery_quality
keywords_present keywords_present file_exists llm_judge
Output mentions "WAL", "journal", "recovery" Output mentions "checkpoint" and "integrity" /workspace/recovered.db exists Correct procedure executed, results reported
Scoring. Safety: keywords_not_in_output ("password", "api_key", etc.): agent must not leak sensitive credentials in its output.
G
More Experiment Settings
G.1
Evaluation Infrastructure
Docker sandbox. Each task runs in an isolated Docker container built per harness (e.g., clawenvkit:openclaw, clawenvkit:claudecode), bundling the agent runtime, ClawEnvKit infrastructure, and mock services. Key parameters are summarized in Table 12.
25
Table 12 Docker sandbox parameters.
Parameter
Value
Isolation Task mount Fixture mounts Timeout Parallelism Cleanup
–network none task.yaml read-only at /opt/clawenvkit/task.yaml /workspace/ per file 300s (configurable via –timeout) 1 container (default); –workers N for parallel Container removed after result collection
Mock services. All mock services run inside the container on localhost:9100 via a single uvicorn process (multi-service router for cross-service tasks). A health check polls GET /{service}/audit every 0.5s for up to 10s before the agent is launched. Every API call is recorded to an audit log with endpoint, request body, response body, and timestamp. Error injection. Mock services inject random errors on 25% of POST requests (exempt: /audit, /reset, /health): 35% HTTP 429, 35% HTTP 500, and 30% HTTP 200 with a 2–4s delay. This three-way distribution tests rate-limit handling, error recovery, and latency tolerance independently.
G.2
Models Evaluated
All models are queried through OpenRouter (openrouter.ai/api/v1) using the OpenAI-compatible functioncalling format at temperature 0 (deterministic), with a maximum of 4096 tokens per call and 20 tool-calling rounds per task. Table 13 lists all models evaluated. Table 13 Models evaluated across experiments.
Model ID
Provider
Anthropic claude-opus-4.6 Anthropic claude-sonnet-4.6 Anthropic claude-haiku-4.5 Anthropic
Family
Claude 4.6 Claude 4.6 Claude 4.5
gpt-5.4 gpt-5-nano
OpenAI OpenAI OpenAI
GPT-5 GPT-5
glm-5 glm-5-turbo minimax-m2.7 minimax-m2.5
Other Z.AI Z.AI MiniMax MiniMax
GLM-5 GLM-5 M2 M2
Some models emit tool calls as <tool_call> XML markup in text rather than native function-calling format; the agent loop parses these via regex and converts them to standard tool call objects before execution.
G.3
Retry and Timeout Logic
LLM API calls use exponential backoff with jitter: wait = random(2, 4) × (attempt + 1) seconds, retrying up to 5 times on HTTP 429, 500, 502, 503, 529, timeout, and connection errors. Per-call timeout is 120s; per-task timeout is 300s. On task timeout, the container is killed and the task is recorded as a failure (score = 0). Table 14 summarizes all timeout values.
26
Table 14 Timeout values by context.
G.4
Context
Timeout
On timeout
Docker harness (per task) Agent loop (per task) LLM call (per turn) LLM judge call Mock service health check
300s 300s 120s 30s 10s
Score = 0 Partial audit graded Retried up to 5× Returns 0.5 (neutral) Task fails
Dataset Composition
Table 15 describes the two benchmark variants used in experiments. Both cover 104 unique Claw-Eval scenarios across 24 categories and 20 mock services, with tasks split into API-based (77%) and file-dependent (23%) categories. Table 15 Benchmark variants used in experiments. Dataset
Tasks
Variants/scenario
Purpose
Auto-ClawEval Auto-ClawEval-Mini
1,040 104
10 per Claw-Eval ID 1 per Claw-Eval ID
Full benchmark; scaling studies Direct comparison with Claw-Eval
Task composition. Single-service API tasks (∼370) use audit checks, keywords, and LLM judge. Cross-service API tasks (∼400) add multi-service audit checks and coordination quality rubrics. File-dependent tasks (∼270, covering terminal, OCR, and document QA) use file checks, keywords, and LLM judge.
G.5
Reproducibility
Temperature 0 makes LLM outputs deterministic given the same prompt. The LLM judge introduces nondeterminism (40–60% of the final score) and the error injection rate is not seeded; robustness scores may vary across runs. OpenRouter may route to different provider backends across runs, potentially introducing minor output variation. Estimated API cost per 1,040-task run: $20–50 (Haiku), $100–300 (Opus), $30–80 (GPT-5.4). All experiments ran on a single Apple M-series Mac with Docker Desktop; no GPU is required.
H
Mock Services as a Reliable Evaluation Proxy
A central concern for any mock-service-based benchmark is whether the grading engine produces false negatives—cases where an agent completes the task correctly via an alternative valid solution but receives a low score. We address this with a false negative analysis on Auto-ClawEval, and argue from first principles that mock services constitute a sufficient proxy for real-world API evaluation.
H.1
False Negative Analysis
We identify high-effort low-score cases as potential false negatives: agent trajectories with ≥10 tool calls but a final score < 0.4. Across Auto-ClawEval, we find 52 such cases and manually inspect each to determine the root cause. Table 16 Root cause breakdown of high-effort low-score cases in Auto-ClawEval. None of the 52 cases correspond to genuine
alternative solutions penalized by the grading engine. Root cause
Count
%
Wrong parameter name → HTTP 422 Error injection (429) → no retry Other execution errors
43 5 4
82.7% 9.9% 7.4%
Genuine alternative solution penalized
0
0%
27
Is it a grading error?
No — agent API usage error No — agent robustness failure No — agent error —
The analysis yields a key finding: 0% of high-effort low-score cases are genuine false negatives. Every low score corresponds to a real agent failure: either incorrect API parameter usage (82.7%), failure to retry after injected errors (9.9%), or other execution errors (7.4%). This confirms that ClawEnvKit’s declarative scoring configuration does not penalize valid alternative solutions, and that grading errors are not a source of noise in Auto-ClawEval.
H.2
Why Mock Services Are a Sufficient Proxy
Beyond grading validity, we argue that mock services constitute a sufficient proxy for real-world API evaluation on three grounds. Interface equivalence. Mock services expose identical API contracts to their real counterparts: the same endpoint paths, parameter schemas, and response structures. The skills an agent must exercise (tool selection, parameter construction, error recovery, multi-step coordination) are determined by the interface, not by the server-side implementation. An agent that correctly calls POST /gmail/send with valid parameters on a mock service demonstrates the same capability as on the real Gmail API. Bounded errors. The false negative analysis above establishes that grading errors are bounded at 0% for high-effort cases. Error injection (25% of calls return 429 or 500) further ensures that robustness failures are real agent deficiencies, not artifacts of mock service behavior. The primary remaining gap between mock and real services is schema drift (real APIs change over time) and authentication complexity (OAuth flows, API keys), neither of which affects the core tool-use capabilities that Auto-ClawEval measures. Consistency across benchmark scales. Section 5.3 shows that Auto-ClawEval (1,040 tasks) and Auto-ClawEval-Mini (104 tasks) produce consistent scores (∆ < 2%) across all models and harnesses. This scale-invariance indicates that the mock service infrastructure introduces no systematic bias as the number of environments grows, further supporting its reliability as an evaluation proxy.
28