View a markdown version of this page

Get started with agent-ready WorkSpaces - Amazon WorkSpaces

Get started with agent-ready WorkSpaces

Note

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

To give a user a WorkSpace with an AI agent, you set up your account and create a persona configuration. The persona configuration holds the resources that the agent uses. You then create a WorkSpace with that persona configuration. The quickest way is to start from a starter kit, which creates the resources for you.

Note

You incur charges in your AWS account for the WorkSpaces you create and for Amazon Bedrock model usage by the agent.

Before you begin

Before you set up agent-ready WorkSpaces, make sure that you meet the following requirements:

  • Use the US East (Ohio) Region. Agent-ready WorkSpaces are available only in this Region during preview.

  • Have a directory in US East (Ohio). Supported directories are AWS Managed Microsoft Active Directory (AD), AD Connector, AWS Managed Microsoft AD with a trust relationship to your on-premises domain, and IAM Identity Center. For more information, see Manage directories for WorkSpaces Personal.

  • Make sure that your AWS Identity and Access Management (IAM) identity has permission to set up agent-ready WorkSpaces and to create IAM roles (iam:GetRole, iam:CreateRole, and iam:PutRolePolicy). Account setup creates the AgenticWorkspacesInferenceRole role for you. For the required permissions, see Prerequisites for agent-ready WorkSpaces.

  • Make sure that Web Access is turned on for your directory. Users connect to the agent through the WorkSpaces web client.

  • If you use service control policies (SCPs) in AWS Organizations, allow Amazon Bedrock inference in US East (N. Virginia), US East (Ohio), and US West (Oregon).

Step 1: Set up your account

Account setup prepares agent-ready WorkSpaces for your account in the Region. It creates the IAM role that WorkSpaces uses to call Amazon Bedrock in your account, and it sets up the WorkSpaces gateway. You complete it once per Region. The Agentic Catalog isn't available until setup is complete.

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

  2. Choose Enable agent-ready WorkSpaces.

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

  4. If setup fails, review the reason shown, fix the cause, and then choose Retry. For example, a service control policy might deny Amazon Bedrock. For more information, see Troubleshoot agent-ready WorkSpaces.

Step 2: Create a persona configuration

A persona configuration combines the models, Model Context Protocol (MCP) connectors, contexts, and policies for a type of user. You can start from a starter kit or create each resource yourself.

Option A: Start from a starter kit (recommended)

A starter kit contains what the persona configuration needs. When you use it, the console activates the kit's connectors and creates its contexts and policies in your account. If the kit's models aren't allowed for your account yet, the console also allows them. Models that you allow apply to your whole account, so review the kit's models before you create the persona configuration.

To create a persona configuration from a starter kit
  1. In the Agentic Catalog, under Agentic persona configurations, choose Create Agentic persona configuration.

  2. For Start from, choose a starter kit: Developer, Business, General, or Graphic designer.

  3. Review the settings, and enter a name and description.

  4. Choose Create Persona Configuration. The console shows each setup step as it runs. If a step fails, review the reason, and then choose Retry.

The contexts and policies that the starter kit contains belong to you. You can review and change them in the Agentic Catalog.

Option B: Create the resources yourself

Create the resources in this order, and then create the persona configuration.

To allow models for your account
  1. In the Agentic Catalog, under Allowed AI models, choose Edit allowed AI models.

  2. Select the models that agents in your account can use, and then save.

To activate MCP connectors
  1. In the Agentic Catalog, under MCP Connectors, select the connectors that agents can use, such as GitHub or Asana.

  2. Choose Activate.

Each WorkSpace can use one OS policy and one Agent Harness policy. If you don't choose an OS policy, the built-in protections apply. If you don't choose an Agent Harness policy, the agent asks before it edits files or runs commands. We recommend that you create one of each before you create the persona configuration.

