arXiv:2510.12399cs.AI2025-10综述被引 34

首篇系统综述大模型驱动的‘氛围编程’,揭示其有效实践框架与协作挑战。

A Survey of Vibe Coding with Large Language Models

  • 以约束马尔可夫决策过程形式化‘氛围编程’三元关系
  • 基于1000+论文提炼出五种开发模式,涵盖测试驱动与规划驱动等
  • 强调环境工程与人机协作模型比单纯提升代理能力更关键

大语言模型的进步推动了从代码辅助生成向自主编码代理的范式转变,催生了一种新型开发方法——‘氛围编程’(Vibe Coding),开发者通过观察结果而非逐行理解代码来验证AI生成的实现。尽管潜力巨大,该范式的效果仍缺乏实证研究,现有证据显示其导致意外的生产力下降,并存在人机协作的根本性挑战。为填补这一空白,本综述首次对大模型支持下的氛围编程进行系统性全面回顾,建立该变革性开发方法的理论基础与实践框架。基于对超过1000篇研究论文的系统分析,我们全面审视了氛围编程生态系统中的关键基础设施,包括用于编码的大语言模型、基于大语言模型的编码代理、编码代理的开发环境以及反馈机制。我们首先通过约束马尔可夫决策过程的形式化定义,将氛围编程作为一门正式学科引入,捕捉开发者、软件项目与编码代理之间的动态三方关系。在此理论基础上,我们将现有实践归纳为五种不同的开发模型:无约束自动化、迭代对话协作、规划驱动、测试驱动与上下文增强模型,首次构建该领域的完整分类体系。关键发现表明,成功的氛围编程不仅依赖于代理能力,更取决于系统的上下文工程、成熟的开发环境以及人机协同开发模型。

原文摘要 · Abstract (English)

The advancement of large language models (LLMs) has catalyzed a paradigm shift from code generation assistance to autonomous coding agents, enabling a novel development methodology termed "Vibe Coding" where developers validate AI-generated implementations through outcome observation rather than line-by-line code comprehension. Despite its transformative potential, the effectiveness of this emergent paradigm remains under-explored, with empirical evidence revealing unexpected productivity losses and fundamental challenges in human-AI collaboration. To address this gap, this survey provides the first comprehensive and systematic review of Vibe Coding with large language models, establishing both theoretical foundations and practical frameworks for this transformative development approach. Drawing from systematic analysis of over 1000 research papers, we survey the entire vibe coding ecosystem, examining critical infrastructure components including LLMs for coding, LLM-based coding agent, development environment of coding agent, and feedback mechanisms. We first introduce Vibe Coding as a formal discipline by formalizing it through a Constrained Markov Decision Process that captures the dynamic triadic relationship among human developers, software projects, and coding agents. Building upon this theoretical foundation, we then synthesize existing practices into five distinct development models: Unconstrained Automation, Iterative Conversational Collaboration, Planning-Driven, Test-Driven, and Context-Enhanced Models, thus providing the first comprehensive taxonomy in this domain. Critically, our analysis reveals that successful Vibe Coding depends not merely on agent capabilities but on systematic context engineering, well-established development environments, and human-agent collaborative development models.

大模型编程人机协作开发范式

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。