Klear-AgentForge: Forging Agentic Intelligence through Posttraining Scaling

Qi Wang, Hongzhi Zhang, Jia Fu, Kai Fu, Yahui Liu, Tinghai Zhang, Chenxi Sun, Gangwei Jiang, Jingyi Tang, Xingguang Ji, Yang Yue, Jingyuan Zhang, Fuzheng Zhang, Kun Gai, Guorui ZhouarXiv 2025 · DOI

Introduction

While proprietary models like Claude 3.5 Sonnet and GPT-4o have set the standard for agentic behavior—interacting with tools, browsing the web, and resolving complex software issues—the open-source community has lacked a reproducible "recipe" for such performance. Standard Large Language Models (LLMs) often struggle with multi-turn environment interactions, sparse rewards in long-horizon tasks, and compute bottlenecks during training.

Klear-AgentForge addresses these challenges with a comprehensive, fully open-source pipeline designed to transform standard LLMs into elite agentic models. By combining massive synthetic data scaling with a novel asynchronous reinforcement learning (RL) framework, the researchers produced an 8B model that rivals or outperforms models four times its size on major benchmarks.

Methodology

The Klear-AgentForge pipeline utilizes a two-stage post-training approach starting from the Qwen3-8B base model.

1. Supervised Fine-Tuning (SFT) Scaling

The authors curated a massive dataset of 2.4 billion tokens focused on tool-use and coding. To improve efficiency in software engineering tasks, they developed "mini-swe-agent-plus," a lightweight scaffold that enables multi-line string replacements in code, significantly reducing the number of turns required to solve a bug.

2. Multi-Turn Reinforcement Learning (RL)

The pipeline employs a modified version of Group Relative Policy Optimization (GRPO). To mitigate the sparse reward problem, the team implemented a hybrid reward strategy:

  • Outcome Rewards: Binary feedback based on final task completion.
  • Step-wise Rewards: Localized feedback for specific tool calls to guide the model through complex sequences.

3. Disaggregated Architecture and Model Merging

To eliminate GPU idling during environment interaction (e.g., waiting for a Python sandbox), the team separated "rollout" nodes from "train" nodes. This disaggregated architecture allows training to overlap with environment interaction, yielding a 32% efficiency boost. Finally, specialized agents trained for different domains were unified using the Select-Calculate-Erase (SCE) merging method.

Evaluation and Results

The model was evaluated across several rigorous benchmarks, including BFCL v3 for tool-use, $\tau$-bench for real-world interactions, and SWE-bench Verified for software engineering.

Klear-AgentForge-8B performance on SWE-bench Verified compared to other models.

As shown in the results, Klear-AgentForge-8B achieved a state-of-the-art score of 39.4% on SWE-bench Verified, significantly outperforming other 8B-class models. In tool-use benchmarks, the model demonstrated similar dominance.

Performance on the Berkeley Function-Calling Leaderboard (BFCL) v3.

On the BFCL v3 leaderboard, Klear-AgentForge-8B scored 71.5, surpassing the official Qwen3-32B Thinking model (70.4) and remaining highly competitive with proprietary models like GPT-4.1 (62.1).

Key Insights

  • Small Models Punch Up: High-quality post-training scaling allows an 8B model to outperform much larger 32B models on agentic tasks, proving that parameter count is not the sole determinant of performance.
  • The "Thinking" Trap: The researchers found that excessive Chain-of-Thought (CoT) reasoning can sometimes hinder agents. Models may exhaust their output limits in "thinking loops" before executing necessary tool calls.
  • Environment Feedback as a Verifier: During test-time scaling, "Agent Confidence Selection"—using internal token probabilities—proved to be the most reliable method for identifying successful task trajectories.

Conclusion

Klear-AgentForge provides a blueprint for the open-source community to build high-performance agents. By optimizing both the data scaling and the underlying training infrastructure, the project demonstrates that 8B-parameter models can achieve frontier-level performance in coding and tool-use, paving the way for more efficient and accessible agentic intelligence.

Summary updated

BibTeX
@misc{wang2025klear,
  author = {Qi Wang and Hongzhi Zhang and Jia Fu and Kai Fu and Yahui Liu and Tinghai Zhang and Chenxi Sun and Gangwei Jiang and Jingyi Tang and Xingguang Ji and Yang Yue and Jingyuan Zhang and Fuzheng Zhang and Kun Gai and Guorui Zhou},
  title = {{Klear-AgentForge: Forging Agentic Intelligence through Posttraining Scaling}},
  year = {2025},
  eprint = {2511.05951},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.05951},
}
Figure