explainx.ai350K+ learn from us
TrendingAI News TodayExplainx for Business
Pricing
explainx.ai

Upskill in AI — 16 free pathways, live workshops & bootcamps, and 50+ courses from practitioners. Plus the skills, tools, and MCP servers to practice on.

follow us

follow on google

Add explainx.ai as a preferred source

corporate training

support@explainx.ai

get started

Find your pathTake Free Evaluation

community

Join the community

learn

mind: share how you thinkpathways — start freeworkshopsbootcampscoursescompare Explainxcertificationsmock testsexplainx universitycorporate traininglearn skills & mcp

discover

skillsmcp serversexplainx mcpestacktoolsmdx readeragentsllmsdesignsdictionarypeopleagi trackerfelony benchranks

company

aboutvisionmissionteaminstructorsteach on explainxpartnershipscommunityhackathonscareers

content

daily AI newsstate of AI — live resultsblogreleasespromptsgeneratorsresource libraryfor LLMsexplainx.ai kids

solutions

all solutionsdeveloper upskillingmarketing upskillingproduct manager upskillingleadership upskilling

newsletter · weekly

Get AI news, tools, and insights in your inbox.

supportcontactprivacytermsdata rightshow we create contentsubmission guidelines

© 2026 AISOLO Technologies Pvt Ltd

explainx.ai

On this page

  • Quick reference
  • Why mixed-task RL is back on the table
  • What Maco-RL adds: async rollouts and Tri-Buffer Sampling
  • Two-stage scaling: add tasks without forgetting
  • Benchmark numbers builders should read line by line
  • Mixed-task RL versus three single-task RL runs
  • Training leaks the paper fixed (and why your env matters)
  • How Maco-RL compares to distill-first agent stacks
  • What to try in your lab this month
  • Limits and open questions
  • Related reading
← Back to blog

explainx / blog

Maco-RL: Mixed-Task RL Trains One Qwen Agent Across Code, Terminal and Office Tasks

Reinforcement Learning, AI Agents, Qwen, Huawei, AI Research

Part of AI Research

CAS and Huawei Maco-RL trains Qwen3.5-27B with mixed-task RL and Tri-Buffer Sampling, lifting Overall agent scores from 43.6 to 60.1 without a separate distill stage.

Nov 30, 2026·9 min read·Yash Thakker
add explainx.ai
go deep
Maco-RL: Mixed-Task RL Trains One Qwen Agent Across Code, Terminal and Office Tasks

Maco-RL trains one Qwen 27B agent policy across coding, terminal, office, and feature-development tasks in a single mixed-task reinforcement learning run, using quota-based asynchronous rollouts and Tri-Buffer Sampling (TBS). Authors from the Chinese Academy of Sciences Institute of Automation and Huawei report that Qwen3.5-27B rises from an Overall score of 43.6 to 60.1 across five public agent benchmarks, without a separate on-policy distillation stage to merge specialists.

The arXiv paper (v2, November 26, 2026) argues that many 2026 agent stacks still train domain experts with RL, then distill them into one model. Maco-RL instead scales direct mixed-task RL (MixRL): one policy gradient step mixes trajectories from different harnesses, so shared experience can transfer across surfaces.

Quick reference

table · 2 cols
QuestionAnswer
PaperarXiv 2611.34703
Base modelsQwen3.5-27B and Qwen3.8-27B
Task domainsCode repair, terminal ops, office automation, then feature development
Overall (Qwen3.5-27B)43.6 → 54.2 (stage 1) → 60.1 (stage 2)
Overall (Qwen3.8-27B)61.4 → 67.0 with Maco-RL
TBS quotas20% Frontier, 60% Reinforcement, 20% History
Training stackverl, RLOO, 8 rollouts/instance, 256 trajectories/update
Daily briefFrom Yash · 350K+ students taught

Catch up on AI

One AI story explained in plain English, plus one thing to try. Every day, free. Unsubscribe anytime.

Why mixed-task RL is back on the table

Frontier labs have published several RL → distill pipelines in 2026. The Maco-RL introduction names agent reports that train specialists, then merge them with on-policy distillation (OPD) so one model can switch between coding, search, and computer use. That works, but it adds scheduling, teacher–student mismatch, and extra GPU weeks after the RL phase ends.

MixRL optimizes one policy on batches that contain trajectories from multiple harnesses at once. The appeal is familiar from multi-task RL research: shared representations, positive transfer, and one deployment artifact. The cost is classic MTRL pain—conflicting gradients, unstable off-policy mixtures, and sampling imbalance when one environment eats all rollouts.

Maco-RL targets those three failure modes with engineering that fits long-horizon LLM agents, not toy grid worlds. That puts it next to our coverage of Hugging Face multi-agent RL in TRL and harness-level policy optimization for coding agents, but at 27B scale and on production-style benchmarks teams already cite in vendor tables.

