LegoX

An open-source collection advancing frontier agentic intelligence

LegoX is a series of open-source projects spanning agentic data pipelines, training frameworks, evaluation benchmarks and foundation models. Our mission is to connect these pieces into reproducible and extensible systems that advance frontier intelligence.

News

Single-Rollout Asynchronous Optimization for Coding Agents: Practice in Lego-RL

Can one rollout provide enough signal to train a coding agent? SAO makes single-rollout training practical with a learned critic, warmup, and advantage whitening, achieving competitive performance with more efficient training.

How Can Coding-Agent RL Generalize Across Harnesses?

Can one RL-trained checkpoint work across OpenHands SDK, Claude Code, and OpenCode? We compare mixed-harness reinforcement learning with single-harness training and model merging across all three harnesses.

LegoFlow: Easy and interactive framework for code-data engineering

Agent-native workflows connect task curation, trajectory rollout, training, and evaluation. We also release LegoFlow-SWE, with 5,000 open-source tasks and 2,780 successful trajectories filtered from 12M PRs.

Introducing Lego-RL

An open-source framework for harness-native reinforcement learning of coding agents. Code, data, and models are available now.

SWE-Lego passes 200K downloads

Our open models and datasets have reached a new cumulative download milestone on Hugging Face—made possible by the community using and building on them.

Collaboration

Collaborating institutions

Huawei Technologies logoNanyang Technological University, Singapore logoThe University of Hong Kong logoThe Hong Kong University of Science and Technology logoThe Chinese University of Hong Kong logo