Monitoring OpenClaw with AIGodfather
Connect OpenClaw agents to AIGodfather for real-time security monitoring, threat detection, and governance — using native OpenClaw hooks.
OpenClaw is one of the most widely deployed AI agent frameworks, with 300,000+ installations. AIGodfather connects natively via OpenClaw's built-in hooks system — no code changes to your agents required.
Every message received, action executed, and error encountered by your OpenClaw agents flows into AIGodfather for real-time threat detection, risk scoring, and governance enforcement.
Why monitor OpenClaw agents?
OpenClaw agents operate autonomously — they send messages, call external APIs, access files, and execute code. Without monitoring:
- You have no visibility into what actions your agents take
- Prompt injection attacks go undetected
- Runaway loops consume resources unchecked
- You cannot prove compliance (EU AI Act, GDPR)
AIGodfather gives you a complete audit trail of every OpenClaw agent action, with automatic threat detection against the OWASP LLM Top 10.
Setup — 3 steps
Create an agent in AIGodfather
- Go to Dashboard → Agents
- Click New Agent
- Name it (e.g. "OpenClaw — My Bot")
- Copy the generated API key
Configure OpenClaw hooks
Create or edit ~/.openclaw/config/hooks.yml. See the code panel → for the full configuration.
Restart OpenClaw
Run openclaw restart or systemctl restart openclaw. Your agents are now monitored — go to Dashboard → Events to see live activity.
Recommended Rules
Create these rules in Dashboard → Rules to protect your OpenClaw agents:
Runaway loop detection
IF action = "llm.request" AND event_count_last_5min > 30 THEN pause_agent(60) + create_incident(critical) + notify
Failed action spike
IF action = "action.failed" AND event_count_last_5min > 10 THEN create_incident(high) + notify
High AI risk score
IF ai_risk_score > 80 AND action = "message.received" THEN block + create_incident(critical)
What gets monitored
| OpenClaw Event | AIGodfather Detection |
|---|---|
message.received | Prompt injection, jailbreak attempts |
action.completed | Unauthorized tool calls, data exfiltration |
action.failed | Anomaly detection, failure spikes |
llm.request | Token usage, cost tracking, runaway loops |
session.new | Behavioral baseline per session |
Troubleshooting
Events not appearing in dashboard?
- Verify your API key is correct
- Check that the agent is not paused in the dashboard
- Confirm OpenClaw can reach
www.aigodfather.aifrom your network
Getting 401 errors?
The Authorization: Bearer header must match the key shown in Dashboard → Agents → [agent] → API Keys.
Getting 403 errors?
A rule is blocking the event. Check Dashboard → Rules.
Need help? Email hello@aigodfather.ai or open a support chat from the dashboard.