
Remote working, remote desktops and distributed computing are not new technologies; they have been around for decades. However, artificial intelligence, particularly AI agents capable of autonomous execution, is changing the purpose, architecture and use of remote working systems.
Traditional remote working allows people to operate computers from different locations. Wherever the computer is located, the human remains the primary executor of the work. As AI becomes capable of calling tools, operating software, writing code, running tests and handling complex tasks, the amount of direct computer operation required of people is declining, while their responsibilities for directing work, making decisions and reviewing results are increasing.
People can assign tasks to AI, specifying objectives, resources, permissions and constraints, and allow it to execute autonomously within its authorised scope. In the meantime, they can attend to other matters or leave the computer altogether, checking progress, adjusting instructions and reviewing results over the network from different locations. Work that once required several hours of continuous human operation may now require only a few task assignments and reviews.
This is the practical rationale for using a compact computer such as a Mac mini as an always-on workstation. A permanently positioned, continuously connected Mac can not only be operated remotely but also run AI agents, development tools, automation services and local AI models. Once a background task has been launched independently, it can continue after the user’s phone, tablet or laptop disconnects.
Individuals and small teams can use a Mac mini, a compact Linux computer or existing equipment to build a small remote external-brain working system, combining local computing, cloud AI, secure networking and remote interaction without delegating all their work to commercial cloud computing platforms.
1 — Basic system architecture
The system can be divided into six components:
Remote interaction terminals: laptops, smartphones, tablets and virtual reality devices with browser support.
Network access layer: routers, firewalls, VPN servers, device authentication and encrypted communication channels.
Local computing layer: centred on an always-on workstation such as a Mac mini, with Linux and Windows computing nodes added as needed.
AI working layer: AI agents, development tools, local models, cloud model interfaces and tool-calling environments.
Task management layer: task assignment, agent collaboration, execution status, logs, human approval and notifications.
Data management layer: code repositories, file systems, knowledge bases, databases and backup systems.
The basic access relationships can be represented as follows:
Remote terminal → VPN or secure virtual network → Always-on workstation → AI agents, development tools and local data
↕
Cloud AI models and external services
These components do not all need to run on separate physical devices. Initially, the system may consist of just one Mac mini and a secure remote access environment, with additional computing nodes and services added as work demands increase.
2 — The Mac mini as an always-on computing node
The Mac mini is compact, has relatively low power consumption and does not require an integrated display or battery, making it suitable for stationary, continuous operation. A Mac mini with an Apple Silicon processor can handle ordinary software development, document processing, network services and AI agent tasks, as well as local AI models that fit within its unified memory capacity.
For developers working on Apple platforms, a Mac serves a particularly important purpose: running Xcode, building iOS and macOS applications, operating simulators, running automated tests and signing applications, all of which depend on the macOS development environment. An ordinary Linux server often cannot directly replace it for these tasks.
An always-on Mac can run without a dedicated display, keyboard or mouse and be managed primarily through SSH, Screen Sharing or a remote AI working interface. Initial setup and certain recovery procedures may still require physical access.
When selecting hardware, memory capacity should reflect the expected number of simultaneously running agents, development environments, simulators and local models. Users who mainly rely on cloud AI models while executing code and document tasks locally do not necessarily need the highest-performance model. Unified memory capacity and storage space become more important when running several large development projects, multiple simulators or larger local AI models concurrently.
Basic operating settings for a Mac mini include:
Use wired Ethernet or a reliable wireless network, and obtain a stable internal IP address through DHCP reservation on the router.
Prevent automatic computer sleep in the macOS power settings, allow the display to turn off and enable automatic restart after a power failure as needed.
Enable Remote Login (SSH) and Screen Sharing in the sharing settings as required, restricting the accounts permitted to log in.
Use launchd or another managed background service mechanism to run programs that need to remain available, rather than making tasks dependent on a terminal window staying open.
Configure storage and temperature monitoring, system updates, data backups and failure notifications.
Turning off the display, locking the screen, logging out and putting the system to sleep are different states. Turning off the display or locking the screen generally does not affect independent background services, but some development tasks that require a graphical interface, a logged-in user session or access to the Keychain may not run after logout. With FileVault enabled, it is important to test power-loss recovery, system restarts, remote unlocking and service restoration in practice. Automatic startup should not be equated with automatic recovery of every application, and disk encryption should not be casually disabled for the sake of remote access.
If additional computing capacity is required, Linux nodes can be added to run Docker containers, databases, web services, background programs, agent management and native Linux tests. Windows nodes can be added for Windows software development, compatibility testing and GPU computing. Linux containers on Apple Silicon generally run in a virtualised environment; software targeting other CPU architectures also raises compatibility and performance considerations.
3 — VPNs and secure remote access
An always-on working system should not expose remote desktop, database, file sharing or system administration ports directly to the public internet. A more appropriate approach is to establish encrypted communication channels between external terminals and internal computing resources through a VPN or another secure virtual networking technology.
WireGuard
WireGuard is a streamlined, high-performance VPN protocol. It uses UDP for transport, Curve25519 for key exchange and ChaCha20-Poly1305 for authenticated encryption. It supports Linux, Windows, macOS, iOS and Android, among other platforms, and can be deployed directly on routers that support WireGuard.
For a network with a reachable public IP address, a WireGuard server can run on the router, allowing external devices to access authorised computing nodes through encrypted tunnels. Each client device uses its own keys, with firewall rules controlling access permissions. If the VPN server runs on an internal computer, corresponding port forwarding is normally required.
OpenVPN
OpenVPN uses TLS mechanisms for authentication and key negotiation and can operate over either UDP or TCP. In some public networks that restrict UDP traffic, TCP-based OpenVPN can provide an alternative means of access, although carrying TCP application traffic inside a TCP tunnel may reduce transmission efficiency.
IPsec/IKEv2
IPsec/IKEv2 offers mature security mechanisms and broad operating system support, making it suitable for mobile devices, enterprise networks and secure connections between different local networks.
Tailscale and other virtual networking technologies
Tailscale builds virtual networks on WireGuard and provides device identity management, access control, NAT traversal and encrypted relaying. For users without a dedicated public IP address or whose internet provider uses carrier-grade NAT (CGNAT), this can reduce the work involved in managing VPN servers and port forwarding. When two devices cannot establish a direct connection, traffic can travel through a relay while remaining protected by end-to-end encryption.
Where a public IP address is available but may change, dynamic DNS (DDNS) can update the mapping between the domain name and the IP address. Where no directly reachable public address is available, virtual networking technologies can be used, or a relay network can be established on a trusted public server. DDNS itself cannot traverse CGNAT.
A VPN can operate in full-tunnel or split-tunnel mode. The former routes the client’s internet traffic through the VPN server, while the latter sends only traffic destined for the remote working system through the encrypted tunnel. For remote working, split tunnelling will usually suffice to access internal computing resources and can reduce the traffic burden on the remote network.
Users who travel frequently can establish two methods of remote access using different transport mechanisms where needed, avoiding a loss of access to the workstation when a particular protocol is restricted. Successful VPN authentication does not mean that the client should be allowed access to the entire local network; firewall and access rules must still reflect device identity and operational requirements.
4 — Remote desktops and lightweight interaction terminals
Once secure network access has been established, remote computing nodes can be accessed in several ways:
SSH: remote command-line access, system administration, program execution and service monitoring.
SFTP: encrypted file transfer over SSH.
RDP: remote desktop access to Windows and some Linux environments.
VNC: cross-platform remote desktop access, including compatible access to macOS Screen Sharing.
Apache Guacamole: browser-based remote desktop and terminal access.
VS Code Remote SSH: operating a remote development environment from a local editor.
AI working interfaces and web dashboards: task assignment, agent interaction, execution status and log inspection.
Apache Guacamole is suitable for small systems containing several computing nodes. It can act as a unified access gateway, connecting to computers running different operating systems through a browser and supporting protocols such as RDP, VNC and SSH. Clients do not need separate software for every remote desktop protocol. When using Guacamole, browser access should be configured with HTTPS, and backend remote desktop connections should be confined to trusted networks.
In an AI-era remote working system, the conventional remote desktop is only one way to interact. Some contemporary AI development tools already provide remote host connections, mobile device access or background task management. Users can assign work directly to agents on the always-on workstation, inspect code changes, provide additional instructions and review execution results without keeping a remote desktop open continuously.
The principal responsibilities of terminal devices then become display, input, voice interaction and network communication. A lightweight laptop, smartphone or tablet can serve as a working terminal for a remote Mac mini and other computing nodes, without requiring a complete development environment to be installed on each terminal.
5 — AI agents and autonomous task execution
An always-on computer does not itself possess the ability to work autonomously. A system capable of continuously executing AI tasks also needs an agent runtime, tool permissions, task management mechanisms and persistent working state.
Traditional automation generally involves people writing programs or designing workflows in advance, after which computers execute them according to predefined rules. An AI agent can instead formulate a plan from the objectives and constraints provided by a person, read information, call tools, analyse results and adapt its subsequent actions during execution. The two approaches can be combined, but they serve different purposes in the system.
Individuals and small teams can use AI tools such as Codex and Claude Code directly on an always-on Mac or another computing node to perform software development, file processing, information analysis and system maintenance. Features such as background execution, remote interaction, parallel tasks and independent working directories can reduce the need to develop a custom agent management platform. However, background execution, task duration limits, authorisation and remote connection capabilities vary by product and operating mode, and need to be assessed against the actual version and configuration in use.
For purpose-built agents, frameworks such as the OpenAI Agents SDK, Claude Agent SDK and Google ADK can be used. Where several agents need to collaborate, technologies such as LangGraph can organise state, execution steps and human intervention. Complex tasks requiring extended execution, failure recovery and continuity across processes can also make use of durable workflow technologies such as Temporal. MCP (Model Context Protocol) can connect agents to files, databases, applications and external services, but does not itself schedule tasks or automatically grant agents access to resources.
Traditional mechanisms such as systemd, launchd, Docker and operating system schedulers can continue to provide the underlying runtime support without becoming the centre of the entire AI working system.
A typical software development workflow might proceed as follows:
The user submits a development task through a phone or another terminal, specifying the objective, constraints and acceptance criteria.
The AI reads project documentation, the code repository and development requirements, then formulates an implementation plan.
The AI modifies code in a separate Git branch or worktree and runs builds and tests.
Depending on the project, the relevant verification tasks run on Mac, Linux or Windows nodes.
The AI analyses test results, fixes detected problems and continues within the specified retry limits and resource budget.
Once the task is complete, the AI generates a change record and test report, and creates a pull request if authorised.
The user receives a notification, reviews the result and decides whether to approve a merge or deployment.
Users do not need to maintain a connection to the workstation or enter each command individually. Tasks that can be executed in parallel can be assigned to several agents at once, but separate working directories, branches and resource limits are needed to prevent interference between them.
Long-running tasks should operate independently of remote desktop sessions wherever possible, preserving task state, logs, intermediate results and necessary checkpoints. Following a network outage or system failure, tasks equipped with appropriate persistence and recovery mechanisms can resume once conditions are restored. Ordinary AI conversations or command-line processes do not acquire these capabilities automatically.
In this system, human work increasingly concentrates on task definition, resource allocation, adjustments to direction, exception handling, permission approvals and acceptance of results. Being online 24 hours a day means that the computing environment is always available to accept and continue tasks; it does not mean that agents must call AI models continuously.
6 — Reducing cloud computing costs by using local resources
Autonomous AI work increases the use of computing resources. Builds, tests, code analysis and data processing that developers previously performed occasionally may now be repeated by AI within a single task. If every operation relies on commercial cloud computing platforms, costs may rise significantly.
Continuous integration and continuous delivery (CI/CD) in software development provide a typical example. GitHub Actions offers hosted computing environments for building and testing software on Linux, Windows and macOS. For billable hosted computing usage, GitHub charges according to runtime, with macOS computing resources costing considerably more per unit of time than standard Linux resources.
According to GitHub’s official prices consulted on 1 December 2026, selected standard hosted runner rates per minute are as follows (US dollars):
Linux 2-core x64: US$0.006.
Windows 2-core x64: US$0.010.
macOS 3-core or 4-core: US$0.062.
If a project incurs 3,000 minutes of billable macOS runtime per month at the above rate, the hosted computing cost is US$186. Where some of the usage falls within the included allowance of a subscription, the actual cost must be adjusted for that allowance. Standard hosted runners are generally free for public repositories, so this cost cannot be applied directly to every project.
Users who already own a Mac mini or another Mac can have AI repeatedly perform Xcode builds, simulator tests, unit tests and other verification work on their own computer. The Mac can also be configured as a GitHub Actions self-hosted runner.
This does not require abandoning GitHub. GitHub continues to manage code repositories, version control, pull requests and workflow scheduling, while the user’s computer performs the actual builds and tests. According to the current official billing documentation, ordinary self-hosted runners do not incur GitHub Actions runtime charges; fees for other services and resources must still be considered separately.
In practical software development, AI can first perform multiple rounds of local builds and tests, using hosted CI for independent verification only when the code is nearing completion. Alternatively, dedicated local runners can be configured for private repositories so that some formal CI tasks run locally. The two approaches can be combined.
Local computers can also perform many other tasks that would otherwise require paid cloud computing resources, including:
Docker image builds and deployment of test environments.
Data cleaning, transformation and batch processing.
Web research and document generation.
Operation of databases, vector databases and personal knowledge bases.
File synchronisation, code repository backups and data archiving.
Local AI model inference and knowledge base retrieval.
Long-term operation of development environments and application prototypes.
Local computing also entails hardware depreciation, electricity, networking and maintenance costs. For users who already have equipment, have steady workloads and need to execute tasks frequently, however, these costs may be considerably lower than the ongoing expense of purchasing hosted computing time.
Consider the Mac mini (2024 M4 model, 16 GB unified memory and 256 GB SSD). Apple’s official figures specify an idle power consumption of 4 W and a maximum of 65 W. Assuming an always-on workstation actually averages 20 W, its annual electricity consumption when running around the clock would be approximately 175.2 kilowatt-hours. At an electricity price of A$0.30 per kilowatt-hour, the annual electricity cost would be around A$52.56. This illustrates the method of calculating electricity costs rather than an actual measured result. Average power consumption depends on the equipment, workload and attached hardware, and the calculation excludes routers, other computing nodes, hardware depreciation and related expenses.
Whether buying a dedicated Mac mini is worthwhile can be assessed by comparing expected annual savings on hosted computing with the purchase cost, useful life, operating and maintenance costs of the device. Differences in the time required by different devices to perform the same task must also be considered, rather than merely comparing prices per computing minute.
When large AI models, high-performance GPUs, large-scale parallel computing or highly available production environments are required, cloud resources can still be purchased on demand. Cloud AI subscriptions and model API charges must also be calculated separately; running code and tests locally does not automatically eliminate these costs.
7 — A hybrid architecture combining local computing and cloud AI
A local computing system does not require every AI model to run locally. A practical architecture separates AI model inference from the environment in which tasks are actually executed.
For example, a cloud AI model can interpret requirements, analyse problems, devise plans and generate code, while an agent running on a local Mac accesses files, modifies programs, executes commands, compiles software and runs tests. A Linux node can provide databases, containers and other backend services.
For simple text processing, document classification, knowledge base retrieval and tasks within the capabilities of local models, tools such as Ollama, llama.cpp and MLX can be used to run models on Apple Silicon computers. Model size, quantisation, context length and the number of concurrent tasks need to match the memory available on the device.
This hybrid architecture allows users to choose different models and execution environments according to task complexity, computing cost and data confidentiality requirements. Code, documents, databases, knowledge bases and workflows can remain in a computing system under the user’s control, without having to rebuild the entire working environment when changing AI models or service providers.
Local execution does not automatically mean all data remains local. If an agent calls an external AI model’s API, code, documents, tool execution results and other contextual information sent to the model may still leave the local system. Clear permissions for data access and transmission must therefore be established for different tasks.
8 — Network security and AI permissions management
Because the entire system remains online and allows AI to perform real operations, its security requirements are higher than those of an ordinary personal computer.
At the network level, firewalls, VLANs, VPN access controls and device authentication should appropriately isolate working computing nodes, ordinary terminals, Internet of Things devices and guest networks. Even a small system without a complex VLAN architecture needs to restrict the devices and services that can access its workstation.
Computing nodes should have separate administrative accounts, ordinary working accounts and any necessary AI service accounts. AI agents should not have administrator privileges by default or unrestricted access to all files, network resources and account credentials. Tool permission controls, file access scopes and sandbox environments can be combined to confine agents to their respective projects.
High-risk AI operations, such as deleting important files, modifying network configurations, deploying production systems, consuming paid resources beyond the budget and sending sensitive data externally, should require human approval. Content from webpages, documents, code repositories and third-party tools must not be treated directly as instructions authorised to change an agent’s task or permissions.
Particular care must be taken to isolate the execution environment of GitHub self-hosted runners. Automated tasks from untrusted public repositories or pull requests should not run directly on a workstation holding personal information, signing certificates and important credentials. Where necessary, separate computing nodes, virtual machines or disposable execution environments should be used, with restrictions on the repositories, networks and credentials accessible to the runner.
The system should also incorporate the following basic mechanisms:
Independent authentication credentials for each remote device, allowing access to be revoked individually if a device is lost.
Secure centralised management of passwords, API keys, SSH keys and access tokens.
Automatic service startup, status monitoring and failure notifications.
Monitoring of CPU, memory, storage, temperature and network status.
AI task execution logs, operation audits and human approval records.
Limits on cloud API usage, costs and task retries.
Regular data backups, offline backups and actual recovery tests.
UPS power supplies and alternative network access options appropriate to operational reliability requirements.
9 — Phased implementation
Individuals and small teams can establish this system in four phases, without buying large amounts of equipment all at once.
In the first phase, use a Mac mini or an existing computer as an always-on workstation, establish a stable local network, VPN and necessary remote access services, and test external network access and recovery after a power failure.
In the second phase, configure AI development tools, background services, code repositories, development environments and automated backups on the always-on workstation, allowing users to assign tasks and inspect execution results through remote terminals.
In the third phase, transfer frequently executed builds, tests and data processing tasks to local computing nodes. Set up self-hosted runners, separate working directories and multi-agent execution environments as needed to reduce reliance on hosted computing resources.
In the fourth phase, add Linux, Windows or other computing nodes when workloads genuinely warrant them, establishing cross-node task coordination, durable execution, permission approvals and unified operational monitoring.
For most individuals whose needs are limited to everyday software development, document processing and AI-assisted work, a continuously available workstation, secure remote access and mature AI agent tools can constitute the initial system. There is no need to build complex enterprise-grade infrastructure in advance.
Technical references
Apple Mac mini specifications: https://www.apple.com/au/mac-mini/specs/
Apple Mac mini power consumption: https://support.apple.com/en-au/103253
Apple Mac power management: https://support.apple.com/guide/mac-help/mchlp1168/mac
WireGuard: https://www.wireguard.com/
OpenVPN: https://openvpn.net/
Tailscale: https://tailscale.com/
Apache Guacamole: https://guacamole.apache.org/
OpenAI Codex remote working: https://developers.openai.com/blog/mastering-codex-remote-for-engineering
Claude Code: https://code.claude.com/docs/en/overview
OpenAI Agents SDK: https://openai.github.io/openai-agents-python/
Google ADK: https://google.github.io/adk-docs/
MCP: https://modelcontextprotocol.io/
LangGraph: https://docs.langchain.com/oss/python/langgraph/overview
Temporal: https://docs.temporal.io/durable-execution
GitHub Actions self-hosted runners: https://docs.github.com/en/actions/concepts/runners/self-hosted-runners
GitHub Actions billing: https://docs.github.com/en/actions/concepts/billing-and-usage
GitHub Actions computing resource prices: https://docs.github.com/en/billing/reference/actions-runner-pricing
GitHub Actions security: https://docs.github.com/en/actions/reference/security/secure-use
Ollama: https://ollama.com/
llama.cpp: https://github.com/ggml-org/llama.cpp
MLX: https://github.com/ml-explore/mlx
Discover more from Geoffrey Chen
Subscribe to get the latest posts sent to your email.