A catalog team starts with an AI agent that compares two spreadsheets. A few weeks later, the same agent signs in to a supplier portal, downloads new inventory, runs a validation script, and prepares updates for the store. The next request is natural. Can it apply the approved changes itself?
Each addition gives the agent a way to save someone time. Each addition also changes the system it runs in. It can reach another account, read another class of data, run another program, or leave a lasting change in a business system. Its environment now affects whether the job succeeds, who can recover it, and how much damage a mistake can cause.
In Give Your AI Agent Its Own Workspace, we made the case for giving an agent a place to work. This follow-up looks at what belongs inside that place, which responsibilities stay outside it, and how to choose infrastructure you can operate day to day.
What changes when an agent can act
When a model returns a draft, a person can inspect the result before deciding what to do. When the same model can invoke a browser, write a file, or use an API, its next step can change the state of another system. The impact depends on the credentials, files, and tools available at that moment. A browser logged in as a storefront administrator carries different authority from a supplier account that can only download reports.
The same expansion changes reliability. A job that used to depend on one model response now depends on a browser session, working credentials, a stable runtime, and enough memory and disk to finish. A tool update can break an automation. A full disk can interrupt output and leave a later run without the record it needs to resume. A timeout after an API call can leave the agent uncertain about whether a change went through. The team operating the workflow needs to diagnose those failures even when the model’s explanation sounds plausible. A practical guide to building agents
On a shared server, a stuck browser can exhaust memory that an application needs. A tool running as an administrator can change packages, scheduled tasks, or firewall rules that other services rely on. On a personal computer, the same job can hold the browser open, compete for resources, or depend on a session the owner needs to close.
Give a recurring agent its own cloud VM with a stable set of tools and resources. When the runtime lives on the VM, the operator can disconnect while the job continues. Keep the agent’s files, sessions, upgrades, and recovery separate from the owner’s everyday work.
Define the execution, identity, and data boundaries
Execution. Run the agent under its own OS account inside the VM. Give that account permission to run the job and write to its work directory. Use a separate admin identity for patching, configuration, and recovery. Keep privileged interfaces, shared host disks, and production service configuration outside the agent’s account. If an agent needs Docker for builds, protect access to the daemon and use a disposable builder when practical. Docker documents the reach of daemon access and host filesystem mounts. Docker Engine security
Identity. Create workload-specific credentials for the services it uses. Give a reporting agent read access to a named dataset and write access to its own results folder. Reserve permission to publish, change billing, or edit permissions for a separate operator or tightly scoped service. Keep the workspace’s administration path on a restricted network or access gateway. Then check application permissions independently. A private address limits network reachability. Application identities and roles decide what a connection can do. NIST Zero Trust Architecture
Data. Give the agent approved inputs, a bounded scratch directory, and a defined place for artifacts. An employee’s browser history and cloud-drive folder tree can contain material from dozens of unrelated jobs. Turn off personal browser sync and full-drive mounts, and use a dedicated browser profile for agent sessions. If the workflow sends text or files to a hosted model or another external API, account for that data flow separately. Apply the same access and retention rules to screenshots, logs, and exports that you would to the business records they contain.
A supplier page, uploaded PDF, or tool response can also contain text that tries to redirect the agent. Treat that content as input. Restrict the destinations and operations tools can use, then validate consequential actions against rules enforced by the application. That keeps the decision to grant access outside the material the agent is reading. OWASP on prompt injection
Design the job to survive an interruption
A workspace gives you somewhere predictable to run the agent. The job still needs a predictable way to stop and resume. Store job state and important results in approved project storage so a replacement VM can pick them up. Store the browser, runtime version, OS packages, and launch configuration in a repeatable setup script or clean image. Provision credentials at runtime. This makes a new workspace faster to bring up and lets you test a browser or dependency upgrade on a replacement before moving the daily job over.
Use a stable job ID, a deadline, and a checkpoint at each major step. For a catalog update, save the source export’s version and the proposed changes before asking someone to approve them. If a write times out, check the destination for the intended result before retrying. Where the API supports it, use a request key that prevents repeating the same change. Cap retries and send the run for review when it reaches the limit. That prevents a temporary failure from turning into repeated updates or a queue that never clears.
Give the runner limits on CPU, memory, concurrent jobs, and disk usage. Set a retention window for temporary downloads and traces. Then track the signals that predict operational trouble, such as jobs waiting beyond their expected start time, stale checkpoints, failed credential refreshes, and a shrinking free-disk margin. Keep enough of the record to answer what happened and where the run stopped, with sensitive payloads and credentials filtered from logs.
What this looks like for a real workflow
Consider the catalog team again. Every morning, the workspace signs in with a supplier account that can only read exports. It checks the file against the expected schema, compares the data with a read-only storefront export, and writes a proposed change list. The reviewer sees the product ID, previous value, proposed value, and source row. Approval is attached to that specific change list.
A separate publishing service applies the approved changes using an identity that can update the required product fields. It checks that the storefront still has the expected prior values. If something changed during the review window, it sends those rows back for review. The team can keep using its own tools while the agent runs. If the workspace needs to be rebuilt, the published records and outstanding approvals are still in the systems the team controls.
This workflow can start with the agent producing a report. The team can add a controlled publishing step once it understands the accuracy, failure modes, and review time. Higher-impact actions deserve a named reviewer and a clear way to pause the queue. OpenAI’s guidance on human intervention
Choose Windows or Linux around the workload
Choose a Windows VPS if your team supports Windows and the task needs a desktop. Examples include a Windows-only business app, a workflow that relies on a visible browser, or an existing PowerShell and desktop automation setup. Test an unattended run while the operator is disconnected. Screen resolution, an existing remote session, and the state of the login can affect UI automation. Confirm that the application and automation runner support Windows Server, and start at 8 GB RAM when the browser and another desktop app are expected to stay open together. Microsoft’s unattended desktop flow documentation
Choose a Linux VPS if your team already uses SSH, package managers, and scheduled or containerized services. A worker that reads APIs, processes files, runs scripts, or drives a headless browser can start with 2 vCPUs and 4 GB RAM as a sizing trial. Move toward 4 vCPUs and 8 GB RAM when you need more concurrent browsers, persistent services, or heavier builds. Use persistent storage for approved outputs and size local disk for browsers, caches, and temporary downloads. If the task involves a mobile emulator, confirm its virtualization and display requirements with the provider before choosing a plan.
These are starting points. Run a representative workload, check peak memory, disk growth, and elapsed time, then choose capacity based on what the job actually used. For work that takes actions continuously during business hours, also test performance when neighboring jobs are busy and check whether dedicated CPU would improve consistency.
VPS configurations to shortlist
RackVector publishes this guide and is one of the providers listed. Compare regional availability, admin access controls, and the cost and scope of backups alongside CPU, RAM, and disk. A snapshot can help recover a VM. A tested restore establishes how long it actually takes to resume the workflow.
| Plan | Published configuration | Where it fits |
|---|---|---|
| DigitalOcean Basic Regular | Linux, 2 shared vCPUs, 4 GiB RAM, 80 GiB SSD | A headless worker or browser test that needs space for downloads and artifacts |
| Hetzner Cloud CPX21 | Linux, 3 shared AMD vCPUs, 4 GB RAM, 80 GB NVMe in the US | A recurring Linux workload. Confirm the plan and networking in your region. |
| RackVector Linux-Core and Linux-Plus | Core has 2 vCPUs, 4 GB RAM, and 40 GB NVMe. Plus has 4 vCPUs, 8 GB RAM, and 60 GB NVMe. | Core for a single worker. Plus for a workload that needs more memory or concurrency. |
| AWS Lightsail Windows | The 4 GB and 8 GB public IPv4 bundles have 2 vCPUs, with 80 GB and 160 GB SSD respectively. | A Windows app or desktop browser workflow in an AWS region the team already uses |
| RackVector Windows Starter and Standard | Starter has 2 vCPUs, 4 GB RAM, and 40 GB SSD. Standard has 4 vCPUs, 8 GB RAM, and 80 GB SSD. | Starter for a light trial. Standard when the browser and a desktop app need to run together. |
Run four tests before expanding access
- Check the boundary. From the agent’s account, try to read a project outside its scope or write to a field it should only read. Confirm the platform denies the action and leaves a useful record.
- Interrupt a run. Restart the VM between downloading a source file and producing an output. Check that the job resumes from its last durable step and avoids duplicate work.
- Test the approval path. Change a record after a proposal has been approved. Verify that the writer spots the mismatch and hands it back to the reviewer.
- Replace the workspace. Build a fresh VM from the same configuration, attach current credentials, and recover a known job. Record how long that takes and who can make the call.
Start with a job whose inputs, outputs, and owner are easy to name. Add capability as the team learns how the workflow behaves in practice. Each time the agent gets a new tool or permission, revisit what it can reach, how the work can fail, and how a person gets control back. That’s how you keep a more capable agent useful without letting its growing responsibilities spill into your desktop or your production servers.


