OpenClaw Integration
AgentVault provides a native OpenClaw plugin (@agentvault/agentvault) that handles enrollment, MLS group setup, X3DH key agreement, Double Ratchet fallback encryption, WebSocket transport, and state persistence inside the OpenClaw gateway.
Quick Start
1
Install the plugin
2
Create an invite
In the AgentVault app, go to Settings > Invites > Create Invite. Copy the invite token.
3
Configure your agent
Add the AgentVault configuration to your
openclaw.json:4
Start the gateway
CLI Commands
The plugin provides CLI commands for management:Plugin Features
SecureChannel
The coreSecureChannel class manages the encrypted connection lifecycle:
Gateway Send
For proactive messages (not in response to owner messages):Unified Delivery
Route messages to any target with a single dispatcher:Structured Messages
Send structured message types beyond plain text:Skills & SKILL.md
Define agent skills in SKILL.md files with theagentVault namespace:
MCP Server (In-Plugin)
Expose skills as MCP tools directly from the plugin:Policy Enforcement
ThePolicyEnforcer validates skill invocations against the 5-stage policy pipeline before execution: