@ajensenwaud

Recursant for OpenClaw

Recursant governance plugin for OpenClaw — registers the instance with a Recursant registry and routes tool/LLM/message traffic through Recursant interceptors.

当前版本
v0.1.0
code-plugin社区source-linked

openclaw-recursant

Recursant governance plugin for OpenClaw.

Registers the OpenClaw instance with a Recursant registry, then governs the instance's tool calls, LLM calls, and chat messages via in-process interceptors: authorisation, PII redaction, rate limiting, and audit.

This is v0 — cooperative governance only. Provider replacement and host-level enforcement are not yet implemented.

Install

# Once published:
npm install -g openclaw-recursant
# OpenClaw will pick it up via plugin discovery.

Configure

Plugin config (via OpenClaw plugin config, env, or ~/.recursant/openclaw.json):

{
  "registryUrl": "https://recursant.example.com",
  "enrollmentToken": "<one-time token from registry UI>",
  "tenantId": "default"
}

Override the config-file path with RECURSANT_OPENCLAW_CONFIG=/path/to.json.

Build / test

pnpm install
pnpm build
pnpm test

What it intercepts

OpenClaw hookBehaviour
before_tool_callAuthz + PII + rate-limit; block / rewrite params
llm_inputPII + rate-limit on prompts; audit
message_receivedAudit inbound chat
message_sendingPII redaction on outbound chat
gateway_start/gateway_stopEnrol, heartbeat, deregister

How it talks to Recursant

PathPurpose
POST /v1/openclaw/instances/enrollExchange enrolment token for JWT
POST /v1/openclaw/instances/heartbeatLiveness + plugin version
GET /v1/openclaw/instances/policyFetch current policy
POST /v1/openclaw/instances/auditPush audit batches
POST /v1/openclaw/instances/deregisterGraceful shutdown

See openclaw-design.md at the repo root for the full design and the v1 roadmap.

源码与版本

源码仓库

ajensenwaud/recursant

打开仓库

源码提交

ad686e0e22124f22df30f7396f3091d72e3836f0

查看提交

安装命令

openclaw plugins install clawhub:openclaw-recursant

元数据

  • 包名: openclaw-recursant
  • 创建时间: 2026/05/15
  • 更新时间: 2026/05/15
  • 执行代码:
  • 源码标签: ad686e0e22124f22df30f7396f3091d72e3836f0

兼容性

  • 构建于 OpenClaw: 2026.5.7
  • 插件 API 范围: >=2026.5.7
  • 标签: latest
  • 文件数: 47