View a markdown version of this page

Prerequisites for agent-ready WorkSpaces - Amazon WorkSpaces

Prerequisites for agent-ready WorkSpaces

Note

This feature is in public preview. Features and behavior are subject to change.

Before you create agent-ready WorkSpaces, make sure that your account meets the requirements on this page, and then complete account setup. Account setup is a one-time step in each AWS Region. It connects your account to the WorkSpaces gateway, which sends the agent's model requests to Amazon Bedrock in your account.

Supported configurations

The following table lists the requirements for agent-ready WorkSpaces during preview.

Requirement Supported during preview
AWS Region US East (Ohio) (us-east-2)
Directory A directory registered with WorkSpaces Personal in US East (Ohio), with the web access client enabled. The supported directory types are the same as for WorkSpaces Personal in the Region.
Bundles Agent-ready WorkSpaces require a Power bundle or larger, with Windows Server 2025 and the DCV protocol, or a custom bundle based on one. Value, Standard, Performance, and BYOL bundles, and bundles that use PCoIP, aren't supported.
WorkSpaces New WorkSpaces only. You can't add agentic capabilities to an existing WorkSpace.

For more information about directories, see Manage directories for WorkSpaces Personal.

To enable web access for your directory
  1. Open the Amazon WorkSpaces console.

  2. In the navigation pane, choose Directories.

  3. In the Directory ID column, choose the ID of the directory that you want to enable web access for.

  4. On the Directory Details page, scroll down to the Other platforms section, and then choose Edit.

  5. Choose Web Access.

  6. Choose Save.

Permissions for administrators

The AWS Identity and Access Management (IAM) identity that you use to set up and manage agent-ready WorkSpaces needs the following permissions.

  • WorkSpaces operations. Each operation has an IAM action with the same name, for example workspaces:StartAgenticAccountSetup. To set up your account, you need workspaces:StartAgenticAccountSetup and workspaces:GetAgenticAccountSetup.

  • IAM. Account setup creates the role AgenticWorkspacesInferenceRole in your account. It uses the credentials of the IAM identity that starts setup, whether you start it from the console or the API. That identity needs iam:CreateRole, iam:GetRole, and iam:PutRolePolicy on the role.

  • Amazon Bedrock. To show which models are available to your account, the console needs bedrock:GetFoundationModelAvailability.

The following example policy grants the permissions to set up your account. Replace 111122223333 with your account ID.

{ "Version": "2012-10-17", "Statement": [ { "Sid": "AgenticAccountSetup", "Effect": "Allow", "Action": [ "workspaces:StartAgenticAccountSetup", "workspaces:GetAgenticAccountSetup" ], "Resource": "*" }, { "Sid": "CreateInferenceRole", "Effect": "Allow", "Action": [ "iam:CreateRole", "iam:GetRole", "iam:PutRolePolicy" ], "Resource": "arn:aws:iam::111122223333:role/AgenticWorkspacesInferenceRole" }, { "Sid": "ModelAvailability", "Effect": "Allow", "Action": "bedrock:GetFoundationModelAvailability", "Resource": "*" } ] }

The workspaces: actions for agent-ready WorkSpaces don't support resource-level permissions, because their resources (persona configurations, contexts, policies, and connectors) are identified by ID, not by ARN. Use "Resource": "*" for the workspaces: actions. You can scope the iam: actions to the role's ARN, as shown in the example.

Amazon Bedrock requirements

Agents use models from Amazon Bedrock in your AWS account.

Important

