OpenClaw multi-tenant shared memory bridge plugin
Code Pluginsource linkedCommunity code plugin. Review compatibility and verification before install.
README
OpenClaw Tenant Bridge
@abdullah4ai/openclaw-tenant-bridge is a plugin-first shared-memory bridge for OpenClaw.
It adds a custom context engine plus authenticated HTTP endpoints so external
apps such as Codex or Claude Code can write curated memory deltas and retrieve
permission-filtered recall.
Install for local -l usage
Clone this repository, install dependencies, then link it into your OpenClaw gateway:
git clone <your-repo-url> openclaw-tenant-bridge
cd openclaw-tenant-bridge
corepack pnpm install
openclaw plugins install -l /absolute/path/to/openclaw-tenant-bridge
Restart the gateway after linking.
Because --link reuses the source path, this repository must keep its own
node_modules directory. Run corepack pnpm install in the plugin repo before
starting OpenClaw.
Install from ClawHub
After publishing, users can install it directly with:
openclaw plugins install @abdullah4ai/openclaw-tenant-bridge
What it provides
tenant-bridgecontext engine viaapi.registerContextEngine(...)- HTTP bridge routes under
/plugins/tenant-bridge/v1 - Service-token auth per external app id
- Local-file or Postgres-backed metadata storage
- Optional S3-compatible artifact storage
- Optional markdown/QMD materialization for shared durable memory
Minimal config
Set plugin config under plugins.entries.tenant-bridge.config:
{
plugins: {
slots: {
contextEngine: "tenant-bridge"
},
entries: {
"tenant-bridge": {
enabled: true,
config: {
tenantId: "tenant-acme",
bridge: {
allowedApps: ["codex"],
serviceTokens: {
codex: "replace-me"
}
},
recall: {
defaultSurfaces: ["episodic", "durable", "artifact"]
},
sync: {
materializeQmd: false,
includeTranscripts: false
}
}
}
}
}
}
HTTP routes
POST /plugins/tenant-bridge/v1/context-deltasPOST /plugins/tenant-bridge/v1/retrievePOST /plugins/tenant-bridge/v1/memory/promotePOST /plugins/tenant-bridge/v1/access-grants
Local development
corepack pnpm install
corepack pnpm test
corepack pnpm typecheck
Capabilities
- configSchema
- Yes
- Executes code
- Yes
- HTTP routes
- 0
- Plugin kind
- context-engine
- Runtime ID
- tenant-bridge
Compatibility
- Built With Open Claw Version
- 2026.4.9
- Min Gateway Version
- 2026.4.9
- Plugin Api Range
- >=2026.4.9
- Plugin Sdk Version
- 2026.4.9
Verification
- Tier
- source linked
- Scope
- artifact only
- Summary
- Validated package structure and linked the release to source metadata.
- Commit
- 5fda7d1849ac
- Tag
- refs/heads/main
- Provenance
- No
- Scan status
- clean
Tags
- latest
- 2026.4.16
