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.
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.
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