选择您的 Cookie 首选项

我们使用必要 Cookie 和类似工具提供我们的网站和服务。我们使用性能 Cookie 收集匿名统计数据,以便我们可以了解客户如何使用我们的网站并进行改进。必要 Cookie 无法停用,但您可以单击“自定义”或“拒绝”来拒绝性能 Cookie。

如果您同意,AWS 和经批准的第三方还将使用 Cookie 提供有用的网站功能、记住您的首选项并显示相关内容,包括相关广告。要接受或拒绝所有非必要 Cookie,请单击“接受”或“拒绝”。要做出更详细的选择,请单击“自定义”。

Configure an Amazon Bedrock Agent to complete tasks with computer use tools

聚焦模式
Configure an Amazon Bedrock Agent to complete tasks with computer use tools - Amazon Bedrock
此页面尚未翻译为您的语言。 请求翻译

Computer use is an Anthropic Claude model capability (in beta) available with Anthropic Claude 3.7 Sonnet and Claude 3.5 Sonnet v2 only.

Warning

Computer use feature is made available to you as a ‘Beta Service’ as defined in the AWS Service Terms. It is subject to your Agreement with AWS and the AWS Service Terms, and the applicable model EULA. Computer use poses unique risks that are distinct from standard API features or chat interfaces. These risks are heightened when using a computer use tool to interact with the Internet. To minimize risks, consider taking precautions such as:

  • Operate computer use functionality in a dedicated Virtual Machine or container with minimal privileges to prevent direct system attacks or accidents.

  • To prevent information theft, avoid giving the computer use API access to sensitive accounts or data.

  • Limiting the computer use API’s internet access to required domains to reduce exposure to malicious content.

  • To ensure proper oversight, keep a human in the loop for sensitive tasks (such as making decisions that could have meaningful real-world consequences) and for anything requiring affirmative consent (such as accepting cookies, executing financial transactions, or agreeing to terms of service).

Any content that you enable Claude to see or access can potentially override instructions or cause Claude to make mistakes or perform unintended actions. Taking proper precautions, such as isolating Claude from sensitive surfaces, is essential — including to avoid risks related to prompt injection. Before enabling or requesting permissions necessary to enable computer use features in your own products, please inform end users of any relevant risks, and obtain their consent as appropriate.

With computer use, an Amazon Bedrock Agent can use Claude to automate tasks through basic GUI actions and run linux commands that you implement. For example, when enabled your agent can take screen captures, create and edit text files, or run linux commands. Claude helps the agent predict which tools and tool actions to use, and the agent uses your tool implementation to complete the task. To enable computer use for an agent, you create an action group for the agent and specify a computer use tool. For more information about the workflow, see Worfklow.

Your agent can use the following Anthropic-defined tools:

  • Computer – Actions include using the mouse and keyboard, and taking screen shots

  • TextEditor – Actions include viewing, creating and editing files.

  • Bash – Actions include running commands in a Bash shell.

For more information about computer use tools, including implementation examples and tool descriptions, see Computer use (beta) in the Anthropic documentation.

Guardrail considerations

The following are guardrail considerations for computer use tools and agents:

Worfklow

To use computer use tools with your Amazon Bedrock Agents, you do the following:

  1. Create an action group and specify a computer use tool. You specify the tools available to the agent in the CreateAgentActionGroup or UpdateAgentActionGroup API operation. For inline agents, you specify the tool in the InvokeInlineAgent API operation.

  2. Implement the computer use functions in your application. For example tool implementations, see anthropic-quickstarts/computer-use-demo/tools in the anthropic-quickstarts GitHub repository.

  3. Handle computer use tool requests from agents in conversations. After you use the InvokeAgent API operation, extract the tool and action choice from the response, and then execute your implementation of the tool action.

隐私网站条款Cookie 首选项
© 2025, Amazon Web Services, Inc. 或其附属公司。保留所有权利。