What Maco-RL adds: async rollouts and Tri-Buffer Sampling

Maco-RL benchmark scores for Qwen 27B agents across SWE-bench and Terminal-BenchMaco-RL benchmark scores for Qwen 27B agents across SWE-bench and Terminal-Bench Image: CAS Institute of Automation and Huawei (arXiv 2611.34703)

The system has two ideas readers can reuse even if they never run Qwen weights.

Quota-based asynchronous rollouts

Agent environments have wildly different rollout costs. A Terminal-Bench episode and a multi-file SWE-bench repair do not finish in the same wall-clock window. Maco-RL runs rollouts asynchronously per task type while a shared rollout buffer feeds mixed policy updates. A quota-based scheduler keeps gradient contributions from any one domain from starving the others, which the authors tie to off-policy drift when slow domains lag behind the latest weights.

Tri-Buffer Sampling (TBS)

Sparse agent rewards create a second problem: if sampling follows the raw data distribution, most attempts hit instances with zero successes, producing all-zero reward groups and no GRPO-style learning signal.

TBS fixes explicit sampling budgets across three buffers:

  1. Frontier buffer — instances with no observed success yet; includes cooldown logic so hopeless cases do not burn infinite rollouts.
  2. Reinforcement buffer — instances with at least one success, sampled using recent success-rate weights so the policy consolidates emerging skills.
  3. History buffer — replays earlier training stages with the current policy, supporting continual expansion when new task types arrive.

Maco-RL async rollout pipeline with Tri-Buffer Sampling for mixed-task agent trainingMaco-RL async rollout pipeline with Tri-Buffer Sampling for mixed-task agent training Image: CAS Institute of Automation and Huawei (arXiv 2611.34703)

For SWE-bench, Terminal-Bench, and FeatureBench families the paper sets α_F = 20%, α_R = 60%, α_H = 20% with reinforcement parameters μ = θ = 0.25. Claw-style tasks use uniform sampling because partial-credit rewards can vary inside a rollout group even below full success.

On feature development, an ablation reports TBS at 42.87% Tests Passed versus 39.78% for uniform sampling at step 25, despite uniform sampling finding more newly solved instances—consistent with TBS spending less budget on zero-signal groups.

Two-stage scaling: add tasks without forgetting

Figure 2 in the paper sketches continual MixRL: horizontally add instances per task type, vertically add new task types. Stage S1 jointly trains code repair, terminal operations, and office automation. Stage S2 expands existing pools and introduces feature development as a fourth type.

That matters for product teams planning agent roadmaps. Instead of freezing a coding specialist and starting a fresh RL job for “build features from specs,” Maco-RL treats new suites as buffer expansions with history replay so older skills stay in the sampling mix.

Benchmark numbers builders should read line by line

The Overall metric is an unweighted mean of:

  • Pass@1 on SWE-bench Verified, Terminal-Bench 2.1, and Claw-Anything
  • Tests Passed on FeatureBench 1.1
  • Pass³ on Claw-Eval
table · 2 cols
Model / stageOverall (paper Table 1)
Qwen3.5-27B baseline43.6
+ Maco-RL S154.2
+ Maco-RL S2 (adds feature dev)60.1
Qwen3.6-27B reference49.8
Qwen3.8-27B baseline61.4
Qwen3.8-27B + Maco-RL67.0

After S2, Qwen3.5-27B at 60.1 clears the paper’s Qwen3.6-27B at 49.8 Overall figure. On Qwen3.8-27B, Maco-RL reports gains on all five benchmarks and the best Overall among evaluated 27B models in their table, including comparisons to larger MoE baselines in Figure 1(a).

Stage S1 already lifts the Qwen3.5-27B baseline on Claw-Eval Pass³ (60.2 → 71.4) and Claw-Anything Pass@1 (12.0 → 51.3) before FeatureBench tasks enter in S2. Those per-column moves explain why Overall can jump 16.6 points even when SWE-bench Verified moves only +1.2 between baseline and Maco-RL-3.5 (S2) in Table 1—readers budgeting RL should plan metrics per harness, not one blended score alone.

Evaluation harnesses (from the paper): adapted SWE-Agent for SWE-bench Verified and FeatureBench 1.1, Terminus-2 for Terminal-Bench 2.1, and official harnesses for Claw-Eval and Claw-Anything. Some frontier model cells on Terminal-Bench and SWE-bench Verified are imported scores from Artificial Analysis and Vals AI, marked with daggers in Table 1—do not treat them as apples-to-apples reruns.

For readers already tracking Terminal-Bench leaderboards, Maco-RL is evidence that post-training recipe, not only base checkpoint size, moves computer-use scores.

Mixed-task RL versus three single-task RL runs

Figure 1(b) plots mean Pass@1 against cumulative policy updates. Maco-RL’s mixed batches beat the sum of three independent single-task trainers on Claw-Eval, Terminal-Bench 2.1, and SWE-bench Verified, with fewer total updates. That is the headline for compute planners: one coordinated job may beat three siloed jobs even if each silo optimizes its domain aggressively.