To create a policy
  1. In the Agentic Catalog, under Policies, choose Create policy.

  2. Choose the policy type: OS (Windows enforces this policy; it controls whether the agent can reach the internet, and which folders the agent can't access, can only read, and can change) or Agent Harness (the agent enforces this policy; it controls tools, approval behavior, and working folders).

  3. For Name, enter a name that is unique among policies of that type in your account.

  4. Under Rules, set the rules by using Visual or JSON.

  5. Choose Create policy.

The following OS policy turns off the agent's internet access and denies access to SSH keys and AWS credentials. The agent can still use models and connectors through the WorkSpaces gateway.

{ "disableInternetAccess": true, "deniedPaths": ["~/.ssh", "~/.aws"] }

The following Agent Harness policy asks the user before the agent changes files or runs commands, and blocks the agent's web tool.

{ "disallowedTools": ["WebFetch"], "permissionMode": "default" }

To view your existing policies, open the Agentic Catalog and choose Policies. For all policy settings and more examples, see Security policies.

Important

Check each policy before you use it. If a policy can't be applied while a WorkSpace is being created, the WorkSpace fails to provision. For more information, see Security policies.

To create a persona configuration
  1. In the Agentic Catalog, under Agentic persona configurations, choose Create Agentic persona configuration.

  2. For Name, enter a name (up to 64 characters). For Description, describe what the persona configuration is for.

  3. For Models, choose at least one model. Only models allowed for your account are shown.

  4. (Optional) For MCP Connectors, choose up to 25 connectors. Only connectors activated for your account are shown.

  5. (Optional) Under Contexts, choose Agent.md, Skills, and Workflows contexts, up to 50 in total.

  6. (Optional) Under Policies, choose an OS policy and an Agent Harness policy.

  7. Choose Create Persona Configuration.

You can't edit a persona configuration after you create it. To make changes, create a new one from it.

Step 3: Create a WorkSpace

You can create an agent-ready WorkSpace with Get a Recommendation or Configure manually.

To create a WorkSpace from a recommendation
  1. In the navigation pane, choose WorkSpaces, Personal, and then choose Create WorkSpaces.

  2. For Creation method, choose Get a Recommendation.

  3. Under Tell us about your use case, for Which best represents your end user?, choose Business, Developer, Graphics and design, or Not sure?. Under Details, describe the tasks or applications the WorkSpace is for.

  4. Under Select a recommended bundle, review the recommendation and choose a bundle. Only bundles marked Compatible with agent-ready WorkSpaces can use an agent.

  5. Under Select a running mode, choose AlwaysOn or AutoStop, and then choose Choose running mode. An AutoStop WorkSpace stops after the idle time you set, and the agent stops with it.

  6. Under Confirm agentic configuration, make sure Enable agent-ready WorkSpace is selected, choose a persona configuration, and then choose Confirm configuration. If your account isn't set up yet, enabling this option also sets up your account: it creates an IAM role for Amazon Bedrock access, configures the agent gateway, and enables models through cross-Region inference profiles.

  7. Under Directory and users, choose a directory, and then choose Use this directory. Then choose or create the users.

  8. Review the settings, and then choose Create WorkSpaces.

To create a WorkSpace with Configure manually
  1. In the navigation pane, choose WorkSpaces, Personal.

  2. Choose Create WorkSpaces.

  3. For Creation method, choose Configure manually.

  4. For Bundle type, choose a Power bundle or larger that runs Windows Server 2025 and uses the DCV streaming protocol. To filter the list, enter Agentic in the bundle field. Value, Standard, Performance, Linux, and bring your own license (BYOL) bundles aren't supported.

  5. Under Agentic configuration, select Enable agent-ready WorkSpace, and then choose a persona configuration.

  6. Under User assignment, choose your directory, and then choose or create the users.

  7. Choose Create WorkSpaces. The initial status of the WorkSpace is PENDING. When creation is complete, the status is AVAILABLE.

Note

You can turn on agent-ready capabilities only when you create a WorkSpace. You can't add them to an existing WorkSpace during preview.

Send users their sign-in details

If you created new users, WorkSpaces sends each user an invitation email. If the users already exist in your directory, send each user their registration code and sign-in instructions yourself. For more information, see Send an invitation email.

Step 4: Connect to the WorkSpace

The user completes these steps.

To connect to the WorkSpace
  1. The user opens the link in the invitation email and registers the WorkSpaces web client by using the registration code.

  2. The user signs in with their credentials.

  3. The user works with the agent through chat, a terminal, or the desktop.

  4. The first time the agent uses a connector, such as GitHub, the user signs in to that service in the WorkSpace browser.

For more information, see Getting started with your agent-ready WorkSpace in the agent-ready WorkSpaces User Guide.

Step 5: Clean up

To avoid further charges, delete the resources that you created for this tutorial.

To clean up
  1. Delete the WorkSpace. For more information, see Delete a WorkSpace in WorkSpaces Personal.

  2. (Optional) In the Agentic Catalog, delete the persona configuration, and the policies and contexts that you created.

Next steps

To learn more about configuring and managing agent-ready WorkSpaces, see the following topics: