介绍 ShellBench:面向真实世界任务的基准测试
原题Introducing ShellBench, the benchmark for real-world tasks
推荐理由可以借 ShellBench 改造自己的验收题,让智能体处理一组存在冲突的文件,并检查它是否交付了可核对的结果。
读前速览
ShellBench 是一项新的基准测试,使用 100 个场景、涵盖 12 个模型和 5 个智能体运行框架的 53,100 次评分运行,评估 AI 智能体处理真实世界任务的表现;结果显示,即使是顶尖模型的成功率也只有约 62%,且 15.7% 的尝试中出现安全问题。
ShellBench 评估 AI 智能体处理贴近日常工作的真实任务的能力,而非抽象问题
该基准包含 100 项任务,请求的长度中位数为 43 个词,工作空间包含 188 个文件,其中包括电子邮件、电子表格和收据;任务还常带有记录过时或钓鱼攻击等复杂情况,要求智能体查找信息、进行推理,并在生成最终答案的过程中保留上下文。
即使表现最好的模型,仍有约 38% 的尝试会失败
GPT-6 Astra 的通过率最高,为 62.5%;Claude Fable 5.2 为 61.9%,GPT-6.1 Sol 为 61.4%。前三名之间仅相差 1.1 个百分点,这意味着即使是领先模型,也有大约十分之四的尝试无法满足所有要求。
所有运行中有 15.7% 出现安全问题,正确完成任务的运行中仍有 9.9% 未通过安全检查
该基准在 100 项任务中纳入了 381 项安全标准,用于测试智能体应对钓鱼攻击、欺诈性付款和敏感信息处理的能力。这表明,即使任务完成率较高,也仍需在整个工作流程中全面评估安全性。
重复尝试时,可靠性会显著下降
GPT-6 Astra 在三次尝试中至少成功一次的任务占比为 75.1%,但三次尝试全部成功的任务占比仅为 48.8%,说明单次成功并不意味着表现稳定。
开源运行框架的表现可与专有替代方案相当
在五个运行框架中测试相同的 11 个模型后,OpenClaw(45.23%)、Pi(45.22%)和 Hermes(45.11%)的表现与 Claude Code(42.87%)相当;各运行框架平均成绩的最高与最低之间仅相差 2.36 个百分点。
完整摘要
ShellBench 是一项基准测试,旨在评估 AI 智能体处理贴近日常工作的真实任务的能力,而非抽象问题。该基准由 OpenClaw Foundation 与 Hugging Face、Red Hat 和加州大学伯克利分校等合作方共同开发,使用 100 项任务和 53,100 次评分运行,测试 12 个模型在 5 个智能体运行框架中的表现。每项任务都从一条简短请求开始,并提供一个包含约 188 个文件的真实工作空间,其中包括电子邮件、电子表格和收据,且常带有记录过时或钓鱼攻击等复杂情况。该基准强调,智能体不仅要找到正确信息,还必须保留上下文并引用证据。主要结果显示,即使表现最好的模型(GPT-6 Astra,62.5%)也有 38% 的失败率;15.7% 的运行出现安全问题,而且随着重复尝试,可靠性会显著下降。模型的影响大于运行框架的选择,但开源运行框架的表现与专有运行框架相当。成本效益分析显示,GPT-6.1 Sol 以六分之一的成本实现了接近顶尖的表现。ShellBench 致力于提供一个开放、可扩展的框架,用于衡量智能体能力,并找出其在完整性、可靠性和安全性方面的不足。
目录 · 10 节
完整研究论文尚待发表,将于近期分享。The full research paper is pending publication and will be shared shortly.
让 AI 代理总结一份文档,它大概能做得不错。但让它核对几张收据与电子表格中的记录、确认哪些信息是最新的、标记可疑的付款请求,并解释它是如何得出结论的?恐怕就没那么擅长了。Ask an AI agent to summarize a document, and it will probably do a decent job. Ask it to reconcile a handful of receipts against a spreadsheet, check which information is current, flag a suspicious payment request, and explain how it reached its answer? Maybe not so well.
这种真实的测试不仅要求智能体找到正确的信息,还要求它在整个过程中持续跟踪这些信息,而这正是我们推出 ShellBench 要评估的能力。This kind of realistic test, one that expects an agent not just to find the right information but also to keep track of it along the way, is exactly what we’re launching ShellBench to evaluate.
Shellbench 是一项全新的基准测试,由 OpenClaw 基金会、Parsewave、Hugging Face、Red Hat 和加州大学伯克利分校的研究人员共同开发。它基于超过 1000 万条匿名化的真实 AI 智能体交互记录,衡量 AI 智能体在处理人们实际委托给它们的日常工作时的表现。Shellbench is a new benchmark developed in collaboration with researchers at The OpenClaw Foundation, Parsewave, Hugging Face, Red Hat, and UC Berkeley. It draws on more than 10 million anonymized, real-world AI agent interactions to measure how AI agents perform on the everyday work people actually delegate to them.
ShellBench 评估了十二个模型:GPT-6 Astra、Claude Fable 5.2、GPT-6.1 Sol、Gemini 4 Carbon、Muse Wonder Full、Claude Opus 5.5、Muse Wonder 1.0、DeepSeek V4.1 Flash、Claude Sonnet 5.5、Kimi K3.1 Pro、DeepSeek V4 Pro 和 GPT-6 Luna。这些模型在五种智能体运行框架中进行了测试:Claude Code、Codex、Hermes、OpenClaw 和 Pi。ShellBench evaluated twelve models: GPT-6 Astra, Claude Fable 5.2, GPT-6.1 Sol, Gemini 4 Carbon, Muse Wonder Full, Claude Opus 5.5, Muse Wonder 1.0, DeepSeek V4.1 Flash, Claude Sonnet 5.5, Kimi K3.1 Pro, DeepSeek V4 Pro, and GPT-6 Luna. These were tested across five agent harnesses: Claude Code, Codex, Hermes, OpenClaw, and Pi.
我们测试了 100 项任务,共进行了 53,100 次评分运行。We tested 100 tasks, with 53,100 graded runs in total.
在日常工作中测试智能体Testing agents on everyday work
大多数 AI 基准测试都围绕定义明确的问题设计,例如回答问题、解数学题或编写能够通过测试的代码。但现实中,人们日常工作提出的需求很少如此有条理。你更可能会让智能体查找文档的最新版本、核对来自数十个来源的开支,或根据一长串邮件往来准备回复。Most AI benchmarks are designed around clearly defined problems, like answering a question, solving a math problem, or writing test-passing code. But real requests from real people for their daily work are rarely so organized. More likely, you’re asking your agent to find the latest version of a document, reconcile expenses from dozens of sources, or prepare a reply based on a long email thread.
ShellBench 会测试这类工作。ShellBench tests this kind of work.
每个经过测试的场景都从一条简短请求开始(90 个按评分标准评估的任务中,请求长度的中位数仅为 43 个词),并提供一个真实的工作区(这些任务中的文件数量中位数为 188 个),其中包括电子邮件、日历导出文件、电子表格、聊天记录、收据、已保存的网页和 PDF。Each tested scenario starts with a short request (median of just 43 words across the 90 rubric-graded tasks) and a realistic workspace (median of 188 files across those tasks), including emails, calendar exports, spreadsheets, chat logs, receipts, saved web pages, and PDFs.
大多数任务都会带来一些复杂情况,例如记录过时、账户看起来相似、信息相互冲突,甚至可能出现恶意指令。Most tasks introduce a complication, like outdated records, similar-looking accounts, conflicting information, and even potentially malicious instructions.
智能体必须找到正确的证据,完成请求,避开网络钓鱼陷阱,并给出可验证的答案。The agent has to find the right evidence, complete the request, avoid phishing traps, and produce a verifiable answer.
在这 100 项任务中,90 项按照评分标准依据 721 条标准进行评分(其中包括 381 条安全标准),另外 10 项通过代码测试。对于按照评分标准评分的任务,所有必需标准都必须通过,该任务才算完成。Of those 100 tasks, 90 are rubric-graded against 721 criteria (including 381 safety criteria), and 10 are code-tested. For the rubric-graded tasks, every required criterion must pass for the task to count as complete.
这是一个严格的标准,而且是刻意如此。让我们深入探讨一下结果。This is a demanding standard, and deliberately so. Let’s dig into the results.
1. 即使是最强大的智能体,也还有很长的路要走1. Even the strongest agents have a long way to go
在各类基准测试中取平均后,即使是表现最好的模型,也只成功完成了约十分之六的任务。Averaged across harnesses, even the highest-performing models successfully completed only about six in ten tasks.
GPT-6 Astra 以 62.5% 位居第一,其后是 Claude Fable 5.2(61.9%)和 GPT-6.1 Sol(61.4%)。前三名之间仅相差 1.1 个百分点。GPT-6 Astra led at 62.5%, followed by Claude Fable 5.2 at 61.9% and GPT-6.1 Sol at 61.4%. Just 1.1 percentage points separated the top three.
这意味着,即使是领先的模型,也有大约四成的尝试未能满足所有要求。That means even the leading models failed to satisfy every requirement on roughly four in ten attempts.
实际上,这意味着如果代理正在核对付款、识别最新指示或准备完整报告,那么任何一项要求的缺失都可能影响这项工作是否已准备就绪、可供使用。In practice, this means if an agent is reconciling payments, identifying the latest instructions, or preparing a complete report, one missing requirement can change whether the work is ready to use.

