Purpose: I wish to show that I can repurpose an old computer for a new purpose. This project is to show I can run OpenClaw (the trending autonomous AI agent, formerly known as Clawdbot or Moltbot) on my Intel Mac Mini. This is my plan for this project and I would appreciate any feedback. I will start the project this week and hope to complete it and have OpenClaw running by the weekend.
To run OpenClaw (the trending autonomous AI agent, formerly known as Clawdbot or Moltbot) on your Intel Mac Mini, you’ll need to set up a small local environment. Since you are on an Intel Mac, the process is very stable, but ensure you are running at least macOS 13 (Ventura) or newer for the best results.
Solution: To run OpenClaw (the trending autonomous AI agent, formerly known as Clawdbot or Moltbot) on your Intel Mac Mini, you’ll need to set up a small local environment. Since you are on an Intel Mac, the process is very stable, but ensure you are running at least macOS 13 (Ventura) or newer for the best results.
For an AI agent to stay "alive" and respond to messages (like Telegram or WhatsApp) 24/7, your Mac Mini cannot go to sleep.
caffeinate. As long as that Terminal window is open, your Mac will not sleep. However, Amphetamine is much more reliable for a 24/7 setup.Open your Terminal (Cmd + Space, type "Terminal") and run these commands:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
2. **Install Node.js 22+**:
OpenClaw requires a modern version of Node.
```bash
brew install node
Verify with node -v. It should be v22.x.x or higher.
The OpenClaw team provides a one-line installer that handles the heavy lifting.
curl -fsSL https://openclaw.ai/install.sh | bash
openclaw onboard --install-daemon
--install-daemon flag is crucial for your Mac Mini. It creates a background service (launchd) so OpenClaw starts automatically whenever you turn the computer on.After onboarding, you'll need to "pair" your messaging apps so you can talk to your agent from your phone.
@BotFather, get the token, and follow the prompts in the terminal.Check if the "Gateway" (the bridge between your Mac and the AI) is running:
openclaw status
If you see "Active," you're good to go! You can now message your bot from your phone, and your Intel Mac Mini will do all the thinking.
| Component | Tool |
|---|---|
| Hardware | Intel Mac Mini (Stable & Reliable) |
| Keep-Awake | Amphetamine (Indefinite Session) |
| Runtime | Node.js 22 |
| Agent Core | OpenClaw (Local Gateway) |
| Remote Access | Telegram / WhatsApp |
Running OpenClaw locally on your Mac
This video provides a visual walkthrough of the installation steps and how to manage the background services on macOS.
Connecting Ollama to OpenClaw on your Mac Mini is a great move—it gives you a 100% private AI assistant with zero subscription fees. Because OpenClaw is designed to be "OpenAI-compatible" but not "OpenAI-dependent," you can easily swap the expensive cloud brain for a local one.
If you haven't already, install Ollama and download a model that is strong enough to handle "Agentic" tasks (like following multi-step instructions).
ollama pull qwen2.5-coder:7b
In early 2026, the fastest way to link them is using the new launch command which automatically handles the configuration for you.
ollama launch openclaw --model qwen2.5-coder:7b
http://127.0.0.1:11434) instead of OpenAI.If the auto-launcher doesn't pick up your models, you can manually set the "Ollama API Key" environment variable. Even though Ollama doesn't actually require a key, OpenClaw looks for one to verify the connection is active.
openclaw config set models.providers.ollama.apiKey "ollama-local"
openclaw models list
ollama/qwen2.5-coder:7b) appearing in the list alongside any cloud models.To make sure OpenClaw always uses your Mac Mini's power first:
http://localhost:18789).http://127.0.0.1:11434 (no /v1 at the end).Setup OpenClaw with Ollama for a zero-cost AI assistant
This video is a complete walkthrough for developers and enthusiasts who want to run a secure, local-only AI workflow using OpenClaw and Ollama.
The third component you need is a Messaging Bridge (also called a Connector or Channel).
While OpenClaw is the body and Ollama is the brain, you still need a way to talk to the agent when you aren't sitting at your Mac Mini. Without a bridge, your AI is essentially a genius trapped in a room with no door.
Because OpenClaw is designed to be a "headless" agent (meaning it runs in the background), you interact with it through everyday apps. Most users choose Telegram or WhatsApp.
/newbot and follow the instructions to name it (e.g., "MyLocalClawBot"). It will give you an API Token (a long string of numbers and letters).openclaw onboard --channel telegram
| Component | What it is | Role |
|---|---|---|
| 1. OpenClaw | The "Body" | The software that actually moves files and runs scripts on your Mac. |
| 2. Ollama | The "Brain" | The local engine that processes your logic and keeps data private. |
| 3. Telegram Bot | The "Mouth/Ears" | The remote control that lets you talk to your Mac from anywhere. |
Connecting OpenClaw to Telegram
This video walk-through shows exactly how to use BotFather to get your token and how to enter the pairing code to finish the connection.
If you want to access the OpenClaw Dashboard (the visual interface) from outside your home without opening dangerous ports on your router, many users install Tailscale. It’s a "Zero-Config VPN" that lets you securely log into your Mac Mini's local dashboard as if you were sitting right in front of it.
Tailscale is the "secret sauce" for home server enthusiasts. In simple terms, it creates a private, encrypted tunnel between your devices (your Mac Mini, your iPhone, and your laptop) so they act like they are on the same home Wi-Fi, even if you are halfway across the world.
For your OpenClaw setup, it solves a major problem: How do you access the dashboard on your Mac Mini without opening a hole in your home router?
Normally, to access a home computer from the internet, you have to "open a port" on your router. This is like leaving a window unlocked in your house—eventually, a hacker's bot will find it and try to get in.
It takes about 3 minutes to set up:
100.x.x.x. This is your Mac's private address that stays the same forever.100.x.x.x address followed by the OpenClaw port (usually :18789).http://100.12.34.56:18789As of 2026, OpenClaw actually has a built-in "Tailscale Mode." If you want to share your dashboard with a specific coworker or friend without them needing Tailscale, you can use Tailscale Funnel.
https://macmini.tailnet-name.ts.net) that is protected by a password you set in OpenClaw. It’s the easiest way to get a "real" website address for your local AI.| Without Tailscale | With Tailscale |
|---|---|
| Can only use OpenClaw while at home. | Can use OpenClaw from a coffee shop, airport, or office. |
| Risks hackers finding your open ports. | 100% invisible to anyone outside your private "Tailnet." |
| Must deal with complicated router settings. | Works instantly, even behind strict office firewalls. |
As of the early 2026 update to OpenClaw (v2.x), there is a built-in "Tailscale Mode" that automates the networking for you. This allows OpenClaw to talk directly to your Tailscale app to handle the secure connection without you needing to touch your router.
Here are the terminal commands to set it up on your Mac Mini.
There are two ways to run this. Decide which one fits your needs:
https://your-mac.ts.net). This is great if you want to access it from a computer that doesn't have Tailscale installed (like a locked-down work PC).Open your Terminal and enter the following command to tell OpenClaw to use Tailscale:
For private "Serve" mode:
openclaw config set gateway.tailscale.mode "serve"
For public "Funnel" mode:
(Note: This requires you to have a password set on your OpenClaw gateway for security.)
openclaw config set gateway.tailscale.mode "funnel"
For the changes to take effect, you must restart the OpenClaw service:
openclaw gateway restart
Now, run the "Status" command to see your new secure URL:
openclaw status --deep
Look for a line that says "Tailscale URL." It will look something like https://macmini.tail1234.ts.net. You can now paste that link into any browser on your phone, and it will take you straight to your OpenClaw dashboard!
Important Note for Intel Macs: If you get an error saying "Tailscale not found," make sure you installed the Standalone version of Tailscale from their website. The App Store version is "sandboxed" and sometimes prevents OpenClaw from talking to it.
A "Watchdog" script is a simple background program that acts like a heartbeat monitor. Since OpenClaw v2.x (2026) has its own health-check API, we can write a script that checks two things:
If either one fails, the script will try to fix it and send you a Telegram message so you aren't left wondering why your bot isn't responding.
Open your Terminal and create a new file:
nano ~/openclaw_watchdog.sh
Paste this code into the editor (replace the placeholders with your actual info):
#!/bin/bash
# --- CONFIGURATION ---
# Your Telegram Bot Token from @BotFather
TOKEN="YOUR_TELEGRAM_BOT_TOKEN"
# Your Telegram User ID (Get it by messaging @userinfobot)
USER_ID="YOUR_TELEGRAM_USER_ID"
# Your Tailscale IP (The 100.x.x.x address)
TS_IP="YOUR_TAILSCALE_IP"
# --- THE CHECKS ---
# 1. Check Tailscale Connection
if ! /Applications/Tailscale.app/Contents/MacOS/Tailscale status | grep -q "100."; then
MESSAGE="⚠️ ALERT: Tailscale is DOWN on the Mac Mini. Attempting to reconnect..."
curl -s -X POST "https://api.telegram.org/bot$TOKEN/sendMessage" -d "chat_id=$USER_ID&text=$MESSAGE"
# Try to restart Tailscale (Standalone version)
sudo /Applications/Tailscale.app/Contents/MacOS/Tailscale up
fi
# 2. Check OpenClaw Gateway Health
# Using the 2026 health-check command
if ! openclaw health --json | grep -q '"status":"ok"'; then
MESSAGE="❌ ALERT: OpenClaw Gateway has CRASHED. Restarting service now..."
curl -s -X POST "https://api.telegram.org/bot$TOKEN/sendMessage" -d "chat_id=$USER_ID&text=$MESSAGE"
openclaw gateway restart
fi
Press Ctrl+O, Enter, then Ctrl+X to save and exit.
You need to give the script permission to run:
chmod +x ~/openclaw_watchdog.sh
On macOS, the easiest way to keep this running in the background is using crontab.
crontab -e
*/5 * * * * /Users/YOUR_USERNAME/openclaw_watchdog.sh
(Replace YOUR_USERNAME with your actual Mac username. If you aren't sure, type whoami in the terminal.)
If you want to be extra secure, you can add a third check for Ollama. Just add these lines to the script:
if ! pgrep -x "ollama" > /dev/null; then
curl -s -X POST "https://api.telegram.org/bot$TOKEN/sendMessage" -d "chat_id=$USER_ID&text=🧠 Ollama was closed. Reopening..."
open ollama://run
fi