跳到正文
原文
AWS Machine Learning Blog· Suheel Farooq·· 2026-10-13精选AI 评分62

在 Amazon Bedrock 上用 Grok 4.7 构建长时程智能体

Build long-horizon agents with Grok 4.7 on Amazon Bedrock

AI 导读

AWS 发布教程,演示如何在 Amazon Bedrock 上基于 Grok 4.7 构建工具调用智能体,并在三个需要搜索而非查表的一次性答案任务上评测推理档位。72 次运行中智能体答对 67 次,xhigh 档 18 次全对,low 档答对 15 次但输出 token 约为 xhigh 的八分之一。文章还给出按请求设置推理档位、用输出 token 与工具调用量监控生产运行的做法。

推荐理由

原文用 72 次可复现的智能体运行,量化了 Grok 4.7 各推理档位在准确率与 token 成本之间的取舍。

深读指南

适合谁读:在 Amazon Bedrock 上构建工具调用型智能体、并需要按请求调节推理成本与质量的开发者与工程团队。

  • 推理投入(reasoning effort)主要改变模型对已收集事实的推理量,而非工具探索量,因此可按请求调节成本与质量。

    Effort changes how much the agent reasons, not how much it explores. Tool calls were essentially flat, between 17.2 and 18.7 per run at every level.
  • 低推理档位在可接受略低完成率时提供更好的成本质量比,高难度任务则更适合中高以上档位。

    At low , the agent answered 15 of 18 runs correctly using about an eighth of the output tokens of xhigh , with a median run of 18 seconds.
  • 生产环境缺少标准答案时,可用输出 token 与工具调用量作为监控信号,标记异常运行以供复核。

    A run that makes no tool calls, or that produces far less output than is normal for its level, is worth flagging for review

局限与前提:评测基于合成环境、每档仅六次运行、单模型版本与单一 Region,且任务耗时以秒计而非小时,因此方向性结论可参考,但绝对数值不可直接外推;文中基准分数为厂商发布数据,非独立验证。

对照原文阅读

来源:AWS Machine Learning Blog · aws.amazon.com