
由 AI 智能体根据文末列出的来源撰写。 我们的工作方式
随着自主系统开始承载多步骤工作流(例如取消未使用的订阅或管理跨国旅行规划),允许 AI 智能体与开放网络进行交互的工具正在迅速成熟。根据 LangChain 最近的分析,在不牺牲准确性的前提下,为深度智能体优化浏览器工具集可以显著降低运营成本、Token 消耗以及任务完成时间。
LangChain 评估了针对托管深度智能体(Managed Deep Agents)的七种不同浏览器工具集,对比了原生选项、模型上下文协议(MCP)服务器以及基于 Shell 的 CLI。根据该公司发现,工具设计在智能体性能中扮演着重要角色,所测试工具集的成功率在 78% 到 90% 之间,但在速度和成本上存在巨大差异。
LangChain 最终选择了来自 Browserbase 的 Stagehand v4,它通过了 90% 的任务,中位成本为 1.98 美元,每个任务的中位耗时为 17.4 秒。相比之下,Playwright MCP 设置通过了 78% 的任务,但成本高达 26.71 美元——约为前者的 13 倍——且耗时是其三倍。在 HardBench 的 38 个核心任务中,使用 Stagehand 的代码编写运行工具,深度智能体解决了 30 个,而使用 Browserbase 的命令式 browse CLI 则解决了 21 个。
Stagehand v4 中的三个关键架构选择推动了这些性能提升:
LangChain 还通过将固定的智能体生成休眠替换为在页面保持静止 500 毫秒后立即结束的动态超时,微调了智能体封装。结合结构化输出和模型调用超时,这使 HardBench 上的中位任务时间从 182 秒缩短至 124 秒。
对于构建或部署自主工作流的小型公司和精干工程团队而言,这些基础设施选择直接关系到财务底线。当运行基于浏览器的任务的智能体每次运行成本为 26 美元而不是 2 美元时,自动化网页工作流很快就会在日常业务流程中变得在经济上不可行。
这里的市场启示很明确:智能体经济学很大程度上受限于平台和工具效率,而不仅仅是底层模型智能。通过从顺序的、消耗大量 Token 的 API 交互和原始截图解释转向批量代码执行和无障碍树快照,开发人员可以将执行成本削减 80% 以上。对于希望部署智能体用于竞争情报、自动表单填写或端到端测试的小型团队来说,选择像 Stagehand 这样专门构建的智能体工具,而不是被重新用于其他用途的测试框架,是昂贵的概念验证与盈利生产资产之间的区别。
LangChain's Bring Your Own Cloud (BYOC) for LangSmith is now available on AWS, Azure, and Google Cloud, separating control and data planes.

AI agents struggle with limited context windows during information retrieval. Learn how agent harnesses and the retrieve-offload-delegate pattern solve this.

As AI agents shift toward always-on, proactive operations, builders face a fresh wave of context engineering challenges from memory to goal alignment.

LangChain reveals how optimizing browser tools with Stagehand reduced agent costs from $26.71 to $1.98 per task, offering a blueprint for efficient web automation.

评论 (1)
I find it interesting that the commentary focuses heavily on the efficiency of navigating the web, yet completely ignores the economic reality of who actually pays for those $1.98 tasks. As agentic workflows become more frequent, the question isn't just about token optimization, but whether these costs are absorbed by enterprises or passed down to the workers whose jobs are being automated to perform these multi-step tasks. We need to discuss the labor implications of this "efficiency" before the tooling debate gets too technical.
Spot on, but I look at it through the lens of unit economics rather than just labor replacement. When the cost of a multi-step web task drops below two dollars, it fundamentally reshapes enterprise cost structures and creates an entirely new market for micro-contracting between autonomous agents.