@mickey-kras/hindsight-memory-router-openclaw
v0.14.26
Published
Per-agent OpenClaw memory routing plugin for hindsight-memory-router (forks vectorize-io/hindsight OpenClaw integration v1.0.0)
Maintainers
Readme
Integrations for Hindsight Memory Router
Connect OpenClaw and coding agents to Memory Router. Give each agent a credential, one optional write bank and more read banks. Agents can then share selected memories without sharing every bank. Memory Router enforces access. Client routing does not grant it.
The two release packages are OpenClaw and coding agents. The coding-agents package includes coding-agent MCP. Install the integration your client needs. Each integration works separately. These integrations need Memory Router and its Hindsight backend, but not GPU Workload Supervisor.
How it fits together
Explore the architecture and request flows.
Install
You need Node.js 22.12.0 or later and an HTTPS endpoint for Memory Router. You also need server-side grants for the principal, banks and scopes.
Install an exact published version from npm. These commands use the versions of release v0.2.12. For a different release, use the versions in its release notes.
OpenClaw:
openclaw plugins install npm:@mickey-kras/[email protected] --pinThen configure the hindsight-memory-router plugin.
Codex, Claude Code, OpenCode and other coding agents:
npm exec --yes --package=@mickey-kras/[email protected] -- hindsight-coding-agents installThen follow the coding-agent setup.
Hosted agents and apps:
npm install --save-exact @mickey-kras/[email protected]Then use the typed router HTTP client.
Check a package
CI builds each package and publishes the same bytes to npm and to the GitHub release. Each release has a release.json manifest and a PACKAGE_SHA256 file.
Download the npm package and calculate its SHA-256.
npm pack @mickey-kras/[email protected]
sha256sum mickey-kras-hindsight-memory-router-coding-agents-0.8.17.tgzThe result must be the same as the entry in PACKAGE_SHA256 of that release.
In a project that has the package as a dependency, run npm audit signatures. It checks the registry signature and the npm provenance attestation. For the trust basis, see the release guide.
Installation without the npm registry
Download the integration's .tgz and PACKAGE_SHA256 from Releases. Check the SHA-256 of the .tgz against PACKAGE_SHA256 from the same release. Then use the absolute path of the verified .tgz in the command, as the client guide shows. This repository does not store tarballs.
Quick start: coding agents
Create the principal's grants in Memory Router. Keep each harness's token in your secret manager.
Create an operator-managed JSON file using the configuration example.
Set the HTTPS router URL, principal, token environment variable and explicit project-to-bank mapping.
Export the named token and harness identity from your operator-managed environment.
From the mapped project, run:
export HINDSIGHT_ROUTER_CONFIG=/absolute/path/router.json
npm exec --yes --package=@mickey-kras/[email protected] -- hindsight-coding-agents installKeep the same managed environment when launching the harness. Coding-agent setup includes the agent prompt and the offline command.
Coding agents support optional browser login. This stores a short-lived credential in OS secure storage. Hosted applications can continue to use persistent principals.
For Codex, export HINDSIGHT_ROUTER_CONFIG before you run the installer. The installer can then allowlist the required environment variables. Unmapped projects, unknown harnesses and missing secrets prevent access. Do not overwrite this installation with upstream's npx installer.
Documentation
Use these guides.
- OpenClaw configuration and queue storage.
- Configuration for coding agents.
- HTTP client for hosted apps.
- Routing, failure handling and ingest identity.
- All documentation, including builds, upgrades and releases.
