Integrations
OpenClaw
Install the openclaw-interven-guard plugin from ClawHub โ no code changes.
Interven ships an OpenClaw plugin that hooks before_tool_call for every tool call
your agent makes. Once installed and configured with an API key, every guarded tool
gets scanned through Interven automatically.
Install
openclaw plugins install clawhub:openclaw-interven-guardConfigure
Edit ~/.openclaw/openclaw.json:
{
"plugins": {
"entries": {
"openclaw-interven-guard": {
"config": {
"apiKey": "iv_live_...",
"gatewayUrl": "https://api.intervensecurity.com",
"scanTimeoutMs": 30000,
"approvalWaitSec": 180,
"guardAllTools": true,
"failClosedOnTimeout": false
}
}
}
}
}| Option | Default | Notes |
|---|---|---|
apiKey | required | Your iv_live_* API key |
gatewayUrl | https://api.intervensecurity.com | Override only if self-hosting |
scanTimeoutMs | 15000 | Per-scan timeout. First scan can take longer; bump to 30000 |
approvalWaitSec | 180 | How long the plugin waits on REQUIRE_APPROVAL before giving up |
guardAllTools | true | Scan every tool, not just web_fetch/exec/etc. |
failClosedOnTimeout | false | Block on scan timeout. Off = UX-friendly, On = safety-first |
Restart the OpenClaw gateway:
openclaw gateway restart
# or, if running manually:
nohup openclaw gateway > ~/.openclaw/gateway.log 2>&1 &What happens at runtime
- Your agent invokes a tool (curl, web_fetch, message, etc.)
- The plugin's
before_tool_callhook intercepts the call - Plugin POSTs the request body to
/v1/scan - Decision returned:
- ALLOW โ tool runs as usual
- DENY โ tool is blocked, agent gets a message explaining why
- SANITIZE โ tool runs with redacted arguments
- REQUIRE_APPROVAL โ plugin polls for up to
approvalWaitSec, then resumes if approved
Common gotchas
- Reinstalling/upgrading the plugin wipes the
configblock inopenclaw.json. Save your apiKey before runningplugins uninstall. - First scan from a brand-new agent can exceed the default 15s timeout.
Set
scanTimeoutMs: 30000. - Plugin v0.3.3+ retries on transient 5xx errors. Earlier versions failed open immediately โ upgrade if you see phantom approvals.
See the full integration guide for the 11 documented setup gotchas from real customer deploys.