跳到正文
数字商店
原文
Harrison Chase· @hwchase17 · X·· 2026-10-20AI 评分40
AI 导读

LangChain 创始人 Harrison Chase 赞同构建 Agent 时应优先使用 Harness 而非直接编写复杂的步骤流程。他建议开发者首先从 deepagents 等 Harness 入手并补充技能与工具等上下文,必要时可通过中间件微调 Harness,最后若确实需要再使用 LangGraph 构建工作流。

正文 · AI 翻译

同意这一点

先从一个运行框架开始(我喜欢 deepagents)

添加上下文(技能、工具)

然后如果需要,稍微修改运行框架(deepagents 的中间件在这方面绝了)

然后如果需要,用 langgraph 搭建工作流

引用verrsane@verrsane
如果你在构建一个 agent 永远先走 harness 路线。不要用一堆 if else 语句或 langgraph 构建一个复杂的 20 步工作流 把 harness 用作你的 agent,例如 Claude code、codex、deep agents、glean 等 你一开始就是在搬起石头砸自己的脚 相信我,提示词的效果好得出奇
原文

If you’re building a agent Always go the harness route first. Do not build a complicated 20 step workflow using a bunch of if else statements or langgraph Use a harness as your agent eg. Claude code, codex, deep agents, glean etc You’re just shooting urself in the foot off the bat Trust me, prompting works surprisingly well

在 X 查看被引用的帖子

来源:Harrison Chase · x.com