COMBINE GUIDE - FULL STACK

Main takeaway: start three core services, then add Agent Zero

This gives you local generation (Ollama), orchestration (OpenClaw), automation (n8n), and interactive agent UI (Agent Zero).

WINDOWS

Bring up core services

ollama serve
openclaw gateway start
n8n start
docker run -p 50001:80 agent0ai/agent-zero

Expected result: all four components are available on localhost.

macOS

Bring up core services

ollama serve
openclaw gateway start
n8n start
docker run -p 50001:80 agent0ai/agent-zero

Expected result: same behavior as Windows.

Linux

Bring up core services

ollama serve
openclaw gateway start
n8n start
docker run -p 50001:80 agent0ai/agent-zero

Expected result: all services run with no fatal errors.

HEALTH CHECK

Verify each layer

ollama list
openclaw gateway status
n8n --version
docker ps

Expected result: each command confirms service health.

FLOW IDEA

Simple production loop

Capture notes, summarize with Ollama, route with n8n, and manage lifecycle with OpenClaw.

Expected result: repeatable daily workflow with local control.

TROUBLESHOOTING

Common fixes

If one service fails, stop and restart only that service first.

If Docker container exits, run docker logs <container_id> to inspect errors.

If ports collide, move one service to another port and update n8n endpoints.