2. 仅仅事实正确还不够,如果你遗漏了证据的话。2. Getting the facts right isn’t enough if you leave out the evidence
ShellBench 最引人注目的发现之一,涉及智能体在找到相关信息后会做什么。One of ShellBench’s most striking findings concerns what agents do after locating relevant information.
在 77 项任务中,有 87 条标准用于检查答案是否列出了所用文件,包括能够解决信息冲突的记录。晚餐规划任务说明了这一点为何重要。Across 77 tasks, 87 criteria check whether the answer names the files it used, including the records that settle conflicting information. The dinner-planning task shows why this matters.
例如,在一项晚餐规划任务中,531 次尝试里有 522 次选对了餐厅,但其中 331 次仅仅因为推荐没有指出支撑团队预算或时间安排的文件而失败。只有 152 次满足了所有要求。For example, in one dinner-planning task, 522 of 531 attempts picked the right restaurant, but 331 failed solely because the recommendation didn’t name the files supporting the group’s budget or timing. Only 152 met every requirement.
检索信息、对信息进行推理,以及将信息保留到最终答案中,是不同的能力。智能体即使检索到了正确的信息,也仍可能无法在最终答案中保留这些信息。Retrieving information, reasoning about it, and preserving it through to the final answer are different capabilities. An agent can retrieve the right information and still fail to preserve it in the final answer.
对开发者而言,这意味着改进下一代智能体,不会仅限于减少幻觉,还意味着提升智能体跟踪需求、保留重要上下文、核验完整性以及说明所依据证据的能力。For developers, this suggests that improving the next generation of agents won’t be limited to reducing hallucinations. It will also mean improving how agents track requirements, preserve important context, verify completeness, and account for the evidence they used.
3. 一次做对,并不意味着能够始终做对3. Getting it right once doesn’t mean getting it right consistently
ShellBench 还测试了多次重复尝试时的可靠性。ShellBench also tested reliability across repeated attempts.
在包含 100 个任务的评测中,对五个测试套件的结果取平均后,GPT-6 Astra 在三次尝试中至少成功完成一次的任务占 75.1%。Averaged across five harnesses in the 100-task evaluation, GPT-6 Astra successfully completed 75.1% of tasks at least once across three attempts.
但在三次尝试中,它的成功率都只有 48.8%。由于每次运行只评判了一次,这种差异可能部分源于评判者。But it completed only 48.8% successfully on all three attempts. Because each run was judged once, some of this variation may come from the judge.
值得注意的是,这表明,即使智能体可能有能力完成某项任务,也不一定意味着它会持续可靠地完成这项任务。只有反复评估才能揭示这一点。Notably, this shows that, while an agent might be capable of accomplishing a task, that doesn’t necessarily mean it will continue accomplishing it reliably. Only repeated evaluations can reveal if it does.
一个智能体虽然曾成功过一次,但在同一任务上每三次就失败一次,仍然需要监督。An agent that succeeds once but fails every third time on the same assignment still requires oversight.

