Every Kiro Web session runs in an isolated sandbox with its own workspace. The terminal gives you a shell in that workspace, so you can run builds and tests, check output, or try a command yourself without asking the agent.
In the session header, select the terminal icon (Terminal). Commands run in the session's sandbox, in the same workspace the agent works in. You can open the terminal once the sandbox is running; while it starts, the button is unavailable.
Your shell keeps running while you work. If you reload the page or the connection drops, the terminal reconnects to the same shell. If it shows that it disconnected, select Reconnect.
Minimize hides the terminal and keeps the shell running. Select Close and discard this shell. Kiro asks Discard this shell? Select Discard to end the shell; anything running in it stops. Select Cancel to keep it.
In the terminal header, select Move to bottom or Move to right to place the terminal. Drag its edge to resize it.
Select text in the terminal and copy it with your usual copy shortcut or the right-click menu. Paste into the terminal as you would anywhere else.
- The terminal runs in the session's sandbox, not on your local machine. To get changes out of the session, ask the agent to open a pull request, or download files from the file explorer.
- Commands you run in the terminal use the same internet access as the agent. See Sandbox for what the sandbox can reach.
- Sandbox - the isolated environment behind every session
- File explorer - browse and download the same workspace
- Working with the agent - the full Kiro Web experience
Terminal