AWS bills your AWS account for model usage.

  • Enable model access in Amazon Bedrock. Before you allow a model for agent-ready WorkSpaces, make sure your account has access to it in Amazon Bedrock in US East (Ohio). For third-party models such as Anthropic Claude, someone in your account with AWS Marketplace subscribe permissions must accept the model's terms once. WorkSpaces doesn't accept them for you. For more information, see Request access to models.

  • Cross-Region inference. Model requests from agent-ready WorkSpaces use Amazon Bedrock cross-Region inference profiles for the US geography. Amazon Bedrock can process a request from US East (Ohio) in US East (N. Virginia), US East (Ohio), or US West (Oregon). For more information, see Cross-Region inference.

  • Service control policies. If you use service control policies (SCPs) in AWS Organizations, allow Amazon Bedrock inference in all three Regions. Include the bedrock:CallWithBearerToken action. If an SCP denies any of these, account setup or model requests fail, even when the role is correct.

The AgenticWorkspacesInferenceRole role

WorkSpaces uses the AgenticWorkspacesInferenceRole role in your account to call Amazon Bedrock for the agent. The role must have this exact name. When WorkSpaces assumes the role, it creates a short-term Amazon Bedrock API key that has the role's permissions and expires with the session. The WorkSpace doesn't store model credentials.

Account setup creates the role for you with the following policies.

Trust policy

The trust policy allows WorkSpaces to assume the role. The sts:ExternalId condition limits the role to WorkSpaces requests for agent-ready WorkSpaces. The external ID is the same for every customer and isn't a secret.

{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Principal": { "Service": "workspaces.amazonaws.com" }, "Action": "sts:AssumeRole", "Condition": { "StringEquals": { "sts:ExternalId": "agentic-workspaces-inference-credential" } } } ] }

Permissions policy

Account setup adds the following inline policy to the role, named AgenticWorkspacesInferencePolicy.

{ "Version": "2012-10-17", "Statement": [ { "Sid": "BedrockInference", "Effect": "Allow", "Action": [ "bedrock:InvokeModel", "bedrock:InvokeModelWithResponseStream" ], "Resource": "*" }, { "Sid": "BedrockApiKeyUsage", "Effect": "Allow", "Action": "bedrock:CallWithBearerToken", "Resource": "*" }, { "Sid": "BedrockModelDiscovery", "Effect": "Allow", "Action": [ "bedrock:ListFoundationModels", "bedrock:ListInferenceProfiles", "bedrock:ListProvisionedModelThroughputs", "bedrock:ListCustomModelDeployments", "bedrock:ListImportedModels", "bedrock:ListMarketplaceModelEndpoints", "bedrock:ListPromptRouters" ], "Resource": "*" } ] }
Note

When WorkSpaces uses the role, AWS CloudTrail in your account records the session name agentic-workspaces-111122223333, where 111122223333 is your account ID.

Set up your account

Complete account setup once in each Region. You can't configure models or connectors until setup is complete. You must complete account setup before you can use the Agentic Catalog, including starter kits.

To set up your account (console)
  1. Open the Agentic Catalog in the Amazon WorkSpaces console. If your account isn't set up, the page shows the setup option.

  2. Choose Enable agent-ready WorkSpaces.

  3. Wait until the status is Ready. You can leave the page while setup runs.

  4. If the status is Setup failed, review the reason, fix the cause, and then choose Retry.

To set up your account (AWS CLI)
  1. Start setup. Setup creates the AgenticWorkspacesInferenceRole role in your account.

    aws workspaces start-agentic-account-setup --region us-east-2

    Setup is asynchronous. The response returns the current status, which is SETTING_UP while setup runs. If setup is already in progress or complete, the operation returns the current status and doesn't start setup again.

  2. Check the status until it's READY or SETUP_FAILED.

    aws workspaces get-agentic-account-setup --region us-east-2

    If the status is SETUP_FAILED, fix the cause, and then call start-agentic-account-setup again to retry.

Account setup status

Console status API value Meaning What to do
Not set up NOT_SET_UP Account setup hasn't run in this Region. Set up your account.
Setting up SETTING_UP Setup is in progress. Wait, and then check again.
Ready READY Your account is set up. Allow models and activate connectors.
Setup failed SETUP_FAILED Setup couldn't complete. Fix the cause, and then start setup again.