arXiv:2505.19443cs.SEcs.AI2025-05被引 74

区分了两种AI编程范式,揭示如何协同提升开发效率。

Vibe Coding vs. Agentic Coding: Fundamentals and Practical Implications of Agentic AI

  • 用提示词交互实现创意探索,适合快速原型和教学。
  • 自主代理可规划、执行、测试代码,适用于企业级自动化。
  • 未来需融合人机优势,构建可信协作的开发体系。

本文全面分析了AI辅助软件开发中的两种新兴范式:vibe coding与agentic coding。两者虽均基于大语言模型(LLMs),但在自主性、架构设计和开发者角色上存在本质差异。vibe coding强调通过基于提示的对话式工作流实现直观的人机协同,支持构思、实验与创意探索;而agentic coding则通过目标驱动的智能体实现自主开发,具备规划、执行、测试与迭代能力,人类干预极少。本文提出涵盖概念基础、执行模式、反馈机制、安全策略、调试方法及实际工具生态的详细分类体系。通过20个具体案例对比分析,表明vibe系统在早期原型设计与教育场景中表现优异,而agentic系统在企业级自动化、代码库重构与CI/CD集成方面更具优势。此外,文章探讨了自然语言接口与自主执行流水线结合的混合架构趋势,并勾勒出可信、可解释、可协作的agentic AI未来蓝图。研究指出,成功的AI软件工程不在于二选一,而在于在以人为本的开发流程中协调二者优势。

原文摘要 · Abstract (English)

This review presents a comprehensive analysis of two emerging paradigms in AI-assisted software development: vibe coding and agentic coding. While both leverage large language models (LLMs), they differ fundamentally in autonomy, architectural design, and the role of the developer. Vibe coding emphasizes intuitive, human-in-the-loop interaction through prompt-based, conversational workflows that support ideation, experimentation, and creative exploration. In contrast, agentic coding enables autonomous software development through goal-driven agents capable of planning, executing, testing, and iterating tasks with minimal human intervention. We propose a detailed taxonomy spanning conceptual foundations, execution models, feedback loops, safety mechanisms, debugging strategies, and real-world tool ecosystems. Through comparative workflow analysis and 20 detailed use cases, we illustrate how vibe systems thrive in early-stage prototyping and education, while agentic systems excel in enterprise-grade automation, codebase refactoring, and CI/CD integration. We further examine emerging trends in hybrid architectures, where natural language interfaces are coupled with autonomous execution pipelines. Finally, we articulate a future roadmap for agentic AI, outlining the infrastructure needed for trustworthy, explainable, and collaborative systems. Our findings suggest that successful AI software engineering will rely not on choosing one paradigm, but on harmonizing their strengths within a unified, human-centered development lifecycle.

AI编程智能体人机协同开发范式

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