Manuscript Offprint
arXiv:2611.01834LegoEnv: Self-Evolving Agentic Environments via Modular Recombination
Zhuosong Jiang , Chengxu Wu , Junqi Liu , Yujie Yi , Siqin Wang , Zhixuan Huang , Jinqian Jiang , Lijun Xiao , Jianxun Li , Yongyang Pan , Jieran Wang , Shiqi Shen , Fei Liu , Xinyu Lin
National University of Singapore Peking University University of California, Santa Cruz
Shanghai Jiao Tong University Tencent Emory University
Abstract
LLM agents learn by interacting with environments, yet existing environments are designed for specific tasks and fail to generalize to new ones. Recent methods automate environment construction with LLMs. However, they generate each environment from scratch, neither reusing parts shared across environments nor carrying a fix from one environment to the rest. To address this, we propose a new paradigm of evolving environment atoms, which composes environments from reusable atoms (intent, rule, data and server) and evolves the atoms when an environment fails to give reliable feedback (e.g., an application lacks a tool the task requires). To instantiate this paradigm, we introduce LegoEnv, which builds 5,465 verified environments over 223 applications, and one round of evolution raises the share of solvable environments from 71.6% to 88.3%. On AutomationBench, SFT on these environments lifts Qwen3.6-27B from 16.0% to 32.0%, and RL with their verifiers lifts Qwen3.8-27B from 37.6% to 40.3%. Further analyses show steady gains with corpus size, transfer to unseen applications, and failures concentrated in a few shared root causes.
1 Introduction
LLM agents have demonstrated remarkable performance across a wide range of domains, spanning from resolving complex issues in software engineering (Jimenez et al., 2023; Yang et al., 2024) and solving competition mathematics (DeepSeek-AI, 2025) to discovering new knowledge and algorithms (Lu et al., 2024; Novikov et al., 2025). Agents acquire these abilities by interacting with environments, where the agent acts, the environment responds, and the response becomes supervision, as trajectories for supervised fine-tuning (Zeng et al., 2023; Prabhakar et al., 2025; Xu et al., 2025; Pan et al., 2024) or rewards for reinforcement learning (DeepSeek-AI, 2025; Qian et al., 2025; Feng et al., 2025; Dong et al., 2025; Jiang et al., 2025; Da et al., 2025). Since an agent can learn only what its environments can pose and check, the construction and quality of environments are among the most critical steps in agent training.
Existing environments are typically designed for a specific task, with the data, the tools and the verifier built together to provide high-quality feedback (Zhou et al., 2023; Xie et al., 2024; Yao et al., 2024; Trivedi et al., 2024; Shepard and Salimans, 2026; Wu et al., 2025). However, they fail to generalize when the task becomes more complex or moves to a new scenario (e.g., an office agent’s task shifts from paying invoices in an accounting system to onboarding employees in an HR system), since different tasks require different data, tools, operations and checks. Therefore, scalable construction that quickly builds high-quality environments for diverse tasks is essential for training agents effectively and efficiently.
To scale environments up, recent methods use LLMs to generate the tools, data and tasks of each environment (Fang et al., 2025; Song et al., 2026; Tu et al., 2026; Wang et al., 2026b; Xu et al., 2026a; Zeng et al., 2026; Dong et al., 2026). However, different environments share common parts (e.g., a mail application for sign-off and an approval policy) while differing in task-specific ones (e.g., invoice records versus employee profiles). Generating each environment from scratch thus neither reuses the experience gained from previous constructions nor avoids the cost of rebuilding the shared parts (Table 9).
Based on the above insights, we propose a new
Equal contribution. Work done during an internship at Tencent. Code: https://github.com/JazyJiang/LegoEnv. Correspondence: zhuosong.jiang@u.nus.edu.
We count one environment per concrete task, together with the applications, data and verifier it requires. For example, paying the approved invoices of a month is one environment, and escalating the overdue invoices on the same applications is another.

Figure 1: Overview of LegoEnv. Four pools of atoms are collected from real sources and composed into skeletons under structural constraints. A builder agent turns each skeleton into an environment, which is admitted only after its verifier passes a correctness check. Environments that yield no successful trajectory are diagnosed, and the result files an issue against an atom and waits for its fix, supplements a pool, or revises the builder; tasks that are merely hard are kept.
paradigm, evolving atoms for scalable agentic environments, which builds environments from smaller reusable units. Specifically, we decompose an environment into four kinds of atoms, namely intent (goal to achieve), rule (business rule to follow), data (records for the agent to use), and server (tool provider), and construct each environment by composing them. When an environment fails, we trace the failure to the atoms behind it and evolve those atoms, so that every later environment built from them benefits. This paradigm brings three benefits. (1) Scalability. New environments are created by composing existing atoms, so their number grows with the compositions rather than with manual effort. (2) Self-evolution. Atom sets and atom properties will be evolved from construction failures, therefore allowing later environments to avoid the same errors and reuse the new atoms. (3) Real-world grounding. Every atom is initially collected from a real source, so the environments reflect real-world needs and carry practical value.
Based on this paradigm, we develop LegoEnv (Figure 1) for business domains. LegoEnv first collects atoms from real sources and recombines them under structural constraints. It then builds an environment from each valid composition and keeps it only if its verifier passes a correctness test. Finally, it diagnoses the environments that no teacher can solve and evolves the atoms that cause the failures, which raises the share of solvable envi-
ronments from 71.6% to 88.3% in one round. We evaluate LegoEnv on AutomationBench (Shepard and Salimans, 2026), MCP-Mark (Wu et al., 2025) and BFCL v4 (Patil et al., 2025). Supervised fine-tuning on our environments improves Qwen3.6-27B by 100% and Qwen3.5-27B by 625% on AutomationBench, outperforming four public synthesis pipelines by 37% to 87% under the same budget. Using the environments' verifiers as rewards for reinforcement learning further improves Qwen3.8-27B by 7.2%.
Our contributions are threefold:
-
We propose evolving atoms, a paradigm that composes environments from reusable intent, rule, data, and server atoms, which are collected from real sources and evolve over time.
-
We instantiate it as LegoEnv, which tests every verifier before use and attributes each environment fault to an atom, a verifier kind or a builder instruction, so that one repair reaches every environment that shares it.
-
We show that the environments improve three bases on AutomationBench, with supervised gains that transfer to MCP-Mark, exceed four public pipelines at equal budget, and serve unchanged as rewards for reinforcement learning.
Environment Verification. Existing pipelines decide whether an agent completes a task with an LLM judge, alone or with rules (Wang et al., 2026b; Dong et al., 2026; Xi et al., 2026; Xu et al., 2026b, 2025), or by comparing final states (Fang et al., 2025; Tu et al., 2026; Xu et al., 2026a; Cai et al., 2025), assuming the verifier itself is correct; a wrong verifier silently rewards wrong behavior. Zhang et al. (2026a) repair synthetic web environments, but only to make tasks solvable. In contrast, LegoEnv tests each verifier before use: it must fail on the initial world and pass on the reference solution, or its environment is discarded.
Environment Evolution. To constantly give reliable feedback across tasks on different agents, environment evolution has become a promising solution. Some work evolves what is asked: Dong et al. (2026) generate tasks where the current policy fails, and Guo et al. (2025) and Liu et al. (2026) co-evolve a task generator with the learner. Alternatively, some work fixes errors by repairing each
failed environment individually (Zeng et al., 2026; Zhang et al., 2026a). In contrast, LegoEnv traces each failure to a verifier defect, a world defect, or task difficulty, and repairs the shared atoms or composition vocabulary behind it, so every environment built from them inherits the fix (§3.5).
3 Method
In this section, we first introduce two key basic components in LegoEnv, i.e., shared condition form (§3.1) for environment evolution; and atoms (§3.2), the basic unit for environment construction. Based on the components, LegoEnv builds each environment through three progressive checks. First, atoms are composed into a skeleton, which is dropped if the atoms are incompatible (§3.3). Second, a builder turns the skeleton into an environment, and revises it until its verifier passes a correctness test (§3.4). Third, a teacher attempts the task; if every attempt fails, a diagnosis agent finds the cause and either repairs an atom, revises the builder, supplements a pool, or keeps the task as a hard one (§3.5). Figure 1 shows the loop and Figure 2 illustrates the atoms and the constraints between them.
3.1 Shared condition form
To build LegoEnv and achieve the three progressive checks, we first introduce a shared condition form. A condition is a triple : an entity , a scope , which is a conjunction of comparisons on the columns of , and a cardinality . It holds when the number of rows of that satisfy meets . For example, a server lets an invoice be paid only if it has been approved: , . A verifier asserts, in the same form, that no overdue payable was left unescalated: , . The conditions a server checks before running a tool, the constraints on its tables, and the assertions of a verifier are all written in this one form and evaluated by one evaluator. A verifier can therefore say exactly what a server can check, no more and no less. Appendix A gives the full grammar.
3.2 Atoms
Each atom is collected once from a real source and reused. Appendix C gives the schema and a real instance of each.
Server atoms. A server atom is one application, compiled from its open-source code: its entities,

Figure 2: The four atom pools on one worked example (pay invoices over 10,000 only if approved). The brown links, numbered 1–4, are the four structural constraints of §3.3.
the tools that operate on them, the condition each tool checks before it runs, and the message the tool returns when the condition fails, which is what the agent sees when it hits a wall. From 467 open-source repositories we obtain 384 usable servers (Appendix B); the environments in this paper use 223 of them.
Data atoms. A data atom is a public dataset with a card that records which tables have enough rows, the type of each column, and which kinds of rule the columns can support: a threshold needs a numeric column, a deadline a date. Worlds are seeded from these datasets, never from generated records. Of 336 datasets, 281 have a usable table.
Intent atoms. An intent atom specifies a single write that must, or must not, happen on a server. It is defined by an operation kind, a recurring class of write across applications such as create invoice or post message; each server's card says which of its tools implement which kinds. Whether an intent was fulfilled is checked by one or more verifier kinds, templates over the condition form of §3.1 such as mail sent with terms or row cell equals; the verifier kinds were grounded in public documentation of business workflows (Appendix D). Across our corpus, the vocabulary covers 110 operation kinds and 45 verifier kinds. The vocabulary is not fixed: it expands whenever new servers introduce
write operations that no kind yet expresses (§3.5). An operation kind can carry a rule if its verifier kinds can tell valid records from invalid ones.
Rule atoms. A rule atom is a business rule the agent has to find and follow: an archetype, the kind of rule it is (threshold routing, exclusion, deadline escalation, tiering, approval chain, budget quota, reconciliation, compliance flag), a shape free of names and numbers, an optional exception that overrides the rule for some records (unless marked urgent, unless approved by a manager), and a carrier, the place in the world that holds the rule's text, such as a policy worksheet, a document, a mail or a note on a record. The request names the carrier and never restates the rule.
3.3 Structural atom recombination
The collected atoms of the four families form the atom pool, and the closed sets of names they draw on, the operation kinds, verifier kinds, archetypes and carriers of §3.2, form the vocabulary . A skeleton picks from the pool a candidate workflow (Figure 3): up to six servers , the intent atoms , a rule atom and a dataset . Its parts must satisfy four structural constraints:
- Tool coverage. Every intent's operation kind is implemented by a tool of its server in .
- Carrier hosting. Some server in hosts the carrier of .
- Schema compatibility. supports the archetype of .
- Rule attachment. Some intent in carries .
A validator enforces tool coverage and carrier hosting on the skeleton. Schema compatibility is checked against the dataset card while the environment is built, and rule attachment is a requirement placed on the builder (§3.4); Appendix H measures how often random compositions satisfy each.
Seed mining. These constraints make uniform sampling from the atom pool inefficient: of 10,000 skeletons assembled at random from the pool, with kinds drawn from those each server implements, 13–14% satisfy all four constraints (1.6–1.7% if every intent must carry the rule), and with the rule atom removed all 10,000 pass (Appendix H). We therefore mine seed skeletons from real workflow descriptions. Given a business domain and the atom vocabulary , which fixes the valid operation

