openclaw - 💡(How to fix) Fix Community plugin: Thalamus, packet-handoff layer for multi-agent crews (review request) [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#78116Fetched 2026-05-06 06:16:49
View on GitHub
Comments
1
Participants
2
Timeline
2
Reactions
2
Author
Timeline (top)
closed ×1commented ×1

I built a community plugin called Thalamus that adds a cognitive routing layer to OpenClaw multi-agent crews. The idea: instead of pasting whole transcripts when one agent spawns another, the spawning agent emits a 3-field reference (packet_id, resolver_key, inline_vector), and the receiver resolves only the relevant atoms from a local vector store.

It is now live on ClawHub and npm. It also runs in production on my own Pi 5 setup. I am opening this issue because I would like maintainers and community members to look at it and tell me what is wrong, what is overstated, and whether anything close to this is interesting enough to bundle by default.

I am not asking for a merge. I am asking for review.

Root Cause

It is now live on ClawHub and npm. It also runs in production on my own Pi 5 setup. I am opening this issue because I would like maintainers and community members to look at it and tell me what is wrong, what is overstated, and whether anything close to this is interesting enough to bundle by default.

Code Example

openclaw plugins install clawhub:openclaw-thalamus
RAW_BUFFERClick to expand / collapse

Summary

I built a community plugin called Thalamus that adds a cognitive routing layer to OpenClaw multi-agent crews. The idea: instead of pasting whole transcripts when one agent spawns another, the spawning agent emits a 3-field reference (packet_id, resolver_key, inline_vector), and the receiver resolves only the relevant atoms from a local vector store.

It is now live on ClawHub and npm. It also runs in production on my own Pi 5 setup. I am opening this issue because I would like maintainers and community members to look at it and tell me what is wrong, what is overstated, and whether anything close to this is interesting enough to bundle by default.

I am not asking for a merge. I am asking for review.

Links

Install:

openclaw plugins install clawhub:openclaw-thalamus

What it does

  1. Packet store with content-hash resolver keys.
  2. Vector store with 9 namespaces (atoms.code, atoms.audit, atoms.plan, atoms.memory, atoms.audio.raw/text, atoms.image.raw/text, atoms.crossmodal).
  3. Encoder daemon: Qwen3-Embedding-0.6B Q4_0 GGUF (1024 dims) on CPU via llama.cpp.
  4. FAISS RaBitQ (BBQ) codebook trained on 100K vectors for compression.
  5. MCP server tools: thalamus_route, thalamus_resolve, thalamus_search, thalamus_search_with_vector, thalamus_promote_packet, thalamus_telemetry.
  6. Optional Hailo HEFs for Whisper-encoder, CLIP-text, CLIP-image. The Hailo path is wired but is NOT used for Qwen3 (LLM/embedding GGUFs cannot run on Hailo10H, only audio/image encoders).

What is honestly measured

I want to be clear about which numbers are direct measurements and which are extrapolations.

Directly measured on the live Pi 5:

  • Qwen3 Q4_0 cold load: 1.7 to 1.8 seconds. Encoder log shows multiple loads at this latency.
  • Qwen3 warm embed: about 167 ms p50.
  • BBQ codebook on 99,823 vectors (10 percent holdout): mean cosine 0.978, p10 0.985, p50 0.999. Trained on a desktop with an RTX 3070 in 17.6 minutes (the Pi rebooted three times during my first attempts under load).
  • Protocol-level @-code compression: 19.1 percent token reduction on captain spawn context (telemetry rows in ~/.openclaw/thalamus/state/run_telemetry.jsonl, spawn_context_tokens 68 to compact_context_tokens 55).

Estimated, not directly benchmarked:

  • "95.84 percent combined token reduction" comes from adding the @-code compression to a packet-handoff savings layer, where the second layer compares against a hypothetical naive transcript paste baseline that I did not directly run side by side. Take this number as a single-machine direction signal, not a comparative benchmark.

The raw paste-ins that back these numbers are in BENCHMARKS.md on the GitHub repo.

Asking for help

  1. Is anyone interested in running this on their own OpenClaw setup and reporting back? Single-developer numbers are not enough to claim anything portable.
  2. If you find that the directly measured 19.1 percent is the only honest claim, I am happy to rewrite README to reflect that and drop the 95.84 percent figure.
  3. The plugin currently shells out to a Python signer for aegis-signer and a Python retriever for sga-mcts-atoms. The dangerous-code scanner correctly flags child_process use. I plan to refactor to native Node crypto.sign('ed25519') and better-sqlite3 so the scanner stops needing the --dangerously-force-unsafe-install flag. That refactor is on my list (PRD-R) but not done yet.
  4. If maintainers think any of this is worth bundling by default, I would love guidance on what shape that would take. If maintainers think it is not, I would also like to know that early so I can stop pushing it that way.

Disclosure

  • Solo developer. Mechanical engineer by training, test automation by day. I built this on top of OpenClaw, on a Raspberry Pi 5 in my apartment in Istanbul.
  • I used an AI assistant for English grammar passes. The technical claims are mine and they are checked against the live state of my Pi.
  • I am opening this issue knowing that some of the early framing of this work was overstated. The recent README rewrite (v1.0.1) and the breakdown above are my attempt to be cleaner about what is real.

Thanks for reading. Tear it apart.

extent analysis

TL;DR

The developer of the Thalamus plugin is seeking review and feedback on their community plugin, which adds a cognitive routing layer to OpenClaw multi-agent crews, and is looking for guidance on potential improvements and whether it's worth bundling by default.

Guidance

  • Review the plugin's code and documentation to verify the accuracy of the claimed performance improvements, such as the 19.1 percent token reduction.
  • Test the plugin on different OpenClaw setups to ensure portability and report back any findings.
  • Consider refactoring the plugin to use native Node.js modules, such as crypto.sign('ed25519') and better-sqlite3, to avoid the need for the --dangerously-force-unsafe-install flag.
  • Evaluate the plugin's potential for bundling by default, considering factors such as performance, security, and maintainability.

Example

No code snippet is provided as it's not explicitly supported by the issue.

Notes

The developer has acknowledged some initial overstatement of the plugin's capabilities and has rewritten the README to reflect more accurate information. The plugin's performance claims are based on direct measurements on a live Pi 5 setup, but more testing is needed to confirm portability.

Recommendation

Apply workaround: Refactor the plugin to use native Node.js modules to improve security and maintainability, and gather more feedback from the community before considering bundling by default. This will help to ensure the plugin's stability and performance across different setups.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix Community plugin: Thalamus, packet-handoff layer for multi-agent crews (review request) [1 comments, 2 participants]