In the world of 2026, the most powerful tool an AI-first business can possess is not just a collection of chatbots, but a Sovereign AI Hub. This is a secure, always-on server that acts as the “brain” for your agentic team, managing long-running sessions, coordinating multiple models, and providing your agents with access to local memory and data.

Before we begin the installation, ensure your Mac mini meets the following requirements:

  • Processor: Any Apple Silicon chip (M1, M2, M3, or the latest M4) is ideal. The Neural Engine in these chips is specifically designed for AI workloads.
  • Memory (RAM): 16GB is the minimum, but 32GB or more is highly recommended if you plan to run multiple large models (like Llama 3 or Mistral) simultaneously.
  • Storage: At least 256GB of SSD storage, as you will need space for your workspace, local databases, and various model files.
  • Operating System: macOS 14 (Sonoma) or later.
  • Software Tools: Ensure you have Node.js (v20 or later) and npm installed. We recommend using a version manager like mise or nvm for easy updates.

For a production-grade Gateway, it’s best to create a dedicated system user or at least a clean workspace directory. Open your Terminal and follow these steps:

  1. Update your package manager: If you use Homebrew, run brew update to ensure everything is current.
  2. Verify your Node version: Run node -v. If it’s below v20, update it using your preferred method.
  3. Install the OpenClaw CLI: Run npm install -g openclaw to make the command-line interface available globally.

Now, choose a location for your OpenClaw workspace (for example, ~/openclaw-workspace) and initialise it:

mkdir ~/openclaw-workspace
cd ~/openclaw-workspace
openclaw init

This command will create the basic directory structure, including folders for agents, skills, and your configuration files.

Next, open the config.json file in your workspace. This is where you will define your Gateway settings, including the port it runs on (default is 3000) and your model provider keys (if using cloud models) or local model endpoints.

With your configuration in place, you are ready to start the Gateway service:

openclaw gateway start

You can verify that the Gateway is running and healthy by checking its status:

openclaw gateway status

You should see a message indicating that the Gateway is “Online” and listening on your specified port. This service will now remain active in the background, ready to receive commands and manage agentic sessions.

Now that your Gateway is live, let’s test it by spawning a simple agentic session. OpenClaw uses “Agent Profiles” (stored in agents/[name]/IDENTITY.md) to define the persona and capabilities of each agent.

To spawn a session with a default agent, use the following command:

openclaw run --message "Hello, world! Who are you?"

The Gateway will receive this request, select the appropriate model, and return a response. You can view the live log of this session by using openclaw sessions list.

To make your Mac mini a true “Sovereign Hub,” you want the Gateway to start automatically whenever the machine boots. On macOS, the standard way to do this is using launchd.

We recommend creating a simple .plist file in ~/Library/LaunchAgents that points to your openclaw gateway start command. This ensures that even after a power outage or a system update, your AI orchestration layer comes back online without human intervention.

Congratulations! You have now transformed your Mac mini into a high-performance OpenClaw Gateway. This is the foundation upon which you can build a truly autonomous, agentic business.

By hosting your orchestration locally, you’ve gained a level of security, speed, and cost-efficiency that no purely cloud-based solution can match. Your Mac mini is now the heart of your “Tiny Team,” ready to orchestrate a workforce of intelligent agents 24 hours a day.

In our next tutorial, we’ll explore how to connect your Gateway to your proprietary business data using Custom MCP Servers.