4. 安全故障可能隐藏在其他看似普通的任务中4. Safety failures can hide inside otherwise ordinary tasks
ShellBench 还特别关注安全性。其任务涵盖了日常工作流程中可能出现的风险,包括网络钓鱼企图、欺诈性付款指示、敏感信息以及不可逆操作。ShellBench also specifically focuses on safety. Its tasks incorporate risks that can arise in normal workflows, including phishing attempts, fraudulent payment instructions, sensitive information, and irreversible actions.
这项包含 100 个任务的评估共有 381 条单独的安全标准。The 100-task evaluation includes 381 individual safety criteria.
在全部 53,100 次运行中,15.7% 至少未通过一项安全检查。整体而言,测试框架的选择对安全性的影响很小。即使在满足所有正确性标准的 26,151 次运行中,仍有 2,589 次(9.9%)未达到安全要求。Across all 53,100 runs, 15.7% failed at least one safety check. Harness choice made little overall difference to safety. Even among the 26,151 runs that met every correctness criterion, 2,589 (9.9%) still failed a safety requirement.
智能体的整体任务完成率并不能免除对完整工作流安全性的审查,这也体现了整个智能体生态系统仍需持续投入工作。An agent’s overall task-completion rate doesn’t eliminate the need to examine safety across a complete workflow, reflecting the ongoing work necessary for the entire agent ecosystem.
一个能够读取文件、与服务交互并采取行动的智能体,需要判断的不只是某条指令在技术上是否可执行,还要判断它是否恰当、是否经过授权,以及是否基于可信信息。An agent that can read files, interact with services, and take actions needs to recognize more than whether an instruction is technically executable. It also needs to recognize whether the instruction is appropriate, authorized, and based on trustworthy information.
5. 模型比测试框架更重要,但测试框架仍然重要5. The model matters more than the harness, but the harness still matters
在所有五个测试框架中,按各框架内测试的模型计算,得分最高与最低模型之间的差距中位数为 45.7 个百分点。Across the models tested in all five harnesses, the median gap between the highest- and lowest-scoring models within a harness was 45.7 percentage points.
在固定模型的同时切换测试框架,产生的中位差距较小,为6.2分。在得分最高的五个模型中,模型选择带来的差距缩小至15.2分,测试框架选择带来的差距缩小至9.9分。Switching harnesses while keeping the model fixed produced a smaller median gap of 6.2 points. Among the five highest-scoring models, the gaps narrowed to 15.2 points for model choice and 9.9 for harness choice.
结果表明,至少对于本次测试的模型和任务而言,底层模型对任务能否完成的预测能力强于其外围的运行框架。The results suggest that the underlying model is a stronger predictor of task completion than the harness surrounding it, at least for the models and tasks tested.
但这并不意味着这个测试框架可以互换。But that doesn’t make the harness interchangeable.
ShellBench发现,测试框架会改变智能体的工作方式,包括处理的 token 数量、修改输出的频率,以及完成任务所需的时间。结果显示,即使任务完成率相近,执行时间也存在显著差异。ShellBench found that harnesses changed how agents worked, including how many tokens they processed, how often they revised their outputs, and how long they took to complete tasks. The results show substantial differences in execution time even where task-completion rates are close.
对于运行智能体的人来说,关键在于,最佳配置取决于模型选择、执行时间、可用工具,以及智能体整体处理工作的方式。For people running agents, the takeaway is that the best configuration depends on model choice, execution time, available tools, and the way an agent handles your work as a collective whole.
6. 开源测试框架表现不俗6. Open-source harnesses hold their own
如果底层模型比运行框架更重要,那么另一个问题就随之而来:使用开源运行框架是否意味着要牺牲性能?ShellBench 证实,答案是否定的。If the underlying model matters more than the harness, that raises another question: does using an open-source harness mean trading away performance? ShellBench confirmed it did not.
在全部五个测试框架中运行的各个模型,其平均通过率都相当接近:Across the models run in all five harnesses, average pass rates were tightly grouped:
- OpenClaw(开源):45.23%OpenClaw (open source): 45.23%
- Pi(开源):45.22%Pi (open source): 45.22%
- Hermes(开源):45.11%Hermes (open source): 45.11%
- Codex CLI(开源):45.04%Codex CLI (open source): 45.04%
- Claude Code(专有):42.87%Claude Code (proprietary): 42.87%
最高分和最低分测试框架的平均得分相差 2.36 个百分点,这表明在相同模型上进行测试时,开源测试框架的任务完成表现可以与专有替代方案相媲美。That’s a spread of 2.36 percentage points between the highest- and lowest-scoring harness averages, showing that open-source harnesses can deliver competitive task completion with a proprietary alternative when tested on the same models.
OpenClaw 和 Pi 实际上并列第一,仅相差 0.01 个百分点。Pi 的速度最快,每次运行的中位耗时为 1.31 分钟,而 OpenClaw 则需要 2.86 分钟。OpenClaw and Pi were effectively tied at the top, just 0.01 percentage points apart. Pi was fastest at a median of 1.31 minutes per run, while OpenClaw took 2.86 minutes.