Figure 3: Structural recombination. A seed skeleton mined from a procedure is edited by replacing an intent , replacing the rule or adding an atom; the candidate is kept only if constraints 1–4 of Figure 2 all hold, and duplicates are removed.
kinds, verifier kinds, archetypes and carriers, a mining agent reads public automation templates and operating procedures (Appendix M), maps each step onto , and writes one skeleton per workflow together with the page it came from:
The validator checks each and returns the violated constraint to the agent, which revises the skeleton until it is accepted. This produced 1,394 seed skeletons.
Recombination. Seeds are then edited within their domain: an intent atom is replaced, the rule atom is replaced, or an atom is added, with the rest of the skeleton held fixed; the result must again pass the validator, and duplicates are removed. Recombination produced 3,400 further skeletons.
3.4 Building and admission
A builder agent (brief in Appendix J) turns into an environment : an initial world seeded from , with the rule's text in its carrier and distractor records that satisfy the rule in all but one clause; a request ; a verifier , positive assertions for what must be written and negative ones for what must be left untouched; and a reference solution , a sequence of tool calls. The builder runs its program, reads the errors and
revises until passes the verifier correctness check below and is admitted.
Write for the world after the reference solution and for with one write step removed. is admitted when
Conditions (1) and (2) exclude a verifier that is already satisfied or that nothing can satisfy; (3) and (4) exclude assertions that test nothing; (5) makes every attempt start from the same world. An admitted makes a later failure informative: if passes and a capable agent does not, the fault is in the task or in the agent, and says which, unless itself over-specifies the request (§5.2).
3.5 Rollouts and self-evolution
To test whether an admitted environment can be solved, a teacher agent attempts it times. Trajectories that accepts enter the supervised corpus, and itself is the reward for reinforcement learning (§5.4).
When an environment yields no successful trajectory, a diagnosis agent reads , the reference solution and the failed trajectories to find the cause, and one of four pathways follows, the four return arrows of Figure 1:
-
Repair an atom. An atom is at fault, for example a server lacks the tool for a required write. An issue is filed against the atom and its patch reaches every later environment built from it.
-
Revise the builder. demands something that neither nor states, or a verifier kind is read two ways. The builder's instructions or the vocabulary are revised, not one environment.
-
Supplement the pool. The failure exposes a missing capability. A server, an operation kind or a dataset is added to the atom pool.
-
Keep as a hard task. The environment is sound and the teacher cannot solve it. It is kept unchanged as a hard task.
| Model | AutomationBench | MCP-Mark | BFCL v4 | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Fin. | HR | Mkt. | Ops. | Sal. | Sup. | Avg | File | GitH. | Not. | Play. | Post. | Avg | Srch. | Mem. | MultT. | NonL. | Live | Rel. | Irr. | Avg | |
| Open-weight | |||||||||||||||||||||
| DeepSeek-V4.1-Flash | 54.0 | 58.0 | 57.0 | 60.0 | 46.0 | 32.0 | 51.2 | 61.7 | 48.9 | 79.5 | 57.0 | 84.5 | 66.1 | 54.0 | 79.8 | 51.5 | 86.4 | 78.4 | 93.8 | 64.7 | 65.2 |
| GLM-5.3-Flash | 49.0 | 48.0 | 54.0 | 55.0 | 45.0 | 34.0 | 47.5 | 82.5 | 83.7 | 88.4 | 74.0 | 89.3 | 83.5 | 79.5 | 78.9 | 55.9 | 85.8 | 79.9 | 79.7 | 71.4 | 72.2 |
| DeepSeek-V4-Pro° | 16.0 | 22.0 | 36.0 | 30.0 | 25.0 | 29.0 | 26.3 | 76.7 | 45.7 | 72.3 | 71.0 | 92.9 | 71.7 | 72.0 | 80.4 | 53.4 | 85.0 | 77.2 | 85.9 | 70.1 | 69.7 |
| DeepSeek-V4-Flash‡ | 30.0 | 32.0 | 35.0 | 47.0 | 23.0 | 27.0 | 32.3 | 75.8 | 68.5 | 56.3 | 42.0 | 86.9 | 65.4 | 76.0 | 72.5 | 52.6 | 87.0 | 78.1 | 89.1 | 43.9 | 66.4 |
| GLM-5.2° | 28.0 | 30.0 | 27.0 | 34.0 | 16.0 | 19.0 | 25.7 | 75.0 | 75.0 | 44.6 | 76.0 | 84.5 | 70.1 | 71.5 | 66.2 | 56.9 | 88.5 | 79.4 | 92.2 | 76.4 | 69.0 |
| Kimi-K2.6° | 18.0 | 12.0 | 15.0 | 24.0 | 12.0 | 14.0 | 15.8 | 69.2 | 62.0 | 72.8 | 76.0 | 85.7 | 72.7 | 65.0 | 55.7 | 62.1 | 85.2 | 78.1 | 62.5 | 88.4 | 67.9 |
| HY-3 | 8.0 | 10.0 | 12.0 | 17.0 | 16.0 | 16.0 | 13.2 | 70.8 | 71.7 | 71.4 | 65.0 | 90.5 | 73.2 | 60.5 | 71.2 | 56.6 | 84.9 | 78.7 | 85.9 | 70.2 | 66.7 |
| Qwen3.5-379B | 7.0 | 5.0 | 2.0 | 10.0 | 7.0 | 5.0 | 6.0 | 24.2 | 51.1 | 37.5 | 64.0 | 64.3 | 46.5 | 61.5 | 60.9 | 64.0 | 89.5 | 83.1 | 87.5 | 85.4 | 69.5 |
| Ours | |||||||||||||||||||||
| Qwen3.5-27B § | 4.0 | 3.0 | 1.0 | 4.0 | 4.0 | 3.0 | 3.2 | 45.0 | 40.2 | 33.0 | 55.0 | 53.6 | 44.9 | 59.3 | 56.6 | 63.3 | 89.1 | 82.5 | 87.5 | 83.2 | 67.6 |
| + LegoEnv (SFT) | 23.0 | 24.0 | 26.0 | 32.0 | 19.0 | 15.0 | 23.2 | 61.7 | 62.0 | 67.9 | 46.0 | 61.9 | 60.0 | 65.0 | 72.3 | 54.1 | 84.6 | 79.2 | 90.6 | 75.0 | 67.6 |
| Qwen3.6-27B § | 19.0 | 17.0 | 10.0 | 21.0 | 11.0 | 18.0 | 16.0 | 40.0 | 45.7 | 43.8 | 20.0 | 67.9 | 42.5 | 27.9 | 61.0 | 65.0 | 89.0 | 83.8 | 75.0 | 84.6 | 63.0 |
| + LegoEnv (SFT) | 31.5 | 34.5 | 31.0 | 39.0 | 31.0 | 25.0 | 32.0 | 65.8 | 65.2 | 71.4 | 64.0 | 75.0 | 68.5 | 67.5 | 73.8 | 65.1 | 86.4 | 79.9 | 81.3 | 79.4 | 72.4 |
| Qwen3.8-27B † | 42.5 | 44.0 | 32.5 | 45.0 | 34.0 | 27.5 | 37.6 | 63.3 | 71.7 | 80.4 | 68.0 | 85.7 | 73.2 | 65.4 | 78.2 | 59.1 | 86.0 | 79.9 | 76.6 | 79.7 | 71.0 |
| + LegoEnv (RL) | 45.5 | 47.5 | 37.0 | 45.5 | 36.0 | 30.0 | 40.3 | 71.7 | 75.0 | 83.0 | 74.0 | 85.7 | 77.6 | 67.4 | 79.6 | 59.8 | 86.3 | 80.6 | 84.4 | 79.4 | 72.0 |
Table 1: Main results. All numbers are measured by us: AutomationBench harness 1.0.6, API toolset, 50 steps, one rollout per task, 600 tasks (6 domains × 100); MCP-Mark, 127 tasks over five MCP servers; BFCL v4, all seven official categories plus the official weighted average. Our rows' AutomationBench cells are means of one to four evaluations (Table 4), the baselines' single evaluations. °Served through a commercial gateway that drops the model's reasoning between tool calls, which lowers some models by several points (Appendix E); not comparable with the other rows. MCP-Mark and BFCL v4 cells are means of four evaluations per model, whose standard deviations are in Table 5. Rel. is computed over only 16 tasks and should be read as noise. Open-weight baselines are run at their highest available reasoning setting. †teacher that collected the SFT trajectories and the base for RL; §students; ‡the model that ran every stage of the pipeline, including building the environments. Each LegoEnv row is one checkpoint evaluated on all three suites: Qwen3.5-27B trained on the round-1+3k corpus (5,229 trajectories), Qwen3.6-27B on the round-2 corpus (6,110), Qwen3.8-27B at GRPO step 200 (§4.1, Appendix E). The round-3 corpus (34.8%) scores higher on AutomationBench but lower on MCP-Mark and BFCL v4; GRPO step 200 (40.3%) scores 1.9 above step 240 on AutomationBench and 1.9 and 1.6 below it on MCP-Mark and BFCL v4 (Appendix E).
Through this loop both the atoms and the vocabulary for composing them evolve from round to round (Figure 4b).
Mining, building, diagnosis, repair and onboarding are all done by agents; Appendix H runs each stage on the model that builds the environments.
4 Experiments
4.1 Setup
Evaluation. We evaluate on AutomationBench (Shepard and Salimans, 2026), 600 cross-application business workflows over simulated SaaS applications that share no application with our environments (Appendix F); MCP-Mark (Wu et al., 2025), 127 tasks over five MCP servers, none among our atoms; and BFCL v4 (Patil et al., 2025), seven function-calling categories including Irrelevance, declining a call that should not be made. We run all three under one protocol (Appendix E).
Models. We train three base models of the same 27B family, a weak, a mid and a strong starting point: their zero-shot scores on AutomationBench are 3.2%, 16.0% and 37.6%, against 51.2% for the strongest system we measured, DeepSeek-V4.1-Flash.
Qwen3.8-27B also serves as the teacher: every supervised trajectory is sampled from it, so the supervised results on Qwen3.5-27B and Qwen3.6-27B are distillation from a 37.6% model, not from a stronger external one.
Corpora. The corpus grew over the evolution rounds of §3.5, and each round's corpus contains the previous one (Figure 4b): round 0 covers the environments that can be built on the unrepaired server atoms, round 1 adds those the server repairs made buildable, round 2 adds the environments built from skeletons that carry a rule atom, a family every environment has from this round on, and round 3 adds the repaired environments. Between rounds 1 and 2 we also draw 1k, 2k and 3k of the round-2 additions, stratified by mining batch. The teacher rolls out every environment eight times, a trajectory is kept only if the verifier accepts the final world, and every corpus keeps at most three trajectories per environment, so all points lie on one scale. The round-2 corpus spans 223 applications,


