Grouping agent tasks by shared skills lets their scaffolding improve itself
A preprint with National University of Singapore authors evolves a tree of add-on modules around a frozen Claude Opus 5, practising each skill in simplified simulated worlds.

A large AI model rarely acts alone. When it plays a game, solves a puzzle or steers a robot, it sits inside a harness, the surrounding code that handles perception, memory and planning and turns the model's outputs into actions. Improving a harness by hand is slow. According to a 2026 preprint by researchers at the National University of Singapore and other institutions, which has not yet been peer reviewed, earlier efforts to automate this mostly targeted text tasks such as coding and maths and tuned a separate harness for each task. The authors argue that this can overfit when tasks differ. A single shared harness has the opposite problem: it struggles to reconcile conflicting demands, such as trading efficiency against performance in embodied tasks.
Their system, The Trinity, organises tasks by what they require rather than by what they look like. Model weights are never touched. Everything runs on a frozen Claude Opus 5, and only the configuration of modules across six protocols changes: perception, memory, inference, planning, orchestration and a control loop. Three AI roles share the work. An Explorer runs tasks and collects verified trajectories, records of what the agent did and whether it succeeded. An Evolver reads those records, assigns each training task a fixed set of capability requirements and merges the sets into a capability tree, a hierarchy that groups tasks by the skills underneath them. A Creator then builds simplified, checkable simulated worlds for each node of the tree. A frozen screening harness admits only worlds that fall within an intermediate band of difficulty, and scores on the original benchmarks show whether the practice transfers.
Each node's harness inherits modules from its parent and can override them. A parent's updated modules are adopted only if they complete strictly more verified tasks under identical conditions. At deployment, a router picks one harness from the tree. The router is itself an AI agent, and it reads the new task's public description, the capability definitions and up to 10 similar past execution records.
The tests spanned 28 training benchmarks and 18 unseen ones in five domains, among them ARC-AGI-3, NetHack, Crafter, Hanabi and Among Us. Agents built nine of the training benchmarks from web-searched sources. Over four rounds of self-improvement, the authors report the mean training score rising from 39.1 to 73.2. On 16 non-robot unseen benchmarks, the mean rose from 42.1 to 64.1, against reference means of 47.5 for Codex and 46.2 for DeepSeek. The first round brought the largest gain, and later progress varied across benchmarks. Between rounds one and four, ARC-AGI-3 rose from 41.0 to 53.6, while Mastermind stayed flat at 88.9 and Eleusis slipped from 82.2 to 81.1. Crafter and DiG-bench remained below both references.
The comparisons between ways of organising harnesses are revealing. After one round, a capability tree trained in simulated worlds scored 56.95 on training and 47.26 on unseen benchmarks, ahead of a single global harness at 53.04 and 42.92. The same tree trained on the real tasks scored 53.44 and 42.31, roughly level with the global harness, which suggests the simulated practice carries much of the benefit. The simulated tree used 405.70M training tokens, against 211.56M for the real-task tree, though it had the lowest inference cost. On the round-four tree, with prepared skills, the deployable router scored 71.27 and 60.96. An Oracle, which picks the best harness for each instance after the fact and so cannot be used in practice, scored 73.16 and 63.61. On two robots, a Unitree G1 and an AlohaMini2, real-world success rates rose from 0 to 60% for each.
The caveats are substantial. The final training mean of 73.2 appears to line up with the Oracle's 73.16 rather than with the deployable router's 71.27. The unseen benchmarks are not tackled cold: each benchmark-harness pair gets five preparation trials, summarised into skills, before evaluation, and the router's memory updates as it works through unseen instances. Later gains on the 17 native training benchmarks were smaller than on the full training set, with the mean moving from 64.4 to 68.8 after round one. The main text reports no measures of variance, and only one backbone model was tested. The authors themselves note that only the harness improves, not the model, that results from web search for benchmark discovery may vary in quality, and that the robot comparisons do not separate the effect of module evolution from that of skill preparation.
braintankAI has covered a Xiaomi training loop that swaps in fresh, checkable questions once its practice tasks go stale (earlier story). The Trinity approaches the same supply problem from another side: it generates practice worlds for each capability and evolves the scaffolding rather than the model's weights.
- Paper
- The Trinity:Capability-Driven Recursive Self-Improvement for Multimodal Agents
- Authors
- Weidong Tang, Ruiheng Wang, Jingxuan Zhang, Hexin Wang, Haoyuan Chen, Zhengfeiyang Zhang et al.
- Venue
- arXiv preprint — not yet peer reviewed · 26 October 2026
- Link
- arxiv.org/abs/2610.36077
- Index
- stacks.braintank.ai
- Code
- github.com/InfRec-Cardinal/The-Trinity
- Cite

