Direct answer
Find out what is taking the space before you delete anything. For a long-running agent the usual culprits are logs, screenshots, browser cache and container images, and clearing those is normally enough. Do not touch system directories or the platform's management components.
Basis
- A desktop-style agent may save a screenshot at every step, and logs only ever grow, so after a few weeks the volume is considerable. They are often scattered in the tool's own hidden directories, which Finder does not show.
df -h /shows the overall free space;du -shfollowed by a directory path shows the size of a single directory, so work down level by level from your home directory. If Docker is installed,docker system dfshows how much images and build cache take.- When the disk is close to full, the symptom is not always an out-of-space error: database writes failing, the browser unable to open pages and the system becoming very slow are all possible, and the agent will mistake these for other problems.
- Storage capacity is fixed by the configuration at order time, and memory and storage are two different things. An external solid-state drive can add storage, but purchase, port and installation have to be confirmed with support first; you cannot just ship one over yourself.
Boundaries: when the answer is different
Do not use one-click cleaner software, and do not follow online tutorials to delete system directories, the top-level cache directory or folders you do not recognise: the platform's management components and the remote-control software are on this machine too, deleting them by mistake will leave you unable to connect, and the terms of use do not allow removing them. Before cleaning, confirm that the data you want to keep is backed up off the machine; deletion cannot be undone. If the disk is so full that even remote desktop is hard to use, do not restart repeatedly; contact support and explain the situation.
How to do it
- Run
df -h /to confirm it really is a space problem. - Use
du -shlevel by level under your home directory to find the three or four largest directories. - Deal with the agent's screenshots and old logs first: compress them, transfer them to your own storage, then delete the local copies.
- Clear the browser cache, unused container images and installers.
- Add rotation by size or by day for logs and a retention period in days for screenshots, so the disk does not fill again.
- If space is still tight after cleaning, ask support about external storage or changing the configuration.
Related questions
- Mac mini for 24/7 AI agents? Only worth it when the agent needs a desktop or macOS apps
- Do I need to back up the data on a remote Mac mini myself?
- How do I know my unattended agent is still running properly?
- Can I install Node, Homebrew and Docker on a rented Mac mini myself?
- How do I check if my AI agent ran all night, or if the Mac restarted or slept?
Use case
This question belongs to the use case: Mac mini for 24/7 AI agents? Only worth it when the agent needs a desktop or macOS apps
Other questions in the same use case:
- Lock screen or login window on my remote Mac mini: is my AI agent still running?
- How do I pause my AI agent for a few days on a rented Mac mini?
- Who grants my AI agent Accessibility, Screen Recording and Automation on a rented Mac?
- Can I install software that needs a system or kernel extension on a rented Mac mini?
Pricing and availability: see the plans page · Help center (中文) · Refund policy (中文) · Telegram Contact support