OpenClaw is AgentsMon's native platform. Events flow automatically when the AgentsMon skill is installed.
``bash
cd /path/to/agentsmon/skill
bash scripts/setup.sh
`
This installs AgentsMon as an OpenClaw skill that:
Add to your OpenClaw settings.json:
`json
{
"agentsmon": {
"endpoint": "http://localhost:18800",
"enabled": true,
"events": ["command", "file_access", "http_request", "config_change", "usage"]
}
}
`
OpenClaw events are processed natively by the EventProcessor — no adapter needed:
`
OpenClaw Agent
|
v
EventProcessor.processEvent()
|
+-> SecurityScanner (code analysis, prompt injection)
+-> BehavioralMonitor (dangerous commands, file access)
+-> SandboxMonitor (escape detection)
+-> TrustScorer (trust level tracking)
+-> SentinelAgent (autonomous threat hunting)
+-> CorrelationEngine (attack chain detection)
+-> SIEM export
`
| Event Type | Description | Example |
|-----------|-------------|---------|
| command | Shell commands executed by agent | rm -rf /tmp/cache |
| file_access | Files read/written by agent | /etc/passwd |
| http_request | Outbound HTTP requests | https://api.example.com |
| usage | Token/model usage | Claude Sonnet, 5000 tokens |
| config_change | Settings modifications | exec.approvals: false |
| gateway_connection | WebSocket/API connections | Client auth events |
| skill_execution | Skill invocations | agentsmon scan |
| agent | Agent lifecycle events | Agent start/stop |
AgentsMon monitors these critical OpenClaw settings:
| Setting | Baseline | Severity |
|---------|----------|----------|
| exec.approvals | true | critical |
| tools.exec.host | false | critical |
| websocket.origins | Not * | high |
| auth.password | Non-empty | critical |
`bash
curl http://localhost:18800/api/events?platform=openclaw&limit=5
curl http://localhost:18800/api/config/drift
curl -X POST http://localhost:18800/api/security/scan
`