The Deska blog
The Best Remote Machine for Running Agents
Find the best remote machine for running agents like Claude Code. Explore hardware specs, latency, and how Deska enables seamless remote agent management.
10 min read
Selecting the best remote machine for running agents is a critical decision for developers moving beyond local experimentation. As AI coding agents like Claude Code and OpenCode become more capable, the hardware requirements for low latency and high reliability increase significantly. Running these tools on a dedicated remote instance ensures that long running tasks do not consume local system resources, providing a stable environment for complex refactoring or autonomous testing.
Hardware Requirements for AI Agents
When evaluating a remote machine, you must prioritize I/O speed and memory over raw CPU clock speed. Agents often perform thousands of small file reads and writes as they analyze a codebase. If the disk subsystem is slow, the agent will spend more time waiting for data than processing logic.
Memory and Compute
A baseline of 16GB of RAM is recommended for most agentic workflows. While the agent itself may not use all of this, the surrounding ecosystem of language servers, compilers, and test runners requires significant headroom. For CPU, look for high single core performance to speed up the serialization of large context windows.
Disk and Network
Solid State Drives (SSD) are non-negotiable. If you are using a cloud provider, choose provisioned IOPS to ensure consistent performance during heavy indexing tasks. Network latency is equally vital, especially when using a remote access strategy. High latency between your workspace and the machine can make real time monitoring of agent logs feel sluggish.
Comparative Approaches to Remote Environments
There are several ways to architect your remote agent environment. Each approach has trade-offs regarding cost, control, and ease of setup.
| Environment Type | Best For | Pros | Cons |
|---|---|---|---|
| Bare Metal | Maximum Performance | No virtualization overhead | Higher cost and manual setup |
| Cloud VPS | Scalability | Easy to resize resources | Potential noisy neighbor issues |
| Dedicated Dev Box | Consistency | Pre configured for coding | Often locked to specific IDEs |
| Home Server | Privacy and Cost | One time hardware cost | Requires stable home internet |
Cloud VPS providers offer the most flexibility. You can spin up a high performance instance for a specific sprint and shut it down afterward. However, for developers who prioritize a local-first philosophy, a dedicated machine in a home lab or office provides the best balance of privacy and long term value.
Running Multiple Agents Simultaneously
Modern workflows often involve more than one agent. You might use Claude Code for architectural changes while running Codex CLI for unit test generation. Managing these side by side requires a workspace that can handle multiple terminal sessions without clutter.
Deska provides an infinite canvas where you can place these agent sessions anywhere. Instead of flipping between tabs, you can zoom out to see the status of every running agent at once. This spatial arrangement helps in tracking how different agents interact with the same codebase.
The Role of Deska in Remote Workflows
Deska is a free desktop app for Mac, Windows, and Linux that functions as a comprehensive workspace for developers. It does not replace your remote machine; rather, it acts as the interface to it. By using terminals, you can connect to your remote instance and run agents in a visual, organized environment.
Visualizing Agent Activity
One of the challenges of remote agents is the lack of visibility. When an agent is running a complex task, you need to see the terminal output, the affected code, and perhaps a browser window for documentation. Deska allows you to place a code editor next to an agent terminal. This side by side view is essential for verifying that the agent is not hallucinating or making destructive changes.
Mobile Monitoring with Deska
If you are running an agent on a remote machine, you shouldn't be tethered to your desk. The Deska mobile app allows you to monitor these sessions from your phone. The connection uses a secure relay where devices pair directly. This means you do not have to expose any ports on your remote machine to the public internet, maintaining a high security posture. You can check the progress of a long running agent or even run new commands via the mobile interface.
Setting Up Your Remote Machine
To get the most out of your remote setup, follow these best practices for configuration:
- Use SSH keys for all connections. Avoid password authentication to reduce the risk of brute force attacks.
- Install a terminal multiplexer like tmux. This ensures that if your connection drops, the agent continues running on the remote machine.
- Use a dedicated directory for agent activities. This makes it easier to manage permissions and cleanup logs.
- Configure your coding agents with specific resource limits to prevent them from crashing the host machine if they enter an infinite loop.
Managing API Keys and Security
Security is paramount when working with remote machines and AI. Many developers prefer to use their own API keys to maintain control over costs and data usage. Deska supports a BYOK (Bring Your Own Key) model for its lifetime tier, allowing you to interface with various models directly.
For those who prefer a managed experience, pricing options include managed inference. Regardless of the choice, the local-first nature of Deska ensures that your code and sensitive session data stay on your machine rather than being stored in a third party cloud.
Frequently Asked Questions
What is the best cloud provider for AI agents?
The choice depends on your geographic location and budget. Providers that offer high performance compute instances with low latency to your current location are ideal. Look for those with robust API support for programmatic scaling.
How much RAM do I need for Claude Code?
While the agent itself is efficient, the environment it operates in is demanding. We recommend at least 16GB of RAM to accommodate the agent, the project files, and the necessary development tools like compilers or test runners.
Can I run agents on a Raspberry Pi?
It is possible but not recommended for professional workflows. The limited CPU power and slower I/O of a Raspberry Pi will significantly bottleneck the agent, leading to long wait times for even simple code analysis tasks.
Getting Started with Deska
Once your remote machine is configured, you can start organizing your workflow more effectively. Using an infinite workspace allows you to manage the complexity of modern AI driven development without the constraints of traditional IDE layouts. You can download the app today to begin building your custom agent environment.
For further details on setting up your workspace, refer to the getting started guide. Whether you are running a single instance of OpenCode or a complex web of agent threads, having the right infrastructure and the right interface is the key to productivity.