Figure 4: (a) AutomationBench pass rate as the corpus grows. Qwen3.6-27B rises to 34.8% and Qwen3.5-27B to 26.3%. Bands are evolution rounds. (b) What each round adds; brown marks a value that grew, grey repeats the previous value. Operation kinds are counted under the final taxonomy and rule archetypes are the closed vocabulary introduced in round 2 (Appendix L).
99.5% of its trajectories cross two or more, and Appendix G profiles it.
4.2 Main results
Table 1 compares each base with its trained checkpoint on the three suites; every base improves on AutomationBench, the two SFT bases on MCP-Mark, and the two stronger bases on BFCL v4.
Imitation. The gains on AutomationBench are largest for the two weaker bases: Qwen3.5-27B goes from 3.2% to 23.2% and Qwen3.6-27B from 16.0% to 32.0%. Per task, Qwen3.5-27B wins 129 and loses 9 against its base, and Qwen3.6-27B wins 127 and loses 30.
Reward. Qwen3.8-27B is the teacher, so imitation alone is not expected to improve it; the verifiers of the environments, written by DeepSeek-V4-Flash (DeepSeek-AI et al., 2026) when it built them, can. Used unchanged as a binary reward for GRPO, these verifiers move Qwen3.8-27B from 37.6% to 40.3% (two evaluations each; 65:53 and 78:58 wins to losses per task), a modest gain on a base that already scores well above DeepSeek-V4-Flash, the model that wrote the verifiers, at 32.3%.
Transfer. On MCP-Mark, none of whose servers is among our atoms, Qwen3.5-27B gains 15.1 points and Qwen3.6-27B 26.0; on BFCL v4, Qwen3.6-27B gains 9.4 on the official average, most of it on Search (27.9 to 67.5), where its base score was an outlier. Two BFCL categories move the other way, its Irrelevance and Qwen3.5-27B's multi-turn score, and Qwen3.8-27B's MCP-Mark gain is within noise (§5.5).
| Environments | AB | vs. ours | MCP-Mark | BFCL v4 |
|---|---|---|---|---|
| LegoEnv (round 2) | 29.5 | — | 72.4±1.9 | 68.2±0.6 |
| LegoEnv (round 1) | 25.5 | 47:69 | ||
| AWM (Wang et al., 2026b) | 21.5 | 30:76 | 63.8±2.3 | 67.6±0.6 |
| EnvFactory (Xu et al., 2026a) | 20.4 | 33:81 | 63.8±2.8 | 66.3±0.8 |
| EnvScaler (Song et al., 2026) | 16.8 | 24:97 | 61.4±1.3 | 63.8±0.4 |
| EnvCraft (Zeng et al., 2026) | 15.8 | 27:100 | 59.1±1.7 | 67.8±0.7 |
| Qwen3.6-27B, no training | 16.0 | 27:105 | 42.5±2.7 | 63.0±0.4 |
Table 2: One teacher, student, recipe and budget of 2,229 trajectories; only the environments differ. AB: AutomationBench pass rate, mean of one to four evaluations (Table 4). vs. ours: per-task wins:losses against the round-2 row, first evaluation of each. MCP-Mark, BFCL v4: mean ± s.d. of four evaluations (round-1 arm not evaluated). Environment counts, teacher pass rates, turns and token counts per arm are in Table 6.
4.3 Environments from other pipelines
Table 2 holds the training side fixed and varies the environments across four public pipelines with programmatic verifiers. In each, Qwen3.8-27B samples eight attempts per task, the pipeline's own verifier keeps the passing ones (at most three per task), and a random 2,229 are drawn; Qwen3.6-27B is trained on each set as in Appendix E. Our row is a random 2,229 of the round-2 corpus, with the round-1 corpus as a second row. Our round-2 sample scores 29.5%, 8.0 points above the best of the four (AWM, 21.5%) and 13.7 above the lowest (EnvCraft, 15.8%), and the paired counts point the same way on every row: 76:30 against AWM, 81:33 or better against the other three pipelines; on the two transfer suites the same arm leads every pipeline arm by 8.6 points or more on MCP-Mark, about three standard deviations, and by 0.4 to 4.4 on BFCL v4, where the two smallest margins are within noise. The round-1 corpus, 2,229 trajectories built before rules became an atom family, scores 25.5%, so the round that added the rule-atom family is worth 4.0 points at fixed size. The arm drawn from the most environments also scores highest (Table 6), but the arms also differ in turns, tokens and teacher pass rate, and the pipelines in provenance and composition; the comparison bounds the joint effect, not any one atom family.
5 Analysis
5.1 Scaling the atom pool
Figure 4a varies the number of trajectories, and both bases improve as the corpus grows: Qwen3.6-27B rises from 16.0% to about 35%, the last four points within three points of one another; Qwen3.5-27B rises from 3.2% to 26.3%, with one dip of half a point. Figure 4b shows what each round added.
5.2 One round of evolution
Of the 4,662 environments admitted in round 2 (built from 4,794 skeletons), 71.6% yield at least one accepted trajectory in eight teacher attempts; we call this fraction the yield. The 1,324 that yield nothing look no different from the rest: they passed admission and read as reasonable tasks, so a judge-based pipeline would discard them. Admission (§3.4) rejects a vacuous or already-satisfied verifier; one that demands a value the request never states passes, because the reference solution carries it, and only a rollout exposes it.
With an executable verifier and a reference solution the fault can be located, and it is of three kinds. Half (52%) are verifier faults: the verifier demands something neither the request nor the rule asked for. A quarter (23%) are world faults: a record, a column or a tool the task needs is missing or inconsistent. The rest (25%) are sound environments the teacher cannot solve. Repairing the first two kinds and re-sampling lifts the yield from 71.6% to 88.3%; the third kind is left unchanged. After re-sampling, 220 of the repaired environments still yield nothing and form the exploration set of §5.4. The 997 repairs reduce to 33 root causes (Appendix K), almost all of them a verifier kind read two ways or a builder instruction, so a fix made once reaches every environment that shares it.
5.3 Replacing real atoms with generated ones
§4.3 varied the whole pipeline. Here we replace one atom family at a time and keep everything else fixed: the builder and its prompt, admission, the teacher and the acceptance rule, the length filter and the SFT recipe. The cohort is the 1,326 en-


