KAT-Coder-V2.5让代码模型在真实仓库中自主执行,提升工具使用能力。
KAT-Coder-V2.5 Technical Report

- 构建可复现的沙箱环境,实现任务验证与轨迹回溯。
- 在6个基准上表现领先,尤其在PinchBench上最优。
- 适合需要高可靠性自动化编程的开发者和研究者。
我们提出KAT-Coder-V2.5,一个能在真实可执行仓库中自主运行的编码代理模型,突破传统单次代码生成的局限。其性能瓶颈主要来自可复现环境、可验证奖励和高质量轨迹的稀缺性,为此我们设计端到端的代理后训练框架。AutoBuilder将多语言仓库重构为可规模化验证的沙箱环境,支持失败即不通过、成功才通过的验证机制;在此基础上,我们重新生成自包含任务规范,恢复近失轨迹,并通过过程感知过滤提炼监督信号。KwaiClawEnv则从可执行服务和真实任务种子中合成大规模工具使用轨迹。我们进一步通过捕获随机化、强化可靠性的沙箱、带有事后增强价值估计的非对称演员-评论家PPO,以及面向捕获的奖励框架,扩展强化学习规模,并通过多教师在线蒸馏统一SWE、Agent-Claw和WebCoding专家。在六个软件工程与代理基准测试中,KAT-Coder-V2.5在PinchBench上取得最佳代理工具使用表现,在仓库级软件工程任务中仅次于前沿模型Opus 4.8。服务地址:https://streamlake.com/product/kat-coder。
原文摘要 · Abstract (English)
We present KAT-Coder-V2.5, a coding-focused agentic model trained to act autonomously inside real, executable repositories rather than as a single-turn code generator. Its capability is bottlenecked less by model scale than by the scarcity of reproducible environments, verifiable rewards, and high-value trajectories, which we address with an end-to-end agentic post-training framework. AutoBuilder reconstructs multilingual repositories into sandboxed environments with fail-to-pass and pass-to-pass verification at scale, from which we regenerate self-contained task specifications, recover near-miss trajectories, and distill supervision through process-aware filtering, while KwaiClawEnv synthesizes large-scale tool-use trajectories from executable services and real task seeds. We further scale reinforcement learning with harness randomization, a reliability-hardened sandbox, an asymmetric actor--critic PPO with hindsight-augmented value estimation, and a harness-oriented reward framework, and unify SWE, Agent-Claw, and WebCoding experts via Multi-Teacher On-Policy Distillation. Across six software-engineering and agentic benchmarks, KAT-Coder-V2.5 delivers the best agentic tool-use result on PinchBench and ranks second only to the frontier Opus 4.8 on repository-level software engineering. Our service is available at https://streamlake.com/product/kat-coder.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。