AO

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. Exchange / generate an auth token.
  3. Write agent-orchestrator.yaml, ~/.openclaw/openclaw.json, and a shell-profile export for OPENCLAW_HOOKS_TOKEN.

Non-interactive variant:

ao setup openclaw --non-interactive --url http://127.0.0.1:18789/hooks/agent --token <token>

Use

After setup, your config looks like:

agent-orchestrator.yaml
notifier:
  - type: openclaw
    url: http://127.0.0.1:18789/hooks/agent
    token: ${OPENCLAW_HOOKS_TOKEN}
    wakeMode: next-heartbeat       # or `now`

Config

KeyDefaultWhat it does
urlhttp://127.0.0.1:18789/hooks/agentOpenClaw hook endpoint
tokenAuth token. Use ${ENV_VAR} — never commit the raw value
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
configPath~/.openclaw/openclaw.jsonOverride OpenClaw config location

Token precedence

Token is read in this order:

  1. token in agent-orchestrator.yaml (usually ${OPENCLAW_HOOKS_TOKEN})
  2. Env var OPENCLAW_HOOKS_TOKEN
  3. ~/.openclaw/openclaw.json

ao doctor --test-notify is the only notifier test that can probe OpenClaw without side effects — other notifiers send a real test message.