Figure 5: GRPO on Qwen3.8-27B with the task verifiers as a binary reward. Left: training reward, the fraction of 96 sampled episodes the verifier accepts. Right: AutomationBench pass rate at seven checkpoints against the 37.6% base; from step 40 on it stays in a 38.3–41.3% band while reward keeps climbing.
| Atoms | AutomationBench | MCP-Mark | BFCL v4 | env. | tokens |
|---|---|---|---|---|---|
| real | 30.3±0.7 | 54.9±2.7 | 66.3±0.4 | 859 | 7.6M |
| generated data | 28.0±0.9 | 51.2±2.8 | 65.2±0.4 | 759 | 7.3M |
| generated intents | 27.3±0.5 | 52.4±2.5 | 65.9±0.9 | 748 | 7.4M |
Table 3: One atom family replaced by model-generated content, the rest fixed; Qwen3.6-27B trained on 885 trajectories per arm. Means ± standard deviation over four evaluations; one training run per arm. env.: distinct environments among the 885 trajectories; tokens: supervised tokens.
environments of the round-2 sample that were built from skeletons; the other 812 predate the skeleton of §3.3. Real atoms keeps their original trajectories. Generated data replaces every table the builder read from a real dataset with one a model writes from the table's schema card (column names, types, at most 5,000 rows), without seeing a real row. Generated intents replaces the 3,471 mined intent atoms with ones a model writes from each server's capability card and the closed vocabulary of operation and verifier kinds, without access to the mined pages; the skeletons are then recombined to the same count with the rule atoms unchanged.
Supply falls first. The builder admits 94.3% of the generated-data environments and 84.9% of the generated-intent ones, and the teacher solves 67.0% and 67.8% of those at least once; the control is at 100% by construction. The two arms end with 965 and 885 trajectories, so all three are cut to 885 and trained alike. Real atoms lead on every suite (Table 3): by 2.2 and 3.0 points on AutomationBench, above its evaluation spread of 0.5–0.9; by 3.7 and 2.6 on MCP-Mark, within its spread of 2.5–2.8; and by 1.1 and 0.4 on BFCL v4, the second within noise. Within BFCL the lead comes from multi-turn use and irrelevance detection; the generated arms do better on memory and web search.
Two differences in content are measured, though neither is isolated as a cause. Generated intents shift the operations the corpus exercises: among the 3,471 pool positions, create_record rises from 51 to 371, delete_or_archive_row from 11 to 332, and helpdesk_reply_or_update falls from 302 to 34. And at equal size both generated arms cover fewer distinct environments, 759 and 748 against 859, because fewer environments yield and more contribute a second trajectory; supervised tokens differ by under 3.5%. Each arm is one training run, and the MCP-Mark and BFCL v4 scores of this batch were evaluated later than those of Table 1, so they are compared only within the table.
5.4 The same verifiers as a reward
Nothing is rebuilt for reinforcement learning: the verifier that admitted an environment is the reward. We run GRPO (Shao et al., 2024) on the unmodified Qwen3.8-27B over 1,516 environments: those the teacher solved in one to six of eight attempts, and the 220 it never solved, kept as an exploration set (Appendix E profiles both). Replaying the reference solutions earns the reward; a no-op policy does not. The pass rate moves from 37.6% into a 38.3–41.3% band by step 40 and oscillates there (Figure 5); every checkpoint scores above the base and, paired against it, wins more tasks than it loses, but the margins are not significant at the 5% level (Appendix E) and no ordering inside the band is established, so we report the band, with Table 1 giving one point in it. Training reward keeps rising after the pass rate flattens: the policy goes on fitting the training environments after the transferable part has been learned.
5.5 What the training does not buy
Three results go the other way or not at all. First, BFCL's Irrelevance falls by five to eight points after supervised training on both weaker bases: every request asks for at least one write and the negative assertions forbid particular writes, not the request as a whole, so nothing rewards declining. Second, Qwen3.5-27B's BFCL multi-turn score falls from 63.3 to 54.1. Third, the MCP-Mark gain on Qwen3.8-27B is not established: 73.2 to 77.6 against standard deviations of 3.7 and 2.6.
6 Conclusion
Synthesising an agentic environment is the easy half; the hard half is finding out that it is wrong: 28% of ours yielded no trajectory, three quarters of those because the environment was at fault. Atoms make such a defect attributable to a reusable unit, and a tested verifier makes a failed rollout a bug report, not a mystery. One round of the loop raised the yield from 71.6% to 88.3%; the environments trained three bases, with supervised gains that transfer to MCP-Mark, outscored four public pipelines at equal budget, and as a reward moved a strong base from 37.6% to 40.3%.
Limitations
Four limits bound what this paper shows.
Scope of the comparison. The controlled comparison of §4.3 covers the four public pipelines that release executable environments with programmatic verifiers; pipelines that release only trajectories, or whose verifier is an LLM judge, cannot be sampled by the same teacher under the same acceptance rule, so they are compared by provenance (Table 9, our reading of those papers) rather than trained on. The ablation of §5.3 replaces the data atoms or the intent atoms with model-generated ones on the skeleton-built part of the round-2 sample while holding the rest fixed; each arm is one training run, so it indicates rather than isolates the contribution of a family, and the comparison of §4.3 still bounds the joint effect of provenance and composition. What comes from real sources is the atoms: the request, the verifier and the reference solution are still written by the builder model, and the diagnosis is made by an agent.
Statistical resolution. No training run is repeated. AutomationBench scores of the models we serve are means of one to four evaluations of 600 tasks (Table 4), so we report per-task paired counts and a band for reinforcement learning; MCP-Mark and BFCL v4 scores are means of four evaluations whose standard deviations reach 3.7 and 0.8 points (Table 5), and we treat differences of that size as unresolved. The paired counts of Table 2 point one way on every row; the closest, 69:47 for round 2 against round 1, is at the 5% level (two-sided sign test ). For reinforcement learning, one of the 18 pairings of a checkpoint evaluation with a base evaluation is significant at that level.
Evaluation protocol. Three baselines served through a commercial gateway (DeepSeek-V4-Pro, GLM-5.2 and Kimi-K2.6, in Table 1) are evaluated with the model's reasoning dropped between tool calls, which lowers some models by several points (5.3 for Qwen3.8-27B and 6.5 for DeepSeek-V4-Flash when we measured both ways, Table 4). Every claim of the paper compares rows evaluated under one protocol; the ranking of our rows against those three is not established.
Breadth. Yields are given for one evolution round, on one 27B family, in English business domains; the loop is not shown to converge.
References
Shihao Cai, Runnan Fang, Jialong Wu, Baixuan Li, Xinyu Wang, Yong Jiang, Liangcai Su, Liwen Zhang, Wenbiao Yin, Zhen Zhang, Fuli Feng, Pengjun Xie, and Xiaobin Wang. 2025. AutoForge: Automated environment synthesis for agentic reinforcement learning. arXiv preprint arXiv:2512.22857.
Jeff Da, Clinton Wang, Xiang Deng, Yuntao Ma, Nikhil Barhate, and Sean Hendryx. 2025. Agent-RLVR: Training software engineering agents via guidance and environment rewards. arXiv preprint arXiv:2506.11425.
DeepSeek-AI. 2025. DeepSeek-R1: Incentivizing reasoning capability in LLMs via reinforcement learning. arXiv preprint arXiv:2501.12948.
DeepSeek-AI, Anyi Xu, Bangcai Lin, Bing Xue, Bingxuan Wang, Bingzheng Xu, et al. 2026. Deepseek-v4: Towards highly efficient million-token context intelligence. arXiv preprint arXiv:2606.19348.
Guanting Dong, Junting Lu, Junjie Huang, Wanjun Zhong, Longxiang Liu, Shijue Huang, Zhenyu Li, Yang Zhao, Xiaoshuai Song, Xiaoxi Li, Jiajie Jin, Yutao Zhu, Hanbin Wang, Fangyu Lei, Qinyu Luo, Mingyang Chen, Zehui Chen, Jiazhan Feng, Ji-Rong Wen, and Zhicheng Dou. 2026. Agent-World: Scaling real-world environment synthesis for evolving general agent intelligence. arXiv preprint arXiv:2604.18292.
Guanting Dong, Hangyu Mao, Kai Ma, Licheng Bao, Yifei Chen, Zhongyuan Wang, Zhongxia Chen, Jiazhen Du, Huiyang Wang, Fuzheng Zhang, Guorui Zhou, Yutao Zhu, Ji-Rong Wen, and Zhicheng Dou. 2025. Agentic reinforced policy optimization. arXiv preprint arXiv:2507.19849.
Runnan Fang, Shihao Cai, Baixuan Li, Jialong Wu, Guangyu Li, Wenbiao Yin, Xinyu Wang, Xiaobin Wang, Liangcai Su, Zhen Zhang, Shibin Wu, Zhengwei Tao, Yong Jiang, Pengjun Xie, Fei Huang, and Jingren Zhou. 2025. Towards general agentic intelligence via environment scaling. arXiv preprint arXiv:2509.13311.
Jiazhan Feng, Shijue Huang, Xingwei Qu, Ge Zhang, Yujia Qin, Baoquan Zhong, Chengquan Jiang, Jinxin
Chi, and Wanjun Zhong. 2025. ReTool: Reinforcement learning for strategic tool use in LLMs. arXiv preprint arXiv:2504.11536.
Chuanzhe Guo, Jingjing Wu, Sijun He, Yang Chen, Zhaoqi Kuang, Shilong Fan, Bingjin Chen, Siqi Bao, Jing Liu, Hua Wu, Qingfu Zhu, Wankiang Che, and Haifeng Wang. 2026. MEnvAgent: Scalable poly-glot environment construction for verifiable software engineering. arXiv preprint arXiv:2601.22859.
Jiacheng Guo, Ling Yang, Peter Chen, Qixin Xiao, Yinjie Wang, Xinzhe Juan, Jiahao Qiu, Ke Shen, and Mengdi Wang. 2025. GenEnv: Difficulty-aligned co-evolution between LLM agents and environment simulators. arXiv preprint arXiv:2512.19682.
Dongfu Jiang, Yi Lu, Zhuofeng Li, Zhiheng Lyu, Ping Nie, Haozhe Wang, Alex Su, Hui Chen, Kai Zou, Chao Du, Tianyu Pang, and Wenhu Chen. 2025. Verl-Tool: Towards holistic agentic reinforcement learning with tool use. arXiv preprint arXiv:2509.01055.
Carlos E. Jimenez, John Yang, Alexander Wettig, Shunyu Yao, Kexin Pei, Ofir Press, and Karthik Narasimhan. 2023. SWE-bench: Can language models resolve real-world GitHub issues? arXiv preprint arXiv:2310.06770.
Bo Liu, Simon Yu, Yiding Jiang, Ao Qu, Andrew Zhao, Zichen Liu, Junsu Kim, Zijian Zhou, Seungone Kim, Tongzheng Ren, Mickel Liu, Hanfei Yu, Zhaorun Chen, Weiyan Shi, Paul Pu Liang, Luke Zettlemoyer, Yejin Choi, and Natasha Jaques. 2026. SPADE: Self-play in adaptive synthetic executable environments. arXiv preprint arXiv:2608.19197.
Chris Lu, Cong Lu, Robert Tjarko Lange, Jakob Foerster, Jeff Clune, and David Ha. 2024. The AI scientist: Towards fully automated open-ended scientific discovery. arXiv preprint arXiv:2408.06292.
Nex-AGI Team, Yuxuan Cai, Lu Chen, Qiaoling Chen, Yuyang Ding, Liwen Fan, Wenjie Fu, Yufei Gao, Honglin Guo, Pinxue Guo, Zhenhua Han, Zhengfu He, Hanglei Hu, Kai Hu, Shengjia Hua, Tianyu Huai, Baodai Huang, Li Ji, Zhen Jiang, and 46 others. 2025. Nex-N1: Agentic models trained via a unified ecosystem for large-scale environment construction. arXiv preprint arXiv:2512.04987.
Alexander Novikov, Ngân Vũ, Marvin Eisenberger, Emilien Dupont, Po-Sen Huang, Adam Zsolt Wagner, Sergey Shirobokov, Borislav Kozlovskii, Francisco J. R. Ruiz, Abbas Mehrabian, M. Pawan Kumar, Abigail See, Swarat Chaudhuri, George Holland, Alex Davies, Sebastian Nowozin, Pushmeet Kohli, and Matej Balog. 2025. AlphaEvolve: A coding agent for scientific and algorithmic discovery. arXiv preprint arXiv:2506.13131.
Jiayi Pan, Xingyao Wang, Graham Neubig, Navdeep Jaitly, Heng Ji, Alane Suhr, and Yizhe Zhang. 2024. Training software engineering agents and verifiers with SWE-Gym. arXiv preprint arXiv:2412.21139.
Zhihong Pan, Jiyuan He, Kai Zhang, Yupeng Han, Ze Liu, Yuze Zhao, Yongcong Ye, and Zhaohua Yang. 2026. Meta-Task: Turning terminal task synthesis into a terminal task for scalable agent training. arXiv preprint arXiv:2607.27929.
Shishir G. Patil, Huanzhi Mao, Fanjia Yan, Charlie Cheng-Jie Ji, Vishnu Suresh, Ion Stoica, and Joseph E. Gonzalez. 2025. The Berkeley function calling leaderboard (BFCL): From tool use to agentic evaluation of large language models. In Proceedings of the 42nd International Conference on Machine Learning.
Xiaoxuan Peng, Kaiqi Zhang, Xinyu Lu, Boxi Cao, Yaojie Lu, Hongyu Lin, Xianpei Han, and Le Sun. 2026. LiteCoder-Terminal: Scaling long-horizon terminal environments for learning language agents. arXiv preprint arXiv:2605.29559.
Akshara Prabhakar, Zuxin Liu, Ming Zhu, Jianguo Zhang, Tulika Awalgaonkar, Shiyu Wang, Zhiwei Liu, Haolin Chen, Thai Hoang, Juan Carlos Niebles, Shelby Heinecke, Weiran Yao, Huan Wang, Silvio Savarese, and Caiming Xiong. 2025. APIGen-MT: Agentic pipeline for multi-turn data generation via simulated agent-human interplay. arXiv preprint arXiv:2504.03601.
Cheng Qian, Emre Can Acikgoz, Qi He, Hongru Wang, Xiusi Chen, Dilek Hakkani-Tür, Gokhan Tur, and Heng Ji. 2025. ToolRL: Reward is all tool learning needs. arXiv preprint arXiv:2504.13958.
Zhihong Shao, Peiyi Wang, Qihao Zhu, Runxin Xu, Junxiao Song, Xiao Bi, Haowei Zhang, Mingchuan Zhang, Y. K. Li, Y. Wu, and Daya Guo. 2024. DeepSeekMath: Pushing the limits of mathematical reasoning in open language models. arXiv preprint arXiv:2402.03300.
Daniel Shepard and Robin Salimans. 2026. AutomationBench. arXiv preprint arXiv:2604.18934.
Xiaoshuai Song, Haofei Chang, Guanting Dong, Yutao Zhu, Ji-Rong Wen, and Zhicheng Dou. 2026. EnvS-caler: Scaling tool-interactive environments for LLM agent via programmatic synthesis. arXiv preprint arXiv:2601.05808.
Zexu Sun, Bokai Ji, Hengyi Cai, Shuaiqiang Wang, Lei Wang, Guangxia Li, and Xu Chen. 2026. AgentSkiller: Scaling generalist agent intelligence through semantically integrated cross-domain data synthesis. arXiv preprint arXiv:2602.09372.
Harsh Trivedi, Tushar Khot, Mareike Hartmann, Ruskin Manku, Vinty Dong, Edward Li, Shashank Gupta, Ashish Sabharwal, and Niranjan Balasubramanian. 2024. AppWorld: A controllable world of apps and people for benchmarking interactive coding agents. arXiv preprint arXiv:2407.18901.
Dunwei Tu, Hongyan Hao, Hansi Yang, Yihao Chen, Yi-Kai Zhang, Zhikang Xia, Yu Yang, Yueqing Sun, Xingchen Liu, Furao Shen, Qi Gu, Hui Su, and Xunliang Cai. 2026. ScaleEnv: Scaling environment synthesis from scratch for generalist interactive tool-use agent training. arXiv preprint arXiv:2602.06820.
Bowen Wang, Dunjie Lu, Junli Wang, Tianyi Bai, Shixuan Liu, Zhipeng Zhang, Haiquan Wang, Hao Hu, Tianbao Xie, Shuai Bai, Dayiheng Liu, Que Shen, Junyang Lin, and Tao Yu. 2026a. CUA-Gym: Scaling verifiable training environments and tasks for computer-use agents. arXiv preprint arXiv:2605.25624.
Zhaoyang Wang, Canwen Xu, Boyi Liu, Yite Wang, Siwei Han, Zhewei Yao, Huaxiu Yao, and Yuxiong He. 2026b. Agent World Model: Infinity synthetic environments for agentic reinforcement learning. arXiv preprint arXiv:2602.10090.
Jinbiao Wei, Qianran Ma, Yilun Zhao, Xiao Zhou, Kangqi Ni, Guo Gan, and Arman Cohan. 2026. OpenComputer: Verifiable software worlds for computer-use agents. arXiv preprint arXiv:2605.19769.
Yifan Wu, Yiran Peng, Yiyu Chen, Jianhao Ruan, Zijie Zhuang, Cheng Yang, Jiayi Zhang, Man Chen, Yenchi Tseng, Zhaoyang Yu, Liang Chen, Yuyao Zhai, Bang Liu, Chenglin Wu, and Yuyu Luo. 2026. AutoWebWorld: Synthesizing infinite verifiable web environments via finite state machines. arXiv preprint arXiv:2602.14296.
Zijian Wu, Xiangyan Liu, Xinyuan Zhang, Lingjun Chen, Fanqing Meng, Lingxiao Du, Yiran Zhao, Fanshi Zhang, Yaoqi Ye, Jiawei Wang, Zirui Wang, Jinjie Ni, Yufan Yang, Arvin Xu, and Michael Qizhe Shieh. 2025. MCPMark: A benchmark for stress-testing realistic and comprehensive MCP use. arXiv preprint arXiv:2509.24002.
Ziqiao Xi, Shuang Liang, Qi Liu, Jiaqing Zhang, Letian Peng, Fang Nan, Meshal Nayim, Tianhui Zhang, Rishika Mundada, Lianhui Qin, Biwei Huang, and Kun Zhou. 2026. C-World: A computer use agent environment creator. arXiv preprint arXiv:2601.06328.
Zikai Xiao, Jianhong Tu, Chuhang Zou, Yuxin Zuo, Zhi Li, Peng Wang, Bowen Yu, Fei Huang, Junyang Lin, and Zuozhu Liu. 2026. WebWorld: A large-scale world model for web agent training. arXiv preprint arXiv:2602.14721.
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. 2024. OSWorld: Benchmarking multimodal agents for open-ended tasks in real computer environments. arXiv preprint arXiv:2404.07972.
Minrui Xu, Zilin Wang, Mengyi Deng, Zhiwei Li, Zhicheng Yang, Xiao Zhu, Yinhong Liu, Boyu Zhu, Baiyu Huang, Chao Chen, Heyuan Deng, Fei Mi, Lifeng Shang, Xingshan Zeng, and Zhijiang Guo.
2026a. EnvFactory: Scaling tool-use agents via executable environments synthesis and robust RL. arXiv preprint arXiv:2605.18703.
Siyuan Xu, Shiyang Li, Xin Liu, Tianyi Liu, Yixiao Li, Zhan Shi, Zixuan Zhang, Zilong Wang, Qingyu Yin, Jianshu Chen, Tuo Zhao, and Bing Yin. 2026b. Controllable and verifiable tool-use data synthesis for agentic reinforcement learning. arXiv preprint arXiv:2604.09813.
Zhangchen Xu, Adriana Meza Soria, Shawn Tan, Anurag Roy, Ashish Sunil Agrawal, Radha Poovendran, and Rameswar Panda. 2025. TOUCAN: Synthesizing 1.5M tool-agentic data from real-world MCP environments. arXiv preprint arXiv:2510.01179.
John Yang, Carlos E. Jimenez, Alexander Wettig, Kilian Lieret, Shunyu Yao, Karthik Narasimhan, and Ofir Press. 2024. SWE-agent: Agent-computer interfaces enable automated software engineering. arXiv preprint arXiv:2405.15793.
Xiao-Wen Yang, Weiyi Xu, Wen Da, Hang Xu, Canwei Li, Hong-Jie You, Pusen Dong, Yucheng Zeng, Zhaokai Luo, Yu-Feng Li, Yao Hu, and Mu Chuan. 2026. CompoWorld: Compositional environment scaling for general agents. arXiv preprint arXiv:2609.33665.
Shunyu Yao, Noah Shinn, Pedram Razavi, and Karthik Narasimhan. 2024. τ-bench: A benchmark for tool-agent-user interaction in real-world domains. arXiv preprint arXiv:2406.12045.
Aohan Zeng, Mingdao Liu, Rui Lu, Bowen Wang, Xiao Liu, Yuxiao Dong, and Jie Tang. 2023. AgentTuning: Enabling generalized agent abilities for LLMs. arXiv preprint arXiv:2310.12823.
Yirong Zeng, Shen You, Jinhang Feng, Yufei Liu, Xiao Ding, Yutai Hou, Hao Cong, Yuxian Wang, Wu Ning, Wang Xu, and Bibo Cai. 2026. EnvCraft: Synthesizing executable environments in agentic RL for claw-like agent. arXiv preprint arXiv:2609.05576.
Chenghao Zhang, Yuxi Cheng, Saisai Hu, Canran Xiao, Yikai Mao, and Dan Roth. 2026a. Training needs trustworthy worlds: Verified synthetic web environments for agent learning. arXiv preprint arXiv:2608.21898.
Ziyun Zhang, Zezhou Wang, Xiaoyi Zhang, Zongyu Guo, Jiahao Li, Bin Li, and Yan Lu. 2026b. InfiniteWeb: Scalable web environment synthesis for GUI agent training. arXiv preprint arXiv:2601.04126.
Shuyan Zhou, Frank F. Xu, Hao Zhu, Xuhui Zhou, Robert Lo, Abishek Sridhar, Xianyi Cheng, Tianyue Ou, Yonatan Bisk, Daniel Fried, Uri Alon, and Graham Neubig. 2023. WebArena: A realistic web environment for building autonomous agents. arXiv preprint arXiv:2307.13854.
A The condition form
A condition is . The scope is a conjunction of clauses col op v over 14 comparison operators (equality, order, membership, string containment and prefix/suffix, null tests). A value v is a literal (a scalar or a non-scalar constant); a reference into a namespace ( , the call's arguments; , the caller; ; ); another column of the same row, or an arithmetic expression over such columns; a sub-query nested at most two deep; or the value a column held before the operation ( ). The cardinality is one of , , with exists and not exists as aliases. The condition appears at six sites (read filter, entity constraint, precondition, post-condition, provides and graph locator); each fixes which namespaces are visible, a precondition may refer to and a verifier assertion only to the final world, and how an undecidable comparison is treated. Guards and verifier assertions share one representation, one operator table and one evaluator; entity constraints and read filters use the same representation through adapters. Over the 384 usable servers, 19,895 precondition clauses use this form.
B Compiling a server atom
A code-reading agent is given one open-source repository and a contract of about 1,200 lines. The contract fixes closed vocabularies for what it may write (7 operation types, 15 effect kinds, 6 entry kinds, 3 edge relations), gives for each a counter-example of what does not belong, and requires absence to be stated: an empty list means “I checked”, a missing field means “I did not look”. The agent describes every entity with its columns and constraints, every operation with its parameters and the effects it leaves in the database, every precondition the code enforces and the message the code returns when it is violated, and the relations between operations. A validator scores the description against the contract and returns every violation, with the way to fix it, to the same agent session, and the agent revises. Of the 467 repositories, 433 reached this stage; over four feedback rounds, 395 met the contract; after the second stage, 384 are usable.
A second stage translates the description into an executable specification. Everything that can be translated mechanically is, and every default the translator had to guess is listed for the agent to confirm; what requires reading code again, such as which entity is the account table and which guards are real, is decided by the agent. The runtime serves each specification as a set of tools over a relational state, dispatching by operation family, and evaluates every precondition through the condition form of Appendix A. The usable set holds 384 servers with 25,689 tools; of the 14,810 tools with a precondition, one lacks a refusal message.
C Atom schemas
Intent atom. {app, kind, pos, neg, check_kinds}: the server (app in the skeleton schema, service in the compiler contract); the operation kind, which must be implemented by a write tool of that server; the number of positive and of negative predicates the verifier should carry for this atom (1–30 and 0–30); and the verifier kinds a verifier may use. A real instance:
INTENT ATOM — REAL INSTANCE {"app": "espocrm", "kind": "attach_note_or_task", "pos": 4, "neg": 3, "check_kinds": ["note_or_task_exists", "note_or_task_not_exists"]
Rule atom. {archetype, carrier, has_exception, rule_shape}. The shape is at most 400 characters and may contain no proper names and no number of two or more digits; the validator rejects the numbers, the builder instructions forbid the names. A real instance:
RULE ATOM — REAL INSTANCE {"archetype": "approval_chain", "carrier": "notes_field", "has_exception": true, "rule_shape": "Record-correction requests with disputed factual fields enter amendment review; denied cases receive a hearing-option task instead of silent closure."}
Carriers and the servers registered to host them: policy sheet (budibase, directus, ledgersmb), policy document (outline, paperless-ngx), policy mail (stalwart), note field (14 servers, among them CRM, ticketing, accounting and booking applications), card description (vikunja, mantisbt, planka), pinned channel message (zulip).
Data atom. A dataset directory with a card: for each table with at least eight rows, the type of every column (numeric, date, category, text, identifier, contact, entity), its number of distinct values and sample values; the rule archetypes the table can support; size and licence.
Server atom. The executable specification: entities with columns and constraints, tools with parameters, effects and preconditions in the condition form, an account entity with a known credential, and, once onboarded, a capability card mapping operation kinds to the tools that implement them.
Skeleton. {domain, apps, deliverable_atoms, rule_atoms, dataset_hint, n_intents, n_distractors_min, predicate_budget, chain, source}: the business domain; one to six servers (one to five in the corpus); the intent atoms (deliverable_atoms in the code) and one to three rule atoms (one or two in the corpus); the dataset, left empty when the builder is to choose one from the pool, with schema compatibility checked then (§3.3); the number of intents, the minimum number of distractor records, the number of predicates (8–60) the verifier must at least reach, which 95.3% of skeletons do; a one-line chain from reading the carrier to the last write; and the public URL the skeleton was mined from or the skeleton it was recombined from. The skeleton that the two atoms above belong to, mined from a public page on student-record rights (bookkeeping fields omitted):
SKELETON — REAL INSTANCE {"skeleton_id": "c_mine_education_008", "domain": "education", "source": "web:https://studentprivacy.ed.gov/ferpa", "apps": ["espocrm", "gladys"], "deliverable_atoms": [{"app": "espocrm", "kind": "attach_note_or_task", "pos": 4, "neg": 3, "check_kinds": ["note_or_task_exists"], "note_or_task_not_exists"]}, {"app": "gladys", "kind": "schedule_event", "pos": 3, "neg": 2, "check_kinds": ["event_exists_with", "event_not_exists"]}, "rule_atoms": [{"archetype": "approval_chain", "carrier": "notes_field", "has_exception": true, "rule_shape": "Record-correction requests with disputed factual fields enter amendment review; denied cases receive a hearing-option task instead of silent closure."}], "n_intents": 2, "n_distractors_min": 2, "predicate_budget": 12, "delivery_shape": "per-record actions and auditable follow-up", "chain": ["Read the notes field to learn the applicable rule.", "Compare the source records and skip look-alike exceptions.", "Apply each listed business write to eligible records.", "Leave a concise record of the selected and excluded cases."], "dataset_hint": []}
D Inducing the verifier kinds
To test whether the 45 verifier kinds can be recovered from public documentation of real work, an agent on the model that builds the environments was run over 115 public pages of business-workflow documentation (vendor API references, help centres and procedure documents), several sessions per page. Each session received the condition form of §3.1, the entity and tool metadata of the servers, and one starting page chosen by a coordinator; for nine of the 45 kinds the coordinator also pre-extracted public field names or schema facts from those pages. No session received the 45 kinds or another session's proposals; a scan of all 5,609 input files confirms this. Each session wrote down, for the workflow it read, what would have to hold in the final world, as a named family with a template over the condition form, a quotation from the source and a positive and a negative example.
The sessions produced 1,881 family proposals, 405 of them complete. Judged against the 45 verifier kinds, the proposals are semantically equivalent to all 45; under a strict reading that requires the same generic template rather than a specialisation, 3 of 45 were confirmed in the 14 decisions reviewed, so the strict figure is a lower bound and not an estimate. Of 64 quotations sampled across the 45 kinds, 64 were found verbatim in the cached source page. A coordinator who knew the target vocabulary chose the starting pages, so the result shows that the vocabulary is recoverable from public sources given where to look, not that it would be discovered without guidance.
E Experimental details
Harness. We run the unmodified upstream harness at version 1.0.6 on the public split of 600 scored tasks (six domains × 100: Sales, Marketing, Operations, Support, Finance, HR). Four settings matter for comparability; we fix the hardest of the first three. (i) Toolset: the API toolset, which exposes only api_search, api_fetch and base64_encode, so the agent must discover endpoints and construct requests itself; the benchmark's authors report that its higher-level toolsets usually score higher. (ii) Step budget: the default cap of 50 agent steps; across the audited runs 15.9% of episodes reach it. (iii) Coverage: a single rollout per task, with no best-of-n or majority vote. (iv) Reasoning: the models we serve ourselves (every LegoEnv row, its base, and the baselines DeepSeek-V4.1-Flash, GLM-5.3-Flash, DeepSeek-V4-Flash, HY-3 and Qwen3.5-379B) run from an inference endpoint with thinking enabled, and the unmodified harness keeps the model's reasoning of earlier turns in the conversation; DeepSeek-V4-Pro, GLM-5.2 and Kimi-K2.6 are served through a commercial gateway that rejects the reasoning of earlier turns in the request, so they receive the conversation without it. An earlier configuration of our own gateway dropped it too, and the paragraph Reasoning replay below reports both measurements for the models we serve. We audited the graded tasks behind 24 runs under the earlier configuration and the 45 runs behind Table 4: every pass satisfies assertions_passed == assertions_total, and no episode was aborted by the inference gateway or left with an unresolved request fault.
Suites. AutomationBench poses six domains × 100 tasks over simulated SaaS applications whose REST endpoints the agent must discover, with layered business rules and deliberately misleading records; we use the public split, the API toolset, a cap of 50 steps per task and one rollout, and report the official task_completed_correctly, whose mean over tasks is the pass rate. MCP-Mark's five servers are filesystem, GitHub, Notion, Playwright and PostgreSQL, each task with a curated initial state and a validation script. For BFCL v4 we report all seven official categories (including multi-turn use and long-context memory) and the official weighted average.
Checkpoint selection. Each LegoEnv row of Table 1 is one checkpoint evaluated on all three suites. Qwen3.6-27B reaches 34.8% on AutomationBench with the round-3 corpus but scores lower on MCP-Mark and BFCL v4 (59.1% and 67.9, single evaluations) than the round-2 checkpoint in the table (68.5% and 72.4), so the table reports the latter. For Qwen3.5-27B, the round-2 and round-3 corpora both score 26.3% against 23.2% for the round-1+3k checkpoint in the table; the round-3 checkpoint matches it on MCP-Mark and BFCL v4 (60.6% and 67.6 over three evaluations against 60.0% and 67.6 over four), so the ordering is not established and the table reports the checkpoint evaluated four times. For Qwen3.8-27B, GRPO steps 200 and 240 score 40.3% and 38.3% on AutomationBench (two evaluations each; 65:53 and 56:64 per task against the first base evaluation), 77.6% and 79.5% on MCP-Mark and 72.0 and 73.6 on BFCL v4, step 240 evaluated once there; the MCP-Mark difference is inside the evaluation spread, the BFCL v4 difference of 1.6 favours step 240, and no ordering inside the band is established (§5.4);
(a)

(b)
(c)
(d)

Figure 6: The corpus. (a) Servers per environment; almost every environment spans two or more. (b) Use of each server, ranked; a dozen servers for spreadsheets, mail, chat and boards carry most of the load, as they do in real automation templates. (c) Rule archetypes and carriers over the 4,794 skeletons. (d) The twelve most frequent of the 110 operation kinds.
the table reports step 200, the checkpoint evaluated four times on MCP-Mark and BFCL v4.
Evaluation spread. Every model of Table 1 was evaluated four times on MCP-Mark and on BFCL v4 under the same configuration, and the table reports the means; Table 5 gives the standard deviation of the MCP-Mark pass rate and of the BFCL v4 weighted average. The number of Automation-Bench evaluations behind each checkpoint is listed in Table 4.
Reasoning replay. Served from an inference endpoint with thinking enabled, the unmodified harness keeps the model's reasoning of earlier turns in the conversation; an earlier configuration of our gateway dropped it, as the commercial gateway behind the ° rows of Table 1 does. Table 4 reports both for every checkpoint we serve: the dropped column is one evaluation each under the earlier configuration, the replayed column the evaluations behind Tables 1 and 2. The bases are the most sensitive rows: Qwen3.8-27B gains 5.3 points from the replayed reasoning and DeepSeek-V4-Flash 6.5, the two smaller bases 0.5 and 1.8. The checkpoints trained on our environments move by -0.8 to +8.6 points and the four pipeline arms by -1.7 to +0.1, so every supervised gain and the ordering of Table 2 hold under both protocols, with the lead over the closest pipeline at 3.3 points dropped and 8.0 replayed. The GRPO checkpoints, trained with their reasoning kept, gain 0.3 to 5.2 (3.1 on average), less than their base, so the reinforcement-learning gain is 6.2 points dropped and 2.7 replayed; of the 18 pairings of a checkpoint evaluation with a base evaluation, 16 win more tasks than they lose,
one at the 5% level (step 160 against the second base evaluation, 77:51, ). Scores in the two columns are not comparable with each other, and neither is comparable with published numbers taken under a third configuration.
Baselines. Every baseline in Table 1 is an open-weight model run by us under the harness above, at its highest available reasoning setting, five from our own endpoints and three (°) through a commercial inference gateway; we quote no leaderboard numbers. Our GLM-5.2 score of 25.7% against the 26.2% on the benchmark's public leaderboard is a check that the configuration reproduces the authors'.
Training
SFT. 64 H20 GPUs, 3 epochs, global batch size 32, peak learning rate with cosine decay, 64K sequence length. We export a checkpoint at each epoch boundary and evaluate the last unless stated otherwise. Assistant turns that receive a 4xx tool response are excluded from the loss.
RL. We run GRPO (Shao et al., 2024) on Qwen3.8-27B, initialised from the unmodified base rather than from an SFT checkpoint, so the RL result is not confounded with the supervised one. 128 H20 GPUs (64 training, 64 rollout), group size 8, temperature 1.0, 2 epochs over 1,516 prompts, giving 252 optimisation steps ( 34 h). The reward is exactly the task's programmatic verifier: binary, unshaped, with no reward model, no LLM judge and no auxiliary terms. §5.4 describes the prompt set. Of the 1,516 prompts, 536 (35.4%) exist only because of the round-3 repairs, among them all
| Base | Checkpoint | Dropped | Replayed | n | vs. base |
|---|---|---|---|---|---|
| Qwen3.5-27B | base | 2.7 | 3.2 | 1 | |
| round 0 (1,261) | 5.7 | 10.2 | 1 | ||
| round 1 (2,229) | 9.0 | 16.2 | 1 | ||
| 3,229 | 16.0 | 21.0 | 1 | ||
| 4,228 | 16.8 | 23.7 | 1 | ||
| round 1+3k (5,229)* | 21.0 | 23.2 | 1 | 129:9 | |
| round 2 (6,110) | 17.7 | 26.3 | 1 | 145:6 | |
| round 3 (7,065) | 18.3 | 26.3 | 1 | 146:7 | |
| Qwen3.6-27B | base | 14.2 | 16.0 | 1 | |
| round 0 (1,261) | 19.0 | 19.8 | 1 | ||
| round 1 (2,229) | 23.7 | 25.5±0.2 | 2 | ||
| 3,229 | 29.8 | 29.0 | 1 | ||
| 4,228 | 29.2 | 32.3 | 1 | ||
| round 1+3k (5,229) | 27.0 | 33.2 | 1 | 133:30 | |
| round 2 (6,110)* | 29.2 | 32.0±0.2 | 2 | 127:30 | |
| round 3 (7,065) | 30.2 | 34.8 | 1 | 132:19 | |
| Table 2: ours (round 2) | 26.5 | 29.5±1.0 | 4 | ||
| Table 2: round 1 | 23.7 | 25.5±0.2 | 2 | 69:47 | |
| Table 2: AWM | 23.2 | 21.5±0.2 | 4 | 76:30 | |
| Table 2: EnvFactory | 20.3 | 20.4±0.9 | 3 | 81:33 | |
| Table 2: EnvScaler | 18.3 | 16.8±0.0 | 2 | 97:24 | |
| Table 2: EnvCraft | 16.3 | 15.8±1.4 | 2 | 100:27 | |
| Qwen3.8-27B | base | 32.3 | 37.6±0.8 | 2 | |
| GRPO step 40 | 34.0 | 39.2 | 1 | 66:60 | |
| GRPO step 80 | 38.2 | 39.8 | 1 | 63:53 | |
| GRPO step 120 | 35.5 | 39.5 | 1 | 66:58 | |
| GRPO step 160 | 37.2 | 41.3 | 1 | 71:52 | |
| GRPO step 200* | 38.5 | 40.3±0.1 | 2 | 65:53 | |
| GRPO step 240 | 38.0 | 38.3±2.1 | 2 | 56:64 | |
| GRPO step 252 | 35.8 | 40.3 | 1 | 62:49 | |
| DeepSeek-V4-Flash | 25.8 | 32.3 | 1 |
Table 4: AutomationBench pass rate with the model's reasoning dropped between tool calls (an earlier configuration of our gateway, one evaluation each) and with it replayed (the protocol of Tables 1 and 2); n is the number of replayed evaluations, with mean and standard deviation where n > 1. vs. base: tasks won and lost against the base under the replayed protocol, first evaluation of each; in the Table 2 block, tasks won and lost by our round-2 arm against that row. Checkpoints are named by their corpus (§4.1), with trajectory counts in parentheses; * marks the rows of Table 1.
220 of the exploration set. In the same teacher band (one to six successes in eight) the repaired environments train like the native ones: over the run the sampled reward rises from 0.40 to 0.52 for the 316 repaired environments and from 0.48 to 0.56 for the 980 native ones, and the two curves cross throughout (Figure 7). The exploration set is sampled like every other prompt (eight rollouts per epoch, sixteen over the run): 48 of the 220 are solved at least once during training, the first success at a median of step 91 of 252, and 172 remain unsolved at the end.
Pipeline comparison. EnvFactory tasks are single turns of released sessions, with the session prefix given as context and excluded from the loss (median 9 assistant turns including the prefix); AWM trajectories are filtered by its code-only verifier; the LLM judge of its released pipeline is not used, and AWM's authors report the code-only option as the weaker of the two (Appendix I). All arms of Table 2 share the base checkpoint, learning rate, epochs, sequence length and tool-call template; the training configurations differ only in the data path. Trajectories are encoded with the teacher's reasoning preserved across turns. Table 6 profiles five of them; EnvFactory's teacher pass@8 is 0.72 over all rows and 0.59 over the rows kept. All four pipelines are served through the same tool interface as our environments; the mapping is structural and changes neither tool definitions nor content. Per domain, our arm leads AWM in all six domains (mean of four evaluations each). On the two transfer suites our arm again ranks first: its student scores 72.4% on MCP-Mark and 68.2 on BFCL v4, against 59.1–63.8% and 63.8–67.8 for the four
| Model | MCP-Mark | BFCL v4 |
|---|---|---|
| DeepSeek-V4.1-Flash | 0.6 | 0.6 |
| GLM-5.3-Flash | 3.4 | 0.4 |
| DeepSeek-V4-Pro | 1.9 | 0.7 |
| DeepSeek-V4-Flash | 2.3 | 0.4 |
| GLM-5.2 | 2.6 | 0.5 |
| Kimi-K2.6 | 2.0 | 0.8 |
| HY-3 | 2.8 | 0.7 |
| Qwen3.5-379B | 2.2 | 0.6 |
| Qwen3.5-27B | 1.7 | 0.5 |
| + LegoEnv (SFT) | 2.0 | 0.3 |
| Qwen3.6-27B | 2.7 | 0.4 |
| + LegoEnv (SFT) | 2.9 | 0.5 |
| Qwen3.8-27B | 3.7 | 0.7 |
| + LegoEnv (RL) | 2.6 | 0.3 |
Table 5: Standard deviation, in points, of the MCP-Mark pass rate and the BFCL v4 weighted average over the four evaluations behind each row of Table 1.

Figure 7: Training reward by prompt group during GRPO, in bins of 20 steps: the 980 native environments, the 316 repaired environments in the same teacher band, and the 220 of the exploration set.
other arms, means of four evaluations (Table 2).
F Overlap with AutomationBench
Of the transfer suites, BFCL v4 touches the corpus at one point: eight environments (0.15%) seed the tool-catalogue table of one server from the BFCL v3 multi-turn function catalogue, which the dataset pool held as a public dataset; their trajectories are in the corpora of §4.1 and were not removed, and the eight environments are withheld from the public release. MCP-Mark shares no server with the pool.
AutomationBench shares no task, application or data with our environments, and Table 7 measures the distance. We compare the request text of each of the 5,465 round-2 environments with the user prompt of each of the 600 public AutomationBench tasks (their shared system prompt removed), after lower-casing, mapping digit runs to one placeholder and stripping punctuation. Lexical overlap is counted in shared word 13-grams and 8-grams;
| Arm | pass@8 | env. | turns | tokens | loss | MCP | BFCL |
|---|---|---|---|---|---|---|---|
| LegoEnv (round 2) | — | 1,173 | 13 | 43.3M | 14.3M | 72.4 | 68.2 |
| AWM | 0.59 | 556 | 6 | 40.4M | 7.6M | 63.8 | 67.6 |
| EnvFactory | 0.72 | 142 | 4 | 21.4M | 5.5M | 63.8 | 66.3 |
| EnvScaler | 0.36 | 47 | 8 | 41.1M | 13.9M | 61.4 | 63.8 |
| EnvCraft | 0.87 | 61 | 18 | 22.5M | 9.1M | 59.1 | 67.8 |
| Qwen3.6-27B (no training) | — | — | — | — | — | 42.5 | 63.0 |
Table 6: Five of the arms of Table 2, 2,229 trajectories each, over 2,138, 767, 818, 763 and 768 distinct tasks respectively. pass@8: share of tasks the teacher solved at least once in eight attempts. env.: distinct worlds (env_id) behind the trajectories; several of our tasks share a world. turns: median assistant turns that carry loss (EnvFactory's prefix turns, median 9 including them, carry none). tokens, loss: total tokens and tokens that carry loss. MCP, BFCL: MCP-Mark pass rate and BFCL v4 weighted average of the trained student, means of four evaluations as in Table 2.
semantic proximity is the maximum TF-IDF cosine (sublinear tf, smoothed idf fitted on the union of the two corpora), with the benchmark's own leave-one-out self-similarity as the scale. No environment shares a 13-gram with any task. The six shared 8-grams are ISO-8601 timestamps and the phrase "today is <date>", and none remains when digits are kept. 92.0% of the benchmark tasks are closer to another benchmark task than to any of our requests; 23 of our requests (0.4%) exceed the benchmark's median self-similarity and none exceeds its maximum. A dense embedding gives the same picture: 83.5% of the benchmark tasks are closer to another benchmark task than to any of our requests; where half of our requests would exceed the benchmark's median self-similarity if they were drawn from its distribution, 0.5% do, and none reaches its maximum, which two benchmark tasks that paraphrase each other across domains attain. Unrelated pairs score about 0.45 in this space, so only the comparison between the two columns carries meaning. The five nearest pairs share a business scenario, such as invoice approval, and nothing else. Our 223 servers are self-hosted open-source applications and the benchmark's 47 are simulated commercial SaaS tools; the two sets are disjoint, and the benchmark's worlds are synthetic. The benchmark places the governing rule in a record of the environment rather than in the prompt in 44.5% of its tasks, so the request-level comparison is like for like.
G Corpus profile
Figure 6 profiles the 5,465 environments of the round-2 corpus by servers per environment, server frequency, rule archetypes and carriers, and opera-
| Measure | ours vs. AB | AB vs. itself |
|---|---|---|
| sharing a 13-gram | 0 / 5,465 (0.0%) | 351 / 600 (58.5%) |
| sharing an 8-gram | 81 / 5,465 (1.5%)* | 401 / 600 (66.8%) |
| TF-IDF max cosine, median | 0.198 | 0.344 |
| TF-IDF max cosine, max | 0.442 | 0.680 |
| embedding max cosine, median | 0.719 | 0.779 |
| embedding max cosine, max | 0.930 | 0.965 |
| applications in common | 0 of 223 vs. 47 | — |
Table 7: Overlap between our environments and AutomationBench (AB). Rows 1–2: environments (left) or tasks (right) that share at least one word n-gram with some task; *all six shared 8-grams are timestamps or “today is <date>”, and the count is 0 when digits are not normalised. Rows 3–6: for each benchmark task, the maximum cosine to our requests (left) and to the other 599 tasks (right), under TF-IDF and under a dense embedding (Qwen3-Embedding-4B).
tion kinds.
The round-2 corpus is 6,110 trajectories over 5,465 environments drawing on 223 distinct applications. A trajectory spans 2.51 applications on average (median 2; 1/2/3/4/5 applications in 31/3,361/2,359/315/44 trajectories), so 99.5% of the corpus is cross-application; the distribution is long-tailed but not degenerate, with the ten most frequent applications accounting for 60.6% of application slots (58.8% counted per environment, Figure 6b) and the most frequent single one for 15.2%. Each task carries a verifier of 13.1 clauses on average (median 13, p90 24, max 54) and a gold witness of 12.2 actions (median 10, p90 25, max 64). The trajectories themselves run 14.8 assistant turns (median 13, p90 26, max 70) and 19,784 tokens (median 18,504, max 65,498); 33.3% of the 120.9M tokens carry loss, and 23.4% of trajectories contain at least one 4xx tool response, whose turns are masked out of the loss (Appendix E).
H Every stage on the builder model
Table 8 runs every stage of LegoEnv with an agent on DeepSeek-V4-Flash, about 100 cases per stage, against the existing artefacts as reference. The builder admitted 92 of 100 skeletons and the teacher solved 69 of them at least once (75.0%, against 71.6% for the main corpus). A repair agent given only the failure evidence and the original specifications of 15 servers, and none of the existing repairs, recovered 188 of the 203 environments that could not be built and broke none of the 90 that could. On 100 environments no teacher attempt solved, a diagnosis agent produced a valid diagnosis for 94 and repaired 68; 51 passed review and the teacher then solved 44. A dispatch agent
| Stage (agent on the builder model) | tried | admitted | |
|---|---|---|---|
| build, with rule atom | 100 | 92 | 69/92 |
| build, without rule atom | 100 | 98 | 78/98 |
| dispatch → build | 30 | 30 | 14/20* |
| onboard → build | 10 | 10 | 9/9* |
| instance repair | 100 | 68 | 44/51* |
| server repair (15 servers) | 188 of 203 recovered, 0 of 90 broken | ||
| dispatch (skeletons) | 100 of 100 valid, 100 new compositions | ||
| onboarding (servers) | 4 of 4 pass without intervention | ||
Table 8: Each stage of LegoEnv run by an agent on DeepSeek-V4-Flash. Admitted: passes the verifier correctness check. : environments with at least one verifier-accepted trajectory in eight teacher attempts. *Teacher attempts were run only on the environments that also passed a review of the request (20 of 30, 9 of 10, 51 of 68).
given only the atom pools wrote 100 skeletons, all valid and none repeating a composition among the 3,254 reference skeletons that existed at the time of the run; an onboarding agent brought four new servers into the pool with no intervention, and in a second pass 12 of 14 servers that newly classified operation kinds asked for passed the onboarding check. A mining agent given only the vocabulary, tool metadata and dataset cards collected 1,825 candidate atoms from 296 public pages, and in a sample of 50 the cited page supported the atom directly in 42. The constraints of §3.3 each reject on their own: among 10,000 random skeletons that satisfy tool coverage, carrier hosting rejects 71.5%, schema compatibility 41–45% on a reconstructed dataset pool, and rule attachment 9.8% when one intent must carry the rule (the reading of §3.3) or 80.5% when every intent must; together they admit 13–14% under the one-intent reading and 1.6–1.7% under the every-intent one.
I Where the content of related environments comes from
Table 9 reads the pipelines of §2 part by part: EnvScaler (Song et al., 2026), AgentScaler (Fang et al., 2025), TOUCAN (Xu et al., 2025), Agent-World (Dong et al., 2026), AWM (Wang et al., 2026b), ScaleEnv (Tu et al., 2026), AgentSkiller (Sun et al., 2026), EnvFactory (Xu et al., 2026a), C-World (Xi et al., 2026), AutoForge (Cai et al., 2025), COVERT (Xu et al., 2026b), EnvCraft (Zeng et al., 2026), CompoWorld (Yang et al., 2026). Every cell was checked against the full text of the paper. Two pipelines, TOUCAN and C-World, execute real remote services, so their tools and returned data are real, but they fix no initial state, cannot reset a task, and train by supervised fine-tuning only. EnvFactory and CompoWorld start from real tool interfaces (API documentation, crawled MCP specifications) and have an agent write the implementation, the schema and the data; EnvCraft starts from community scenario names and generates the rest. Agent-World mines part of its databases from the web and extends them with generated rows. AWM's released pipeline offers a code-only verifier beside its default code-plus-judge one; its authors report the code-only option as the weaker of the two, and it is the one the arm of Table 2 uses.
| Work | source of each part | cross-app | verifier | RL. | |||
|---|---|---|---|---|---|---|---|
| schema | tool | data | intent | ||||
| EnvScaler | ✗ | ✗ | ✗ | ✗ | ✗ | prog. | ✓ |
| AgentScaler | ~ | ~ | ✗ | ✗ | ✗ | prog. | ✗ |
| TOUCAN | — | ✓ | ✓ | ✗ | ✓ | hybrid | ✗ |
| Agent-World | ~ | ✗ | ~ | ✗ | ✗ | hybrid | ✓ |
| AWM | ✗ | ✗ | ✗ | ✗ | ✗ | hybrid | ✓ |
| ScaleEnv | ✗ | ✗ | ✗ | ✗ | ✗ | prog. | ✓ |
| AgentSkiller | ✗ | ✗ | ✗ | ✗ | ✓ | hybrid | ✗ |
| EnvFactory | ✗ | ~ | ✗ | ✗ | ✓ | prog. | ✓ |
| C-World | ✓ | ✓ | ✓ | ✗ | ✓ | hybrid | ✗ |
| AutoForge | ✗ | ~ | ✗ | ✗ | ✗ | prog. | ✓ |
| COVERT | ✗ | ✗ | ✗ | ✗ | ✗ | hybrid | ✓ |
| EnvCraft | ✗ | ✗ | ✗ | ✗ | ✓ | prog. | ✓ |
| CompoWorld | ~ | ~ | ✗ | ✗ | ✓ | prog. | ✓ |
| LegoEnv (ours) | ✓ | ✓ | ✓ | ✓ | ✓ | prog. | ✓ |
Table 9: Where the content of a synthesised agentic environment comes from. ✓ = derived from a real external artefact (source code, a dataset, a published template or procedure); ~ = only names or interface descriptions are real, with behaviour or values written by an LLM; ✗ = written by an LLM. verifier: what decides whether a trajectory solved its task; prog. a program alone, hybrid an LLM judge takes part in the decision (filters that discard tasks or trajectories are not counted). ‡runs against live services, so schema, tools and returned data are real and no initial state is fixed; C-World's simulated mode is ~/✗. §rows mined from the web, complexified with generated rows. †additionally tested: every verifier must reject the initial world and accept the reference solution before its environment is admitted (§3.4).
J Prompts
Figure 8 gives the brief of the builder agent and Figure 9 the prompt of the diagnosis agent, both cut and lightly edited to fit; cuts are marked [...], machine paths are shortened, and code identifiers are kept and glossed in the captions. Both will be released with the code.
BUILDER AGENT — BUILDER.md
BUILDER BRIEF – build one task pack from a skeleton spec
You are the builder. [...] You own ONE skeleton. Execute directly; do not spawn agents; the user is not watching. Report honestly (FAIL is fine). [...]
Read first (once, in this order)
-
SKILL.md[...](the builder's skill file). -
The docstring plus the
WorldandContractsections ofpacklib.py. -
[^...](two functions:sim_gold,check). -
Two previously admitted environments as examples [...].
-
The data-atom cards [...].
Your input: the skeleton spec
{SKELETON_JSON}
Field meaning:
-
apps: the servers of the world [...]. -
deliverable_atoms: what the task must produce, one atom per (app, kind).pos= how many positive checks the pack must carry for this atom,neg= how many negative checks.check_kindssays to what precision the pack must check this atom (the vocabulary [...]; e.g.
mail_sent_to_with_terms → a mail to the right address whose body names the record and the amount;
row_cellEquals → the exact cell value).
rule_atoms: the business rule(s) the task turns on.
rule_shape is an abstract description of the rule's shape (no names, no literal thresholds): instantiate it on your data, do not copy its wording into the goal.
has_exception = the rule needs an override clause (hold / opt-out / already done / VIP ...) and at least one distractor must trip exactly that clause. archetype is the rule's shape (threshold_routing / deadline_escalation / tiering / approval_chain / exclusion / reconciliation / budget_quota / compliance_flag); carrier says WHERE the rule text lives in the world: policy_sheet = a worksheet in the budibase workbook, policy_mail = an e-mail in the stalwart inbox, notes_field = a notes/description field on a CRM record, [...]. The rule text must be literal and complete in the carrier, and must NOT be restated in the goal. The goal only points at the carrier ("follow the payment rules the controller sent", "the workbook's policy worksheet has the requirements").
-
chain: the abstract intent chain (read rule → select records → per-record actions → summary). Instantiate every step; do not add unrelated steps. -
n_intents: number of independently verifiable deliverables (reads/logins do not count). Keep it. -
n_distractors_min: at least this many records that LOOK eligible but fail exactly one clause of the rule; each gets its own NEGATIVE predicate ("the action did not happen for X": no mail to X, no row for X, X's cell unchanged). -
predicate_budget: positives + negatives must be >= this number. -
delivery_shape: per-record actions and/or one summary message.
What to build (the skill's ten steps, adapted)
-
**tid**= a short name taken from the data (never the skeleton id). Claim it:mkdir pack/<tid>must succeed. -
**Dataset**: pick from the data-atom pool [...].
Profile it with a few lines of python; the records, groups, thresholds, dates, recipients all come from real rows or statistics of them. Record src = on every seed call.
-
**World**:W = World(apps, person=(email, name), now=...); seed the record table/inbox/calendar/CRM; seed the**policy carrier**with the literal rule; add a little noise (enron_mails,twcs_chat, unrelated events);spec = W.merge()[...]. -
**Expected solutioncomputed in code, never typed**: write the rule as a python function over the seeded rows, derive the matched records and the skipped ones, andassertthe split (e.g. exactly 4 matches, >=2 distractors each failing a different clause, no ties). -
**GOAL**: plain, natural English, 3-6 sentences; names the sheets/systems/channels it needs and the carrier of the rule; states dates it depends on ("today, <date>"); never lists the rules, the eligible records, the distractors, ids or recipients that the world already contains. Read it once as the agent: every value it needs must be findable by reading the world. -
Contract:
C = Contract(GOAL, expected=...); positives from the computed expected (per matched record + summary), negatives per distractor and per invariant, all state-based [...];assert not C.seed_check(spec).* A predicate may only demand what the goal or the policy text explicitly asks for.* Re-read every positive against the goal + policy text before writing it: a solver that follows both to the letter must pass it. [...]. -
Gold steps (the correct solution as tool calls, computed from the same expected):
steps = [(app, tool, args), ...]thenbad, env = sim_gold(TID, spec, W, C, steps); assert not bad, bad. [...]. -
out, td = write_pack(TID, W, spec, C, atoms, skeleton="<skeleton_id>: <chain in one line>", notes_extra=...)atoms =[{"id": "a1", "kind": "<deliverable kind", "text": "one line>", ...}] from the skeleton's deliverable_atoms. -
check(TID, "<skeleton_id>", dataset="<slug>", note="<=80 chars>")must printCHECK PASS(the admission check: every positive witnessed by a dropped write, every negative falsifiable, [...] resettable). -
README.mdin the pack dir (the skill's template), plus the rule text and where it lives.
Put all of it in ONE script pack/<tid>/build.py [...] and run it. Iterate on its asserts and on check's report (<= 25 runs). When a check fails: fix the contract, the world data or the gold steps. Only reword the goal if it was genuinely ambiguous, and say so in the README.
[...]
Newly onboarded apps [...]
[...] Each has a spec, a register.py (seed helpers, NOTES, LOGIN) and a capability_card.json (what it can hold: content_entities, which kinds map to which write tools, check_kinds, carriers, login, seed_helpers). Read the capability card and the register.py docstring before seeding: seed only the entities the card lists [...], sign in with the card's login tool, and realize each deliverable atom with the tools the card lists for its kind. [...].
[...]
Hard limits
- Write only under
pack/<tid>/[...]. Everything else is read-only. - Every whole-table read <= 12,000 chars, <= ~20 expected write calls, gold steps <= 30 calls.
- Seeded ids the agent passes back to tools must be integers; sheet column names without spaces and not
id/'type`/'tableid'. - No real personal e-mail addresses from datasets; use
<org>.exampleaddresses.
Final message (<= 10 lines; nothing else is read)
tid, dataset slug, apps kept/dropped, rule archetype + carrier, n_intents, preds pos+neg, number of build.py runs, CHECK PASS/FAIL, and
<= 4 lines of findings (library gaps, spec bugs, what you could not express).
Figure 8: Brief of the builder agent (BUILDER.md; cut and lightly edited to fit, cuts marked [...]). The skeleton is substituted for {SKELETON_JSON}. The brief fixes the environment contract: the rule text lives only in its carrier, the expected solution is computed in code from the seeded rows, every positive assertion must be witnessed by a write and every negative must be falsifiable, and the environment is admitted only when check passes (§3.4). Code names: pack = environment; goal = request q; Contract, predicate, check = verifier V and its assertions; gold steps, witness = reference solution π; tid = environment id; persona = the account the agent acts as; sim_gold replays π on W₀ and asserts (1)–(2); check is the admission check (1)–(5).
DIAGNOSIS AGENT — AGENT_BRIEF.md
Instance diagnosis and repair
Read only the files in this case directory. task.json contains the request, verifier and reference solution (witness), spec.json contains its world and tools, and s0.json through s7.json are eight failed teacher attempts. [...].
Determine the primary cause from the goal, world, recorded tool results and all eight trajectories. Write diagnosis.json with tid, category, cause, and action. Choose exactly one category: verifier_bug, task_data_environment_tool, task_data_or_tool, or teacher_execution_failure. action is repair or no_change. A teacher mistake is not evidence that the task needs weakening; use no_change only when the package is sound and the failed attempts contain concrete execution or reasoning mistakes.
[...] Treat successful recorded API results as real reads and mutations. For each strongest episode, map successful mutations and the persisted final state to the task's requested actions before calling it an execution failure; a final verifier false can be a predicate false negative even when every requested mutation succeeded. [...].
Conversely, a reference solution that replays successfully proves reachability only: it may contain hidden constants that the public goal and world never reveal. Do not use witness-only facts as requirements or as proof that the package is fair.
Before choosing a category, compare at least one strongest failed episode with the verifier clause by clause. Distinguish:
- a business-valid completion rejected by an undervalible, contradictory, or misaddressed predicate:
verifier_bug; - a public source or entity promised by the goal but absent or inconsistent in the world/tool surface:
task_data_environment_tool; - an intrinsically ambiguous or impossible task/data/tool combination not localized to one environment artifact:
task_data_or_tool; - visible teacher mistakes despite a sound, fully discoverable package:
teacher_execution_failure.
For repair, write repaired_task.json containing goal_nl, env_id, verifier, and a corrected witness (a list of {{tool,args}} calls), and optionally repaired_spec.json if the world or tool definition must change. Preserve the business request. Change only the smallest broken part; retain checks for requested actions and important exclusions. Never replace the verifier with a constant or make it vacuously true. Do not copy a failed teacher sequence as a witness without checking it.
Audit positive coverage as well as false negatives. Enumerate every branch of the visible policy that selects an item and every action that branch requires. [...].
For multi-branch policies, build a per-entity matrix before editing. [...] Recompute public formulas from their named operands exactly; do not add a customary zero clamp, rounding rule, or display unit that the policy does not state.
For every selection and exclusion rule, identify each decision operand and its public source. [...] Do not infer the missing operand from the witness. [...].
Audit every cross-system join. The entity identifier or mapping used to move from one system's record to another must be present in the public task or world. Similar-looking identifiers in different namespaces are not a mapping. [...].
Treat a revision as a semantic diff. Before emitting it, list every verifier clause removed or weakened relative to the input candidate. [...]
Text checks should enforce semantic atoms rather than accidental surface form. [...]
When repairing an underivable exact timestamp, keep every public scheduling constraint and translate its wording exactly. before X requires
a strict lt X; after X requires gt X; by X or no later than X permits lte X; and on or after X permits gte X. [...]
When the goal requires one summary naming every acted-on item, [...] Honor the identifier form requested by the goal. [...] When the goal says to leave every other item untouched, [...]
You may inspect the local runtime in runtime/ and use python3 check_candidate.py to replay your proposed witness, require a false initial verifier and a true final verifier, and inspect errors. This is an offline smoke test. It does not establish business equivalence, strict acceptance, or teacher success. Run it after each change. Record any unresolved issue in diagnosis.json rather than inventing a successful repair. [...]
The files in this directory are the entire allowed input. Do not search [...] other cases. Do not alter task.json, spec.json, or the eight teacher episodes.
Figure 9: Prompt of the diagnosis agent
(AGENT_BRIEF.md; cut and lightly edited to fit, cuts marked [...]). The agent chooses one of four categories, verifier_bug, task_data_environment_tool, task_data_or_tool and teacher_execution_failure, and one action, repair or no_change; verifier_bug is the verifier fault of §5.2, the two task/data categories are its world fault, and teacher_execution_failure its sound environment the teacher cannot solve. Code names: package = environment; witness = reference solution π; strict acceptance = the full admission check (1)–(5), of which check_candidate.py tests (1)–(2). It is the brief of the instance-repair run of Table 8; the repairs of §5.2 were made by an agent under an earlier iteration of this brief with the same four categories. The categories label the fault; which of the four pathways of §3.5 follows is decided from the root cause (Appendix K).
K The 33 root causes
Table 10 lists the root causes. The 997 repairs fall into five layers: check-kind semantics 582, builder discipline 402, service spec 8, data card 4 and pure instance 1. A missing source fact, recipient or policy clause, a corrupt seed and a wrong reference action are assigned to builder discipline, because each is a builder contract failure that recurs; the one pure-instance repair is a runtime-version mismatch that affected one recorded episode. The first-pass labels of §5.2 (695 verifier faults, 302 world faults) and these layers are different partitions: 173 of the 695 verifier-labelled repairs were adjudicated by the agent as builder discipline and 60 world-labelled ones as check-kind semantics.
L Repair examples
A server atom. Figure 10 shows the repair of the wiki server raneto. Its search tool was a keyword search, but the runtime's keyword executor reads only the arguments q and query while the tool's argument is search, so every query returned an empty list. Its edit and delete tools located a page by filepath, whose seeded values carry the .md extension, while the argument description asks for a path without it, so a call made as described failed with "page does not exist". Categories and page metadata were readable by no tool. The repair makes search a substring filter over title and body, locates pages by slug, makes the page read public with its metadata, requires a category on page creation, and adds two list tools; the server goes from 10 to 12 tools.
An environment. In bozeman_remodel, the request allows a remodel work log per property, but the verifier required all four property names in one document. The repair accepts either one merged log or one log per property and keeps the requirement that every property is covered.
Operation kinds. Two counts describe the operation kinds. The registered vocabulary grew with onboarding in three steps (Table 11): 31 to 37 kinds with six servers (19 to 25), 37 to 57 with seven servers (25 to 32), and a final classification of all 3,935 historical write steps that kept a new kind only where no existing one fit, 110 in all. The order in which servers were onboarded was computed, not chosen: each candidate is ranked by how often mining named it before it was onboarded. The counts of Figure 4b, 81, 91 and 109, are the kinds observed in each round's writes and skeletons under that final taxonomy (81 counts the 1,166 of 1,204 round-0 environments the atomisation covers); round 1 adds ten. Kinds enter the vocabulary when a skeleton needs them: three mined government-domain skeletons named ckan's dataset_publish and dataset_metadata_patch, which the validator rejected as kind not in vocab; onboarding ckan added both kinds and resource_publish, and the skeletons then passed. The taxonomy was also corrected after the fact: a
SERVER ATOM REPAIR — raneto SPECIFICATION DIFF
page_search exec_spec.rank
- {"method": "keyword", "fields": ["title", "body"]}
+ {"method": "substring"}
page_search exec_spec.filter
+ {"op": "or", "clauses": [[{"col": "title", "mode": "substring", "val": {"$arg": "search"}]}, {"col": "body", "mode": "substring", "val": {"$arg": "search"}]]}
page_edit exec_spec.row_key page_delete exec_spec.lookup_by
- {"filepath": {"$arg": "file"}}
+ {"slug": {"$arg": "file"}}
page_edit, page_delete input_schema.file.description
- "Page path relative to content_dir, e.g. 'tutorials/my-page'. Identifies the page to edit." (edit)
- "Page path relative to content_dir. Identifies the page to remove from the listing." (delete)
+ "Page path relative to content_dir without the .md extension, i.e. the page slug,
+ e.g. 'tutorials/my-page'."
page_create input_schema.category.required - false + true
page_create guards.required - ["name"] + ["category", "name"]
page Render guards.requires_auth - true + false
page Render exec_spec.eager + [{"entity": "PageMeta", "rel": "meta", "via": "filepath"]}]
new tools + category_list (Category) + pagemeta_list (PageMeta)
Figure 10: Repair of the raneto server atom: every field that differs between the original and the repaired specification, except the free-text description of page Render (- before, + after).
| Layer | Root cause | Repairs |
|---|---|---|
| check-kind semantics (582) | verifier_wrong_selection_or_arithmetic | 110 |
| verifier_conflicts-visible_instruction | 86 | |
| verifier_unstated_exact_value | 81 | |
| verifier_format_normalization | 63 | |
| verifier_equivalent_expression | 42 | |
| verifier_overchecks_linked_text | 37 | |
| verifier_wrong_storage_location | 32 | |
| verifier_hidden_schedule | 31 | |
| verifier_wrong_entity_id | 25 | |
| verifier_unsupported_extra_action | 14 | |
| verifier_negative_substring | 14 | |
| verifier_hidden_title_or_name | 14 | |
| verifier_cardinality_or_grouping | 10 | |
| verifier_hidden_status_or_flag | 10 | |
| verifier_wrong_record_or_field | 7 | |
| verifier_unpublished_choice | 6 |
| Layer | Root cause | Repairs |
|---|---|---|
| builder discipline (402) | missing_recipient_or_contact | 144 |
| missing_source_rows_or_fields | 140 | |
| missing_policy_clause_or_exception | 46 | |
| gold_missing_login | 26 | |
| world_seed_integrity | 19 | |
| ambiguous_goal_or_role | 9 | |
| reference_answer_misread-visible_data | 8 | |
| cross_app_identity_mapping | 6 | |
| policy_carrier_conflict | 2 | |
| service spec (8) | builder_field_binding | 1 |
| gold_wrong_or_missing_action | 1 | |
| tool_argument_contract | 5 | |
| tool_read_or_search_defect | 1 | |
| data card (4) | service_relation_write_defect | 1 |
| service_missing_default_or_inferred_field | 1 | |
| data card (4) | dataset_semantic_or_unit_gap | 4 |
| pure instance (1) | runtime_version_mismatch | 1 |
Table 10: The 33 root causes of the 997 repairs, by layer. 89 repairs also carry a secondary cause, which is not counted.
| Step | Kind added | Implemented by |
|---|---|---|
| 31→37 | add_labelcreate_metadatapost_batchrecord_status_change | planka: add_card_label, create_labelpaperless_ngx: tag_createledgersmb: batch_postakaunting: document_sent, ... |
| 37→57 | reservation_approvecheck_pausedatasetublishavailable_stock_update | librebooking: reservationseries_approvehealthchecks: check_pauseckan: package_createfoodcoopshop: product_edit_quantity |
| 57→110 | comment_or_replyshare_or_control_accessmanage_event_programmanage_time_tracking | 284 historical write steps126 historical write steps31 historical write steps12 historical write steps |
Table 11: Growth of the operation-kind vocabulary, with four of the kinds added at each step. Steps 1 and 2 give the server and tools that implement the kind; step 3 gives the number of historical write steps classified into it. The steps are vocabulary snapshots at onboarding, not evolution rounds.
Bitwarden call organizationuser_update with a Type argument, first classed as manage_membership_or_invitation, was moved to manage_role_or_permission because Type is the role field, while calls that change only Status stayed.
M Sources
The mined skeletons cite 556 distinct template, documentation and procedure URLs, most often from product documentation and published regulations (docs.frappe.io 76, americanbar.org 76, docs.civicrm.org 72); the dataset cards cite 163 distinct dataset URLs, and each of the 223 servers maps to one GitHub repository. Table 12 lists ten examples.
| Kind | URL | Atoms it yielded |
|---|---|---|
| documentation | docs.frappe.io/erpnext/auto-creation-of-material-request | rule: threshold_routing, policy_doc; intents: append_row on budibase, send_email on stalwart |
| template | n8n.io/workflows/16404-route-purchase-order-approvals-and-budget-alerts-with-gmail-slack-and-sheets | rule: budget_quota, policy_sheet; intents: send_email on stalwart, create_or_update_issue on mantisbt, append_row on budibase |
| procedure | www.process.st/templates/accounts-payable-procedure-template/ | rule: approval_chain, notes_field; intents: post_batch on ledgersmb, record_status_change on akaunting, send_dm on zulip |
| procedure | www.americanbar.org/groups/professional_responsibility/publications/model_rules_of_professional_conduct/rule_1_7_conflict_of_interest_current_clients/ | rule: exclusion, policy_doc; intents: update_record on espocrm, create_or_update_issue on mantisbt |
| dataset | www.kaggle.com/datasets/olistbr/brazilian-ecommerce | domain crm; tables incl. olist_customers_dataset |
| dataset | archive.ics.uci.edu/static/public/601/ai4i%2B2020%2Bpredictive%2Bmaintenance%2Bdataset.zip | domain manufacturing; numeric columns incl. Torque [Nm], Tool wear [min] |
| dataset | huggingface.co/datasets/theatticusproject/cuad/resolve/main/CUAD_v1/master_clauses.csv | domain legal; columns incl. clause_type, clause_text |
| dataset | huggingface.co/datasets/aryadevkota/dataco_supplychain_dataset | domain commerce; columns incl. Days For Shipping (Real), Delivery Status |
| repository | github.com/ryanlelek/raneto | server atom raneto (wiki), 12 tools after repair (Figure 10) |
| repository | github.com/plankanban/planka | server atom planka (boards), hosts the card_description carrier |
Table 12: Ten sources. Template, documentation and procedure rows give the rule atom (archetype, carrier) and the intents (kind on server) of the skeleton mined from the page; dataset rows give the dataset card's domain and columns; repository rows give the server atom compiled from the code.