AI News AI资讯 11d ago Updated 11d ago 更新于 11天前 43

Same Prompt, Same Model Different Results: Put 5 AI Harnesses to the Test 相同提示词、相同模型不同结果:测试5款AI编程工具

Five AI coding harnesses (Codex, PI agent, Jcode, OpenCode, Reasonix) were tested with the identical prompt and the same underlying model (DeepSeek V4), producing surprisingly different outputs Runtime feedback loops — the ability to run headless browsers, take screenshots, and iterate on observed results — mattered more than raw code generation capability Codex produced the most ambitious build with complex physics and transparency effects; OpenCode produced a static non-interactive result desp 同一提示词+相同底层模型(DeepSeek V4)在不同AI编码工具中产生显著差异输出 工具反馈循环质量(如截图分析、迭代调试)比模型本身更决定最终代码质量 Codex过度工程化但效果最佳,OpenCode单文件方案导致交互失效 选择AI编码工具应关注框架的"眼手"能力而非仅比较底层模型

60
Hot 热度
65
Quality 质量
58
Impact 影响力

Analysis 深度分析

TL;DR

  • Five AI coding harnesses (Codex, PI agent, Jcode, OpenCode, Reasonix) were tested with the identical prompt and the same underlying model (DeepSeek V4), producing surprisingly different outputs
  • Runtime feedback loops — the ability to run headless browsers, take screenshots, and iterate on observed results — mattered more than raw code generation capability
  • Codex produced the most ambitious build with complex physics and transparency effects; OpenCode produced a static non-interactive result despite looking polished
  • The key metaphor: "If the model is the brain, the harness is the eyes and the hands" — tooling shapes output as much as the model itself
  • Simple prompts do not guarantee simple outputs; the same request yielded multi-file apps, single-file HTML blobs, and everything in between

Why It Matters

This experiment directly challenges the common assumption that model choice is the primary lever for AI coding quality. For practitioners, it means that investing in or selecting the right agent framework may yield more significant improvements than upgrading to a newer or larger model. It also highlights that runtime feedback mechanisms — the ability for an agent to observe, debug, and iterate on its own output — are a critical differentiator in real-world coding performance.

Technical Details

  • Experiment setup: A single non-technical prompt ("a tiny browser toy — a jelly blob you can poke, grab, and stretch") was given to five harnesses, all running DeepSeek V4, in sandboxed "YOLO" mode with no framework restrictions
  • Harnesses tested: Codex (OpenAI, Rust-based), PI agent (minimal TypeScript agent), Jcode, OpenCode, and Reasonix (positioned as native to DeepSeek)
  • Codex produced an over-engineered multi-file app with bouncy physics, mouse-following behavior, and transparency effects, requiring dev mode to run
  • PI agent generated a simpler but visually cool result; however, the grab interaction broke after one movement, requiring a page reload
  • Jcode demonstrated headless browser testing (preferring Firefox, falling back to Chromium), added unrequested gravity and multi-touch mobile support, and left debugging artifacts
  • OpenCode bundled everything into a single HTML file, producing a visually appealing but entirely non-interactive static blob
  • Reasonix initially outlined to-do items but struggled when context grew too large
  • Core technical finding: Harnesses with runtime feedback (screenshot inspection, headless browser iteration) consistently outperformed those that generated code in a single pass

Industry Insight

  • Agent framework selection should be a deliberate engineering decision, not an afterthought. Teams should evaluate harnesses based on their feedback loop capabilities — screenshot analysis, self-debugging, and iterative refinement — rather than focusing solely on the underlying model
  • Runtime observability is a competitive advantage. The gap between top and bottom performers was not model quality but the ability to observe and correct output. Investing in tooling that enables agents to "see" their results will likely yield higher ROI than model upgrades
  • Prompt simplicity does not equal output simplicity. Practitioners should not assume that straightforward prompts will produce straightforward code; harness architecture and iteration behavior will significantly shape the final product structure and complexity

TL;DR

  • 同一提示词+相同底层模型(DeepSeek V4)在不同AI编码工具中产生显著差异输出
  • 工具反馈循环质量(如截图分析、迭代调试)比模型本身更决定最终代码质量
  • Codex过度工程化但效果最佳,OpenCode单文件方案导致交互失效
  • 选择AI编码工具应关注框架的"眼手"能力而非仅比较底层模型

为什么值得看

这篇文章通过控制变量实验揭示了AI编码工具的核心差异在于反馈机制而非模型本身,为开发者选型提供了实证依据。对AI从业者而言,它打破了"模型决定论"的迷思,指出优化工作流应优先调整工具链而非盲目升级模型。

技术解析

  • 实验设计:使用非技术性提示词"小型浏览器果冻玩具",在沙盒环境中让五个工具自由发挥,无框架限制
  • 工具对比:Codex(Rust实现)生成多文件复杂结构;PI agent(TypeScript)结构简单但交互脆弱;Jcode保留调试痕迹并支持多触点;OpenCode将所有代码压缩至单文件导致静态输出
  • 核心机制:具备无头浏览器截图分析能力的工具(如Codex)能主动迭代优化,而缺乏运行时反馈的工具(如Reasonix)在上下文增大时表现下降
  • 模型统一:所有工具均驱动DeepSeek V4,确保变量控制

行业启示

  • 工具选型战略:企业应建立基于反馈循环质量的评估体系,而非仅关注模型参数或基准测试分数
  • 工作流优化方向:优先集成可视化调试、自动截图分析和多轮迭代能力,这些"眼手"功能比模型升级更能提升代码产出质量
  • 提示工程启示:简单提示词可能产生复杂输出,需建立结构化验证流程以确保代码符合预期架构

Disclaimer: The above content is generated by AI and is for reference only. 免责声明:以上内容由 AI 生成,仅供参考。

Code Generation 代码生成 LLM 大模型 Agent Agent Programming 编程