arXiv:2610.30949cs.CLOct 2026

Manuscript Offprint

arXiv:2610.30949

IQuest-Q1: Advancing Foundation Capabilities for Agentic CLI Systems

A. Jian Yang, An Huang, Bo Dan, Chen Mu, Chengran Yang, Chuan Shi, Feng Chang, Hongxin Li, Hongyuan Tao, Jinxing Zhang, Jujie He, Kun Wang, Lin Jing, Ming Yang, Qicheng Hu, Renyuan Li, Shark Liu, Shawn Guo, Shi Qing, Shi Zhong, Tianyu Zheng, Wei Liu, Wei Zhang, Wenrui Cai, Wenxiao Chen, Xuxing Chen, Yan Xing, Yi Xing, Yifan Luo, Yiran Xing, Yizhi Li, Yongsheng Kang, Yucheng Ding, Yue Song, Yun Qing, Yunqi Liu, Zelong Huang, Zhengmao Ye, Zhentao Fan, Zhiteng Li, Ziling Huang, Bihong Tang, Bingli Wang, Ce Jun, Changhao Chen, Chen Hu, Chen Xiao, Chi Liu, Chunjiang Ge, Danyang Li, Deyang Kong, Dian Qi, Ding Tan, Evan Yang, Fanglin Xu, Fei Bai, Gang Liu, Guochang Li, Hao Tang, Haoran Feng, Haowen Wang, Huahao Hu, Huanjin Yao, Huatong Song, Jia Deng, Jiajun Wu, Jialiang Cheng, Jiayi Liang, Jiayi Wu, Jie Deng, Jiejun Tan, Jing Yang, Jingda Xu, Junhang Cheng, Junxiao Liu, Kai Lv, Kaixiang Pan, Kecheng Lu, Kun Zeng, Kun Zheng, Kunbo Ding, Liang Qiu, Lingyi Sun, Luan Zhang, Mengxiao Lv, Ning Dong, Pei Wang, Peng Zhang, Qingsong Cai, Qixiang Yin, Qiyao Wang, Renbiao Liu, Renfei Dang, Ruihang Li, Ruirui Huang, Shanhui Yin, Shen Jian, Shengjie Fang, Shikai Li, Shinan Zhang, Shiqi Chen, Shuai Liu, Shuangqi Li, Shuo Tang, Shuqing Deng, Sijin Hao, Siwei Wu, Siyue Wang, Tao Hai, Tao Ren, TingYang Chen, Wei Shao, Weicheng Gu, Weihan Peng, Wenlong Miao, Xavier Yu, Xiangyuan Ji, Xiaocheng Li, Xiaodong Huang, Xiaohan Ge, Xiaoxiang Shi, Xiaoyang Zhang, Xiaoyu Yang, Xidong Wang, Xin Li, Xinyu Tang, Xiyuan Yang, Xudong Ma, Ya Tong, Yachao Wang, Yang Tian, Yaxin Du, Yeli Ruan, Yi Wang, Yi Yu, Yibin Feng, Yibo Tan, Yihang Wang, Yiming Ju, Yinda Chen, Yinda Chen, Yingjie Du, Yiwei Liu, Yizhi Zhou, Yuan Wei, Yuli Chen, Yuqi Zhu, Yuwen Li, Yuxi Dong, Yuxuan Zhang, Yuyang Song, Zhange Zhang, Zhaohan Zhang, Zhaoyi Li, Zhen Zhang, Zhengbo Zhang, Zhihang Hu, Zhiwei Yu, Zhixin Xie, Zhiyu Chen, Zhizhao Luo, Zhongyuan Wu, Zhou Fang, Zhu Lin, Zhuocheng Gong, Zixi Zhao, Ziyang Zeng, Ziyi Wang, Ziyu Zhao, Ran Tao, Mingjie Tang, Chuan Hao, Peihao Wu, Jianzhou Wang, Nan Jiang, Yuan Zhi, Bryan Dai

Abstract

We present IQuest-Q1, a sparse Mixture-of-Experts (MoE) agentic foundation model with 320B total parameters (15B activated). IQuest-Q1 is developed through a three-stage process: (1) stable and efficient pre-training, combining Stable SplitNorm, Muon, and μ\muP with a two-stage curriculum whose second stage increases the coding-data mixture, preserving a wide stability margin between safe and optimal learning rates; (2) fine-grained mid-training, expanding the data mixture across domains and formats and progressively extending the context; and (3) multi-scaffold with multi-version post-training, combining SFT, domain-specialized RL, and MOPD across various scaffolds to integrate complementary training signals and strengthen agentic coding capabilities. Furthermore, model merging combines different experts and checkpoints from different stages while mitigating conflicts among their parameter updates. The resulting IQuest-Q1 demonstrates capabilities in both coding and general tasks. We release IQuest-Q1 as an open-source model to support community research and development.

