Asana 利用 Codex 中的 GPT-6 Astra 自动排查并优化其 StackAI 浏览器智能体工作流,在 GPT-6.1 Sol 上实现单次运行成本约 0.47 美元、耗时约 4 分钟,较原生产配置便宜 76 倍、快 5 倍。研究还显示扩大历史缓存预算可将任务成功率从 18 次中的 3 次提升至全部 18 次,相关改动已上线 StackAI。
Asana used GPT-6 Astra in Codex to investigate and optimize its StackAI browser agent, reaching about $0.47 and roughly four minutes per run on GPT-6.1 Sol—76x cheaper and 5x faster than its original production setup. The study also found that a larger history budget raised successful runs from 3 of 18 to all 18, and the changes have shipped to StackAI.
在 Codex 中使用 GPT‑6 Astra,Asana 使其浏览器代理在测试中成本降低 76 倍、速度提升 5 倍,从而为客户提供更强大的模型。
Using GPT‑6 Astra in Codex, Asana made its browser agent 76x cheaper and 5x faster in tests to offer customers more capable models.
使用优化的 GPT-6.1 Sol 工作流降低预估模型成本
Lower estimated model costs with the optimized GPT-6.1 Sol workflow
使用优化的 GPT-6.1 Sol 工作流加快浏览器运行速度
Faster browser runs with the optimized GPT-6.1 Sol workflow
使用优化的 GPT-6.1 Sol 工作流的平均预估模型成本
Average estimated model cost with the optimized GPT-6.1 Sol workflow
借助 Codex 中运行实验的 GPT‑6 Astra,Asana 在 GPT‑6.1 Sol 上优化了其浏览器代理的工作流,使其运行成本降低 76 倍、速度提升 5 倍。
With GPT‑6 Astra in Codex running experiments, Asana optimized its browser agent’s workflow on GPT‑6.1 Sol to run 76x cheaper and 5x faster.
Asana 通过其收购的平台 StackAI(在新窗口中打开)帮助客户实现跨业务应用的自动化工作。使用 StackAI,客户无需编写代码即可构建浏览网站、填写表单和收集信息的工作流。在 Asana 的规模下,这些工作流中的微小低效会不断累积。
Asana helps customers automate work across business applications through StackAI (opens in a new window) , a platform it acquired (opens in a new window) . Using StackAI, customers can build workflows that navigate websites, fill out forms, and gather information without writing code. At Asana’s scale, small inefficiencies in these workflows add up.
Asana 的 StackAI 首席技术官 Frank Hidalgo 博士着手让浏览器代理运行得更快、更便宜。他指导 Codex 中的 GPT‑6 Astra 调查该代理、测试改进并比较结果。他估计手动完成这项工作需要一到两个月,而实际只用了大约一周。
Asana’s StackAI CTO, Frank Hidalgo, PhD, set out to make the browser agent faster and cheaper to run. He directed GPT‑6 Astra in Codex to investigate the agent, test improvements, and compare the results. Work he estimates would have taken one to two months by hand took about a week.
Asana 的 144 次运行研究(在新窗口中打开)测试了 GPT‑6.1 Sol 和其他三个前沿模型,此处称为模型 A、B 和 C。在 GPT‑6.1 Sol 上出现的优化工作流平均预估模型成本为 0.47 美元,每次运行约四分钟,比在模型 B 上的原始生产设置便宜 76 倍、快 5 倍。
Asana’s 144-run study (opens in a new window) tested GPT‑6.1 Sol and three other frontier models, called here Models A, B and C. The optimized workflow that emerged on GPT‑6.1 Sol averaged $0.47 in estimated model costs and about four minutes per run, 76x cheaper and 5x faster than the original production setup on Model B.
为了快速推进,Hidalgo 首先使用 Codex 中的 GPT‑6 Astra 来映射代码库并解释代理如何构建每个模型请求。GPT‑6 Astra 发现,代理缓存了其固定指令和工具定义,但没有缓存它收集的不断增长的页面文本和截图历史,因此每个请求都以全价重新发送该历史记录。
To move quickly, Hidalgo started by using GPT‑6 Astra in Codex to map the codebase and explain how the agent built each model request. GPT‑6 Astra discovered that the agent cached its fixed instructions and tool definitions, but not the growing history of page text and screenshots it gathered, so every request resent that history at full price.
代理还在几乎每一步都丢弃较旧的截图并裁剪文本。每次编辑都会改变历史记录,因此仅缓存历史记录无济于事,而丢失这些事实可能要求代理重新访问已经读取过的页面。
The agent also dropped older screenshots and trimmed text at nearly every step. Each edit altered the history, so caching the history alone would not have helped, and losing those facts could require the agent to revisit pages it had already read.
Hidalgo 审查了 GPT‑6 Astra 提出的修复方案,并选择了三个进行测试:
Hidalgo reviewed GPT‑6 Astra’s proposed fixes and selected three to test:
将缓存扩展到智能体的浏览历史
Extending caching to the agent’s browsing history
增加其可保留的文本量
Increasing the amount of text it could retain
批量移除截图,而非每一步都移除
Removing screenshots in batches rather than at every step
GPT‑6 Astra 从快速测试开始,以确定哪些变量重要。由于代码并非为受控实验而设计,它随后重构了代码,使一个前端和一个后端能够并行支持多个工作流,每个工作流都有自己的设置。
GPT‑6 Astra began with quick tests to establish which variables mattered. Because the code was not designed for controlled experiments, it then refactored the code so one frontend and backend could support many workflows in parallel, each with its own settings.
Astra 进行了完整研究:历史预算为 120,000 和 480,000 个字符,以及六种缓存和截图策略,每种策略在四个模型上各测试三次(见下表)。表现最佳的策略允许截图累积到 20 张,然后再削减到最近一张。这使较早的历史在两次移除之间保持更长时间不变。结合更大的历史预算,它成为优化后的工作流。每种配置执行相同的任务:从公共演示目录中为 32 本书各收集六个字段,这代表了部分 Asana 客户在 StackAI 中运行的内容。
Astra conducted the full study: history budgets of 120,000 and 480,000 characters and six caching and screenshot policies, each tested three times on each of the four models (see the table below). The best-performing policy allowed screenshots to accumulate to 20 before cutting back to the most recent one. This kept earlier history unchanged for longer stretches between removals. Combined with the larger history budget, it became the optimized workflow. Each configuration performed the same task: collecting six fields for each of 32 books from a public demo catalog, representative of what some Asana customers run in StackAI.
来自另一家前沿实验室的更小、更便宜的模型,于 2025 年秋季发布
A smaller, less expensive model from another frontier lab, released Fall 2025
最初用于生产的模型,与 Model A 来自同一实验室,于 2026 年夏季发布
The model originally used in production, from the same lab as Model A, released Summer 2026
Model B 的更新版本,于 2026 年秋季发布
An updated version of Model B, released Fall 2026
GPT‑6 Astra 运行了这些工作流,并检查了请求、使用记录和输出,另有独立的模型会话审查了这项工作。每个会话的请求、数据轨迹和结果都记录在 Command(在新窗口中打开)中,这是 Asana 的软件交付平台,因此团队之后可以审查完整研究。从 Command 中,研究结果被转化为工单,然后是拉取请求,这些更改随后进入生产环境。
GPT‑6 Astra ran the workflows and examined the requests, usage records and outputs, and separate model sessions reviewed the work. Every session’s requests, data traces and results were recorded in Command (opens in a new window) , Asana’s software delivery platform, so the team could review the complete study afterward. From Command, the findings were turned into tickets, then pull requests, and the changes went to production.
对于 Model B,优化将估计的模型成本从至少 36.21 美元(一些原始运行在完成前达到了步数限制)降至每次运行 1.24 美元,减少了 29 倍。GPT‑6.1 Sol 上的优化工作流还要便宜 2.6 倍,为 0.47 美元。优化工作流中的每次运行都完成了任务并返回了正确答案。
For Model B, the optimization reduced estimated model cost from at least $36.21 (some original runs reached the step limit before they finished) to $1.24 per run, a reduction of 29x. The optimized workflow on GPT‑6.1 Sol was 2.6x cheaper still, at $0.47. Every run in the optimized workflow completed the task and returned the correct answer.
3 次运行的平均值。≥:基线包含达到上限的运行,因此其平均值是下限。
Means of 3 runs. ≥: the baseline includes capped runs, so its mean is a lower bound.
右侧的两个折叠部分与优化后的 Model B 进行对比。Model B 在同一研究的第一阶段运行,Model C 和 Sol 6.1 在第二阶段运行(虚线)。
The two right folds compare against Model B optimized. Model B ran in phase 1, Model C and Sol 6.1 in phase 2 of the same study (dotted line).
仅就 GPT-6.1 Sol 而言,在更大的历史预算下,新的缓存和截图策略将每次运行的成本降低了 4 倍,从 1.97 美元降至 0.47 美元。每次调用的成本大约降低了 3 倍,因为 89% 的输入来自缓存,而缓存价格仅为未缓存价格的 5%。运行速度也变快了:在 Model B 的原始设置下至少需要 22.5 分钟,而在 GPT-6.1 Sol 上使用优化后的工作流程大约只需四分钟。
On GPT‑6.1 Sol alone, with the larger history budget, the new caching and screenshot policy reduced cost 4x, from $1.97 to $0.47 per run. Each call was about 3x cheaper, because 89% of the input came from cache at 5% of the uncached price. Runs also became faster: at least 22.5 minutes on the original setup on Model B, roughly four minutes with the optimized workflow on GPT‑6.1 Sol.
3 次运行的平均值,误差线表示标准差。≥:平均值包含一次被截断或未完成的运行,因此真实值至少这么大。
Mean of 3 runs, SD whiskers. ≥: mean includes a capped or unfinished run, so the true value is at least this large.
条形图使用蓝色主题。请对照 480k 更大预算的条形图来解读缓存效果。
Bars use the blue theme. Read caching effects against the 480k larger-budget bar.
运行标记和标准差误差线是根据源图像近似重建的;底层的运行值和标准差不可用。
Run markers and SD whiskers are approximate reconstructions from the source image; underlying run values and standard deviations were not available.
该调查还揭示了历史管理如何影响智能体是否最终给出答案。为 GPT-6.1 Sol 提供更多空间来保留其浏览历史,使得给出答案的运行次数从较小历史预算下的 18 次中的 3 次增加到较大预算下的全部 18 次,且每次答案都正确。对于 Hidalgo 来说,其商业价值在于让客户能够使用更快、更强大的模型,同时保持运营成本可持续。
The investigation also showed how history management affected whether the agent produced an answer at all. Giving GPT‑6.1 Sol more room to retain its browsing history increased the number of runs that produced an answer from three of 18 with the smaller history budget to all 18 with the larger budget, each with the correct answer. For Hidalgo, the business value is giving customers access to faster, more capable models while keeping operating costs sustainable.
Asana 已在 StackAI 中发布了浏览器导航的更改,并正在开发工具以使类似的实验更容易重复。随着时间的推移,团队计划将这种测试纳入平台的评估中,以便客户和内部团队在配置其智能体时能够比较成本、运行时间和答案质量。
Asana has released the changes to browser navigation in StackAI and is developing tools to make similar experiments easier to repeat. Over time, the team plans to incorporate this testing into the platform’s evaluations, so customers and internal teams can compare cost, runtime, and answer quality when configuring their agents.
Asana 现在正在 Codex 中使用 GPT-6 Astra 在发布前测试产品功能:Astra 会浏览平台、尝试不同的输入,并向人工 QA 审核员报告错误。Hidalgo 将此视为新软件开发生命周期的基础,届时许多云智能体会话将并行测试功能。
Asana is now using GPT‑6 Astra in Codex to test product features before release: Astra navigates the platform, tries different inputs and reports bugs for human QA reviewers. Hidalgo views this as the foundation for a new software development lifecycle, with many cloud agent sessions testing features in parallel.
完整研究可在 Asana (在新窗口中打开)和 StackAI (在新窗口中打开)的博客上获取。
The complete study is available on the Asana (opens in a new window) and StackAI (opens in a new window) blogs.