SynapSynapDocs

OpenClaw

Connect OpenClaw to Synap backend with Hub Protocol, the synap skill, and provisioning flows.

OpenClaw is an external agent runtime. Synap backend is the sovereign data/governance layer.
The connection path is: OpenClaw agent -> Hub Protocol (/api/hub/*) -> Synap backend.

Relationship to Synap backend

  • OpenClaw does not write to the database directly.
  • It calls Hub endpoints with scoped API keys.
  • Backend still enforces permission/proposal policy for high-impact mutations.

Core implementation points in backend:

Setup paths

1) Self-hosted backend script

Use backend provisioning script (creates agent user + Hub key + starts OpenClaw profile):

2) Synap backend CLI (synap)

Self-hosted operators can enable and manage OpenClaw via backend CLI (synap) and compose profiles.

3) Synap CLI bootstrap

For end-to-end onboarding from user side:

npx @synap/cli init

CLI repo:

Skill wiring

OpenClaw should install Synap skill so it can call Hub endpoints coherently:

Continue

On this page