DeepSWE v1.1

Figure

NL2Repo

CyberGym

Terminal-Bench 2.1

JobBench

Agents' Last Exam

Figure

Humanity's Last Exam

IQuest-CLIBench

Figure 1. IQuest-Q1 performance across benchmarks. DeepSeek-V4-Flash/Pro refer to the official 0731/0813 releases, respectively. Humanity’s Last Exam is reported without tools. IQuest-CLIBench is our proprietary built-in benchmark for evaluating human-agent collaboration and user experience (see Section 5 for details).

1. Introduction

LLM-based agents allow language models [1–7] to perform tasks through iterative reasoning, action, and interaction with external environments, rather than merely generating responses [8–10]. Among these environments, command-line interfaces (CLIs) have become one of the most general ways for language models to interact with external systems, use tools, access files, and execute code. As a result, building more capable agentic models requires stronger CLI capabilities.

In this work, we release IQuest-Q1, an open-source agentic foundation model with broad CLI capabilities across a wide range of general and coding tasks, with strengths in software engineering, general-purpose task execution, long-horizon reasoning and execution, and cybersecurity. We also optimize IQuest-Q1 for real-world CLI use, with reliable tool use and robust performance across different agent harnesses.

Methods. IQuest-Q1 is trained through a multi-stage pipeline (see Figure 2) to progressively develop general knowledge, long-context capabilities, and agentic CLI capabilities. General pre-training combines Stable SplitNorm [11, 12], Muon [13], and μ\muP parameterization [14] with a two-stage curriculum that increases the coding-data mixture in the second stage. This design improves scaling efficiency while maintaining a wide stability margin between safe and optimal learning rates. Mid-training then expands the data mixture across domains and formats while progressively extending the context. Post-training (shown in Figure 6) builds diverse CLI [8, 15] capabilities through synthesized tasks executed in production environments. Specifically, SFT establishes basic CLI interaction, while RL enhances capabilities through task-level feedback and multi-teacher on-policy distillation (MOPD) consolidates complementary model capabilities from diverse frozen experts into a unified model. Model merging further combines complementary capabilities from expert models trained for different CLIs, while mitigating conflicts among their parameter updates.

Results. Figure 1 shows the results of IQuest-Q1 on 8 agentic and reasoning benchmarks, highlighting three aspects of its capabilities: (1) Advancing coding capability. IQuest-Q1 demonstrates coding capabilities across benchmarks, including DeepSWE v1.1, CyberGym, and NL2Repo. (2) Broad general agentic and reasoning capability. Beyond coding, IQuest-Q1 demonstrates capabilities on general agentic and reasoning benchmarks, including JobBench, Agents' Last Exam, and Humanity's Last Exam. (3) Optimized CLI interaction experience. On our internal IQuest-CLIBench, IQuest-Q1 manifests user-facing CLI interaction capabilities on interactive task.

Beyond benchmark performance, IQuest-Q1 participates in an iterative model-development process built on our internal infrastructure, contributing to the development of its own successors under human supervision. This human-on-the-loop process provides a practical pathway towards recursive self-improvement, allowing model-generated improvements to accelerate subsequent model iterations.

Our contributions are summarized as follows:

• IQuest-Q1: an open-weight agentic model optimized for CLI capability. IQuest-Q1 is a sparse MoE model with 320B total parameters, of which 15B are activated per token, combining substantial general-purpose, coding-agent, and CLI interaction capabilities. We release its model weights to support further research and development in the community.

• CLI-centric training pipeline. We build the training pipeline around CLI-based agentic interaction. Pre-training progressively develops the capabilities required for downstream

Figure

Figure 2. Training pipeline of IQuest-Q1.

interaction through staged data mixtures. Post-training specializes these capabilities through task and environment synthesis, multi-scaffold RL, and MOPD to consolidate multiple models into a unified model.

• Model development with human-on-the-loop RSI. We incorporate IQuest-Q1 into our iterative model-development process, allowing it to evaluate its capabilities and suggest potential improvements through a unified infrastructure interface under human supervision. This process enables continuous model improvement while shortening the overall development cycle.

References (77)