Workstations
A Workstation is a sandbox where a deep agent runs commands and works with files: it writes documents, runs scripts, works on your repositories and, with an identity you give it, works in your Google Cloud projects.
Everything on this page is set on the Workstation’s card under Build > Sandboxes. Changing it requires sandboxes.manage.
Personal and shared
Section titled “Personal and shared”| Personal | Shared | |
|---|---|---|
| Who | One person | Several people |
| Where the agent works | The Workstation’s working folder, the same in every conversation, so the person keeps their files from one conversation to the next | A folder of its own for each conversation. One conversation can’t see or change another’s files. |
| Repositories and skills | In the working folder | Each conversation gets its own copy, so two people never step on each other’s work |
In a shared Workstation, a conversation folder nobody has used for 14 days is removed, with its copies. Download anything you want to keep from the Files tab in the chat; see What people get.
What every Workstation has
Section titled “What every Workstation has”- git, Python 3.11, Node.js (LTS), gcloud and kubectl.
- A document toolkit, so an agent can make and convert Office files and PDFs: LibreOffice, poppler, and the Python libraries
python-pptx,python-docx,openpyxl,pandas,pypdf,pdfplumber,reportlabandmarkitdown, plus the Node packagespptxgenjs,docx,sharp,reactandreact-icons.
A Workstation has no administrator rights, so system packages (apt-get) can’t be installed. Packages an agent installs itself with pip install or npm install -g stay on the Workstation’s disk and survive restarts.
The agent is told what its Workstation holds: its repositories, what is installed, its internet access level and its Google Cloud identity, so it doesn’t guess.
Tools on the card adds what the Workstation doesn’t come with. Select Change, then:
| Field | What it does |
|---|---|
| Node | Node.js 20, 22 or 24 instead of the built-in version |
| Python | Python 3.11, 3.12 or 3.13 instead of the built-in version. With another version the built-in document libraries aren’t there; add the ones you need as pip packages. |
| Command-line tools (official release, checksum-verified) | Terraform, GitHub CLI, Helm and yq, each at the version shown. Each is the publisher’s official release, checked against the checksum the publisher lists before it is installed. |
| pip packages (one per line, with a version to pin it) | Up to 60 packages, by name, optionally with a version such as requests==2.32.3 |
| npm packages (one per line) | Up to 60 packages, by name, optionally with a version |
Select Save and install. VirtuAI installs them without restarting the Workstation, and again whenever it restarts; packages you remove from the list are uninstalled. The card shows Installing…, Installed or Failed, and Reinstall runs it again. Only package names are accepted, not URLs, paths or options.
Installing downloads from the internet, so the Workstation’s internet access must allow it. Open with guardrails does; with Only listed sites, tick the Packages (PyPI, npm, GitHub) preset, which also covers Node.js and the command-line tools.
Under What the skills of its agents ask for:, the card lists packages the skills of its agents need that the Workstation doesn’t have yet, from their requirements.txt, package.json or install instructions. Select one to add it.
To use the AWS or Azure command line, add awscli or azure-cli as a pip package. For Google’s Python client libraries, add google-auth and the libraries you use.
Skills in a Workstation
Section titled “Skills in a Workstation”When an agent with skills imported from Git works in a Workstation, each skill’s files are in the Workstation under skills/<name>/, so the scripts the skill calls can run there. A skill you assign or update later reaches conversations already under way.
Google Cloud identity
Section titled “Google Cloud identity”By default a Workstation has no Google Cloud identity: the card shows No identity: gcloud has no credentials. To let its agents work in your Google Cloud projects, give it a service account of your own project. gcloud, kubectl and Google’s client libraries then get short-lived tokens for that account, with no key files.
- Under Google Cloud identity, select Set and enter the service account’s email.
- Select Save and restart. The Workstation restarts with the new identity.
- The card shows a command under The account’s owner allows this Workstation (once) in their project:. Someone who can manage IAM on that service account runs it in your project. It grants this one Workstation the Workload Identity User role on the account, and nothing else.
- Select Check. It answers Works: gcloud authenticates as the account, or says in plain words what is missing.
What the agent can do is exactly what you grant the service account in your projects. Grant it only the roles its work needs.
- There is no default project. gcloud, bq, gsutil and Google’s Python client libraries use only a project you choose: one set with
gcloud config set project, passed with--project, or inGOOGLE_CLOUD_PROJECT. The agent is told to pass--projector to ask which project to use. - The agent is told never to run
gcloud auth loginor to ask anyone for a key. - Remove identity takes it away; the Workstation restarts without one.
- Setting, changing and removing the identity is recorded in the activity log.
Command approvals
Section titled “Command approvals”Commands in a Workstation follow the same rules as any deep agent’s commands: in web chat and the CLI each one waits for the person’s approval, unless the agent’s approvals are off. See Command approvals.
Related
Section titled “Related”- Sandboxes: creating Workstations, people and agents
- Repositories: your code in a Workstation
- Sandbox security: internet access and the activity log