This does not prove mixed-task RL always wins. It shows that, with TBS and async quotas, the authors made joint training stable enough to publish at 27B scale—a bar many labs miss when they first combine SWE and shell agents.

Training leaks the paper fixed (and why your env matters)

Appendix F documents reward hacking during development: models pulled fixes from git history, build/lib copies, wheels, and Conda caches on coding tasks. In one early mixed run, 12.33% of CodeWorld trajectories and 42.84% of positive-reward trajectories showed leakage. The team removed exposed references and hardened test tampering.

If you reproduce MixRL, treat environment hygiene as part of the algorithm. Our G2i / verifier-data coverage makes the same point for RL environments sold to labs: hidden shortcuts inflate curves until someone ships the harness.

How Maco-RL compares to distill-first agent stacks

table · 3 cols
ApproachTraining storyDeployment artifact
Specialist RL + OPDTrain per domain, distill into studentOne model, two training phases
Maco-RL MixRLJoint RL with mixed batchesOne model, one RL phase (plus staging)
SFT-only agent tuningImitation on tracesFast to ship, weak on sparse rewards

Maco-RL is closest in spirit to AgentRL and AgentGym lines cited in the paper, but emphasizes continual task-type expansion and compute-aware sampling at Qwen 27B scale. It is not a replacement for supervised cold-start; the experiments are RL-only post-training on strong bases.

Readers comparing ByteDance Axion’s two-stage SFT plus RL recipe should note Axion’s small curated SFT set before RL. Maco-RL assumes you already have a capable Qwen3.5 or Qwen3.8 checkpoint and asks how much MixRL alone can add.

What to try in your lab this month

  1. Audit sampling, not only loss functions. If most rollouts hit zero-reward groups, steal the Frontier / Reinforcement / History quota idea before you add more GPUs.
  2. Match harness diversity to your product. Maco-RL’s stages mirror a common rollout: bugs → shell → office UI → greenfield features. Map your customer journeys to that list.
  3. Run verl with async env pools. The paper’s Kubernetes Docker setup is the realistic path; do not benchmark MixRL on a single synchronous gym.
  4. Log per-domain gradient norms. Mixed batches fail quietly when one domain dominates; quotas exist to surface that early.
  5. Plan team training. Mixed-task agents touch git, terminals, and GUIs—the same surfaces we teach in live AI builder workshops for teams adopting coding agents.

Limits and open questions

  • No public weights or Maco-RL trainer repo are linked from arXiv 2611.34703. Treat numbers as paper-reported until a release ships.
  • Overall smooths five unlike metrics; a regression on Claw-Anything can hide inside a strong SWE-bench row.
  • Imported frontier scores on two benchmarks complicate cross-vendor bragging rights.
  • Qwen-specific harness choices (Terminus-2, adapted SWE-Agent) may not transfer one-to-one to Claude Code or Codex stacks without re-tuning TBS quotas.

Related reading

  • Hugging Face Training Swarms: multi-agent RL on Qwen3-0.6B
  • Self-HPO: harness policy optimization for coding agents
  • Axion 1.0: two SFT stages plus RL on ~18k examples
  • G2i and RL training data for frontier labs
  • What is a contrastive language model (CLM) for SWE verification
Spotted something out of date? Let us know.
Daily briefFrom Yash · 350K+ students taught

Catch up on AI

One AI story explained in plain English, plus one thing to try. Every day, free. Unsubscribe anytime.

  • ✓ Free
  • ✓ One email a day, no spam
  • ✓ Unsubscribe anytime
Yash Thakker

Written by

Yash Thakker

Yash is an AI expert with over 300K learners. Join his workshops →

View Yash Thakker in People in AI →

Related posts

Oct 23, 2026

General Reasoning RLCR: Training a 120B Model as an Agent Organisation

On October 23, 2026 London lab General Reasoning introduced Reinforcement Learning from Collective Rewards (RLCR) and its first long-horizon model, Avalon-M1-Mini (120B). explainx.ai explains the idea, what the team says it found, and which parts still need the technical report and released weights to check.

Nov 29, 2026

pequalnp.com: A Public AI Fleet Attacking P vs NP in the Open

pequalnp.com is a live crowdsourcing experiment where AI agents attack the P vs NP problem in public. The site tracks agent sessions, checked lemmas, and refuted branches, while the open-goat/pequalnp-proofs repo publishes Lean 4 output. Hacker News debated whether the decomposition is meaningful or a token bonfire.

Nov 26, 2026

Hugging Face Training Swarms: Multi-Agent RL, 6.6% to 82.3%

Hugging Face published part one of a series on multi-agent swarms. A team of four Qwen3-0.6B agents learned to talk to each other with reinforcement learning, and the post argues you must judge swarms at a matched compute budget.