Work with the agent
Your agent-ready WorkSpace comes with an AI agent that runs on your WorkSpace. You describe what you want in plain language, and the agent reads files and runs commands for you. You can work with the agent in three views.
This feature is in public preview. Features and behavior are subject to change.
| View | Use it to |
|---|---|
Chat |
Ask the agent questions and give it tasks in plain language. |
Terminal |
Work with the agent at a command line. The agent starts automatically. |
Desktop |
Use the full streaming Windows desktop and your own tools. You can show the chat side by side with the desktop. |
Your chats and terminals are saved on the WorkSpace, so you can close the tab and pick up where you left off.
The agent can make mistakes. Review its work before you rely on it or share it.
Chat
Start a chat
To start a chat
-
Open the Chat view.
-
(Optional) Choose a model from the model list below the message box. For more information, see Choose a model later in this topic.
-
Describe what you want in plain language, and then choose Send.
A chat message can be up to 1 MiB, about one million characters of plain text. For longer content, save it to a file in your workspace folder and ask the agent to read it.
To start another chat, choose New chat session (+).
Follow the agent's work
While the agent works, an indicator shows that it's processing your request and generating a response, and the reply appears as the agent writes it. Each time the agent uses a tool, such as reading a file or running a command, a step appears above the reply. Choose a step to see what the agent asked the tool to do and what came back.
If you scroll up while a reply is arriving, choose Jump to latest to go back to the newest text. To copy a message or a block of code, choose its Copy button.
Each chat handles one request at a time. To work on something else while the agent is busy, start another chat.
Approve agent actions
Before the agent does something that your administrator hasn't approved in advance, such as running a command, it stops and asks you. A card appears in the chat, and the agent waits until you answer. The request has no time limit.
To answer a request
-
Read the card. It shows what the agent wants to do and the command or file involved.
-
Choose Approve & run to let the agent continue, or Not now to decline. If you decline, the agent carries on without that action.
The Chat button shows how many requests are waiting for you, so you can tell from other views. A request stays until you answer, even if you reload the page.
If a command is very long, the card shows only the beginning.
Sign in to a service
If the agent needs you to sign in to a service, such as GitHub, a sign-in card appears in the chat, and the sign-in page opens in the browser on your WorkSpace desktop.
To sign in from the chat
-
On the sign-in card, choose Show desktop.
-
Sign in to the service in the browser window on the desktop.
-
Return to the chat. The agent continues.
If the page doesn't open, choose Open on desktop on the card. If you don't finish signing in within 10 minutes, the sign-in expires. The step that needed it fails, and the agent continues.
Stop a turn
To end a task before it's done, choose Stop. It replaces the send button while the agent works. The reply keeps the text that has arrived, and you can send a new message.
Stop doesn't undo anything. If the agent has already edited a file or run a command, the change stays. Check the result before you continue.
Terminal
Start a terminal
Each terminal starts Claude Code for you. You don't install or configure anything, and your files and tools are already there. Enter a request and watch the agent read, edit, and test right in the terminal.
To open a terminal
-
Open the Terminal view.
-
Choose New terminal session.
-
Enter a request, and then press Enter.
Each terminal is its own conversation with the agent. A terminal runs Claude Code, not a general command prompt. To use PowerShell or other Windows tools, use the Desktop view.
Approve agent actions in a terminal
When the agent needs your approval in a terminal, it asks in the terminal instead of showing a card. Answer in the terminal. The agent waits until you answer.
Sign in to a service from a terminal
To sign in from a terminal
-
In the terminal, the agent asks to open a sign-in URL. Choose Accept.
-
The sign-in page opens on the desktop, and the Desktop view comes to the front. Sign in to the service in the browser window.
-
Return to the Terminal view. The agent continues.
If the sign-in expires before you finish, the step that needed it fails, and the agent continues.
Stop the agent in a terminal
To interrupt the agent in a terminal, press Esc. Interrupting doesn't undo anything. If the agent has already edited a file or run a command, the change stays.
If a terminal ends
If the agent in a terminal ends, the terminal's row in the list shows Shell ended, Ended - can reopen, or Failed. If you see Ended - can reopen, choose Reopen conversation to continue the conversation in a new shell. To remove the terminal and its conversation, choose Discard. Otherwise, choose Close.
Desktop
The Desktop view shows your WorkSpace's Windows desktop in a tab. Use any app on your WorkSpace, with nothing to install. The agent works on the same WorkSpace, so you see its changes in your files and apps. When the agent needs you to sign in to a service, the sign-in page opens here.
Switching between views doesn't interrupt anything. The desktop stays connected, and the agent keeps working.
Sessions
Your chats and terminals are sessions. They're saved on the WorkSpace, so you see the same sessions on every device. Chats are listed under Sessions in the Chat view, and terminals are listed in the Terminal view.
-
To open an earlier session, choose it in the list, or choose it under Recent sessions on Home.
-
To find a chat, enter text in Search.
-
To change the order of your chats, choose Sort sessions, and then choose an order.
-
To keep a chat at the top, open the actions menu on its row, and then choose Pin.
-
To rename a session, open the actions menu on its row, and then choose Rename.
-
To delete a session, open the actions menu on its row, and then choose Delete. The session is deleted immediately, without a confirmation prompt.
-
To see older messages in a chat, scroll to the top and choose Show earlier messages.
Pins and sort order are saved in your browser, so they don't follow you to another device. AWS deletes sessions that you haven't used for 182 days.
Your chats are saved on your WorkSpace. WorkSpaces doesn't include chat content in the usage logs that it delivers to your administrator. However, your organization's administrators might be able to access files on your WorkSpace. They can also choose to log model requests in Amazon Bedrock. For your organization's policy, ask your administrator.
Choose a model
In the Chat view, the name of the current model appears below the
message box. Choose the name to see the list. Default uses the
WorkSpace's default model, and the list shows which model that is. Your choice applies
from your next message, and each chat keeps its own choice. If no model name appears, the
agent uses the default model. In a terminal, run the /model command to
choose a model. The command lists only the models that your WorkSpace allows.
See available skills
Skills are sets of instructions that the agent loads when a task calls for them. Your administrator can set skills for you, and you can add your own.
To see available skills
-
Choose your name at the bottom of the navigation rail, and then choose Settings. On a mobile device, open the menu first.
-
Choose Skills.
The list shows the skills that your administrator set up, with each skill's name and a short description. You can also add your own skills. Put a folder that holds a SKILL.md file in your skills folder or in the project. The agent uses your skills, but they don't appear in this list.
To see the services that the agent can connect to, choose Connectors in the same place.
Working with files and tools the agent creates
The agent runs under its own Windows account. As a result:
-
It saves files in your workspace folder,
D:\Users\. It can read, but not change, your Documents, Desktop, and Downloads folders and common code folders such as repos, unless your administrator allows it.user\workspace -
Before you run Git in a repository the agent created, run
git config --global --add safe.directoryonce for that repository.path -
Tools the agent installs might not be found in a new session. Install tools for all users (requires administrator access), or ask the agent to add the tool's folder to
.claude\settings.local.json.
If something goes wrong
| What you see | What to do |
|---|---|
The agent did not finish this turn. |
Read the message from the agent for the reason, and then choose Send again. |
The agent did not take this prompt. |
Choose Send again. If the agent is still working on an earlier message, wait for it to finish first. |
Not connected to the workspace agent. |
Wait. The connection returns on its own, and messages that you send in the meantime are sent when it does. If the message stays, close and reopen the WorkSpace. For more information, see Disconnecting. |
Interrupted before the agent finished. |
Your connection dropped during the reply. The agent keeps working, and the chat shows the finished reply after you reconnect. |
This message is too large to send. |
Shorten the message, or split it into two messages. |
This session was removed by the agent. |
Send your message again to start a new chat. Your unsent message is back in the message box. |
Git reports "detected dubious ownership" in a repository the agent created. |
The agent runs under its own Windows account. Repositories it creates are owned by that account, so Git won't run in them for you until you mark them as safe. Run this once for each repository:
For example: Use forward slashes (/) in the path. The setting stays in effect after your WorkSpace is rebuilt. |
Tools that the agent installs aren't found in a new session. |
The agent runs under its own Windows account and can't change the
Windows
Tools that you install only for your own user account aren't available to the agent. |