GLM-5:从氛围编码到智能体工程

GLM-5: from Vibe Coding to Agentic Engineering

唐杰 Jie Tang · Zhipu AI · 2026-02-17 · arXiv:2602.15763 ↗ · 被引 241

打开互动全文版(逐段中英对照 + 图/公式 + 论文问答)→

摘要 · Abstract

我们提出了 GLM-5,这是一个下一代基础模型,旨在将氛围编码范式转变为智能体工程。在其前身智能体、推理和编码能力的基础上,GLM-5 采用 DSA 显著降低训练和推理成本,同时保持长上下文保真度。为了推进模型对齐和自主性,我们实现了一种新的异步强化学习基础设施,通过将生成与训练解耦,大幅提升后训练效率。此外,我们提出了新颖的异步智能体强化学习算法,进一步提高了强化学习质量,使模型能够更有效地从复杂的长期交互中学习。通过这些创新,GLM-5 在主要开放基准测试中达到了最先进的性能。最关键的是,GLM-5 在真实世界编码任务中展现了前所未有的能力,在处理端到端软件工程挑战方面超越了之前的基线。代码、模型和更多信息可在 https://github.com/zai-org/GLM-5 获取。

We present GLM-5, a next-generation foundation model designed to transition the paradigm of vibe coding to agentic engineering. Building upon the agentic, reasoning, and coding (ARC) capabilities of its predecessor, GLM-5 adopts DSA to significantly reduce training and inference costs while maintaining long-context fidelity. To advance model alignment and autonomy, we implement a new asynchronous reinforcement learning infrastructure that drastically improves post-training efficiency by decoupling generation from training. Furthermore, we propose novel asynchronous agent RL algorithms that further improve RL quality, enabling the model to learn from complex, long-horizon interactions more effectively. Through these innovations, GLM-5 achieves state-of-the-art performance on major open benchmarks. Most critically, GLM-5 demonstrates unprecedented capability in real-world coding tasks, surpassing previous baselines in handling end-to-end software engineering challenges. Code, models, and more information are available at https://github.com/zai-org/GLM-5.

核心贡献 · Key contributions

局限 · Limitations

论文章节 · Sections(共 26)

阅读逐段中英对照全文 →