npm plugin
OpenClaw
Install the Neptrix plugin with one command and add your API key. The plugin handles the rest.
需要 API 密钥
您需要 Neptrix API 密钥才能完成此设置。 免费注册获取密钥。
安装
- 1Run: openclaw plugins install @qpthort/openclaw-plugin
- 2Open ~/.openclaw/openclaw.json and add your API key to the plugin config
- 3Replace YOUR_API_KEY with your key
- 4Restart the gateway — every tool call now goes through Neptrix
将此配置添加到
~/.openclaw/openclaw.json~/.openclaw/openclaw.json
1# Step 1: Install the plugin2openclaw plugins install @qpthort/openclaw-plugin34# Step 2: Add your API key to the plugin config in ~/.openclaw/openclaw.json5# The install creates the plugin entry — just add the config block:67{8 "plugins": {9 "entries": {10 "@qpthort/openclaw-plugin": {11 "enabled": true,12 "config": {13 "apiKey": "YOUR_API_KEY",14 "serverUrl": "https://qpthort-backend-production.up.railway.app"15 }16 }17 }18 }19}2021# Step 3: Restart your gateway
将 YOUR_API_KEY 替换为您的 API 密钥。 注册获取密钥。
工作原理
1
智能体提议操作
在每次工具调用之前,您的智能体将提议的操作发送给 Neptrix 进行评估。
2
Neptrix 进行评估
宪法治理规则评估操作。决策被记录到您的审计追踪中。
3
返回决策
ALLOW、BLOCK、ESCALATE 或 MODIFY。智能体自动发现——无需注册。