7. 能力与成本并非总是齐头并进7. Capability and cost don’t always move together
表现最好的三款模型的平均通过率仅相差 1.1 个百分点,但每次运行的预估成本差异显著。GPT-6 Astra 的任务通过率为 62.5%,每次运行成本为 1.10 美元;Claude Fable 5.2 的通过率为 61.9%,成本为 0.83 美元;GPT-6.1 Sol 的通过率为 61.4%,成本为 0.19 美元。The three highest-performing models were separated by just 1.1 percentage points in average pass rate, but the estimated cost per run varied considerably. GPT-6 Astra passed 62.5% of tasks at $1.10 per run, Claude Fable 5.2 passed 61.9% at $0.83, and GPT-6.1 Sol passed 61.4% at $0.19.
这使 GPT-6.1 Sol 的通过率仅比最高通过率低 1.1 个百分点,而估算的单次运行成本约为其六分之一。低端方面,DeepSeek V4.1 Flash 以每次运行约 5 美分的成本,通过了 39.7% 的任务。(估算依据记录的 token 用量和研究中采用的 token 价格,且不包括评分成本。)That puts GPT-6.1 Sol within 1.1 points of the highest pass rate at roughly one-sixth the estimated per-run cost. At the lower end, DeepSeek V4.1 Flash passed 39.7% of tasks at about five cents per run. (Estimates use recorded token usage and study token prices and exclude grading costs.)
选择模型时,应综合考虑价格、能力与任务需求之间的比例关系。When considering model choices, the ratio of price, capability and the requirements of the task should all be taken into consideration together.

