You don’t add the Mac mini as “an agent machine” directly. You add its Qwen server as a model provider, then optionally create an OpenClaw agent that uses that model.
Best setup:
1. On the Mac mini: expose Qwen via OpenAI-compatible API
If using Ollama:
Check model name:
From this machine, test:
Use /v1 in the OpenClaw config.
2. Add a provider to OpenClaw
In ~/.openclaw/openclaw.json, add something like:
Important bit: because it’s on your LAN, OpenClaw needs:
Otherwise the provider fetch guard may block private-network model endpoints.
3. Add it to the allowed model list
Under:
Then you can select it as:
or the canonical ref:
4. Optional: make it a separate named agent
Add to agents.list:
Then OpenClaw can route/spawn work to that agent by agentId: "qwen-mac".
5. Restart/apply config
After editing:
Then verify:
My take: use it first as a model alias (qwen-mac). Only add a separate agents.list entry if you want a different personality/tool policy/concurrency bucket. Otherwise you’re just adding config clutter.