Documentation

OpenClaw notifier

Deliver notifications through a local OpenClaw gateway — personal, low-latency, private.

Slot: notifier · Name: openclaw

macOSSupported
LinuxSupported
WindowsSupported

OpenClaw is a local gateway that routes AO events into whatever personal alert channel you've wired up — phone push, email, a local sound, etc. If it's running on your machine, this notifier uses it.

Setup

Run AO's interactive helper:

ao setup openclaw

It will:

  1. Auto-detect OpenClaw on localhost (or prompt for the URL).
  2. Read hooks.token from your OpenClaw config.
  3. If the token is missing, show where to add/generate it from the OpenClaw side.
  4. Write only agent-orchestrator.yaml; AO does not generate the token or write shell-profile exports.
  5. Let you review and change the URL, OpenClaw config path, or routing preset before saving.

Non-interactive variant:

ao setup openclaw --non-interactive --url http://127.0.0.1:18789/hooks/agent --routing-preset urgent-action

Refresh an existing setup or inspect status:

ao setup openclaw --refresh
ao setup openclaw --status

Use

After setup, your config looks like:

notifiers:
  openclaw:
    plugin: openclaw
    url: http://127.0.0.1:18789/hooks/agent
    openclawConfigPath: ~/.openclaw/openclaw.json
    wakeMode: now

The OpenClaw config keeps the actual secret:

{
	"hooks": {
		"enabled": true,
		"token": "<openclaw-hooks-token>",
		"allowRequestSessionKey": true,
		"allowedSessionKeyPrefixes": ["hook:"]
	}
}

Config

KeyDefaultWhat it does
urlhttp://127.0.0.1:18789/hooks/agentOpenClaw hook endpoint
openclawConfigPath~/.openclaw/openclaw.jsonLocal OpenClaw config path that contains hooks.token
tokenRemote/manual fallback. Avoid for local setups because it stores the secret in AO config
nameIdentifier shown in OpenClaw
sessionKeyPrefixPrefix for OpenClaw session keys
wakeModenext-heartbeatnow = deliver immediately, next-heartbeat = batch on next OpenClaw tick
delivertrueDisable to record-only without waking the user
retries3Retry count on transient failures
retryDelayMs1000Base retry delay
healthSummaryPathOptional local path where OpenClaw writes a summary AO can pick up

Token precedence

Token is read in this order:

  1. token in agent-orchestrator.yaml if explicitly configured
  2. hooks.token from openclawConfigPath
  3. Env var OPENCLAW_HOOKS_TOKEN as a legacy fallback

ao setup openclaw --status probes the OpenClaw gateway and token. To send a real AO test notification through the configured notifier, run:

ao notify test --to openclaw --template basic