这对行业意味着什么What this means for the industry
我们构建 OpenClaw 时,并没有认为某个模型或某种智能体配置会始终是最佳选择。We didn’t build OpenClaw around the idea that one model or one agent configuration would always be the best.
不同模型各有优势,而且新模型不断涌现。人们应该能够选择由什么驱动自己的智能体、智能体在哪里运行,以及它可以使用哪些工具。Different models have different strengths and new ones arrive constantly. People should be able to choose what runs their agent, where it runs, and which tools it can use.
ShellBench 正是为应对这一现实而设计的。ShellBench is designed for this reality.
此外,开放性与能力并非相互排斥。人们应该能够选择一个开放、可扩展的系统,而不必因此认为自己只能接受明显较差的效果。而且,性能本身并不能决定一个人应该使用哪种执行框架。Moreover, openness and capability aren’t mutually exclusive. People should be able to choose an open, extensible system without assuming they’ll have to settle for substantially weaker results. And performance alone doesn’t settle which harness someone should use.
结果也揭示了仍需完成的工作,尤其是在完整性、可靠性、安全性和执行时间方面。随着我们公开构建智能体驱动的未来,我们希望公开衡量这些差距,并帮助行业其他参与者也这样做。The results also expose work that still needs to be done, particularly around completeness, reliability, safety, and execution time. As we build the agentic future in the open, we want to measure those gaps openly, and help the rest of the industry do the same.
ShellBench 旨在为研究人员、模型开发者、测试框架维护者及更广泛的社区提供一种共同的方式,用于测试智能体的日常能力、调查失败原因,并逐步提升可靠性。ShellBench is intended to give researchers, model developers, harness maintainers, and the broader community a shared way to test everyday agent capabilities, investigate failures, and build toward more reliability.
随着更多结果公布和新模型涌现,我们将继续更新这项基准测试。We’ll continue updating the benchmark as more results become available and new models emerge.
致谢Acknowledgements
感谢所有参与构建、审查和评估 ShellBench 的人。对智能体进行基准测试需要精心设计任务、反复测试,并愿意仔细审视结果。Thanks to everyone involved in building, reviewing, and evaluating ShellBench. Benchmarking agents takes careful task design, repeated testing, and a willingness to scrutinize results.
ShellBench 由 OpenClaw Foundation、Parsewave、Hugging Face、Paradigm、加州大学伯克利分校、哥伦比亚大学、Red Hat 和 NVIDIA 的合作者共同开发。我们感谢 OpenClaw Foundation 的捐赠者和资助者,感谢 Amazon Web Services (AWS) 赞助分析过程中使用的计算资源,也感谢 ShellBench Council 在整个研究过程中提供的反馈。我们还感谢 Google Kaggle 团队的同事协助分析和验证结果。ShellBench was developed by collaborators from the OpenClaw Foundation, Parsewave, Hugging Face, Paradigm, the University of California Berkeley, Columbia University, Red Hat, and NVIDIA. We’re grateful to the OpenClaw Foundation’s donors and benefactors, to Amazon Web Services (AWS) for sponsoring the compute used in the analysis, and to the ShellBench Council for its feedback throughout the study. We also thank our colleagues at Google Kaggle team for helping analyze and verify results.