Skip to content

feat(openclaw): 24 agents across 12 WhatsApp groups - #821

Merged
shunkakinoki merged 3 commits into
mainfrom
feat/openclaw-multi-agent
Feb 15, 2026
Merged

feat(openclaw): 24 agents across 12 WhatsApp groups#821
shunkakinoki merged 3 commits into
mainfrom
feat/openclaw-multi-agent

Conversation

@shunkakinoki

@shunkakinoki shunkakinoki commented Feb 15, 2026

Copy link
Copy Markdown
Owner

Summary

Multi-agent setup with dedicated WhatsApp groups for different functions.

Groups & Agents

Group Agent(s) Model(s)
General main Opus
Code Review 9 broadcast Opus, Sonnet, GLM, GPT Codex, Gemini
CI/CD cicd-fixer GLM
Sales sales GPT 5.2
Twitter 2 broadcast Gemini + Opus
Mindset mindset Opus
Routine routine Sonnet
Dev 2 broadcast Opus + GPT Codex
Product product Gemini Pro
Strategy 3 broadcast Opus + GPT + Gemini
Communication communication Sonnet
DevOps devops GLM

Changes

  • openclaw.tpl.json / openclaw.template.json: 24 agents, 7 bindings, 4 broadcast groups
  • hydrate.sh: Add __WORKSPACE__ placeholder → ~/ghq/github.com/shunkakinoki/openclaw
  • WhatsApp channel: add mediaMaxMb: 50, debounceMs: 0
  • Agent workspaces in private repo: shunkakinoki/openclaw

Summary by cubic

Configured 24 specialized agents across 12 WhatsApp groups with improved media handling. Switched Kyber remote sessions from zellij to tmux for desktop and mobile.

  • New Features

    • 24 role-based agents mapped to 12 WhatsApp groups, with broadcast clusters for Code Review (9), Twitter (2), Dev (2), and Strategy (3).
    • Bindings added for single-agent groups: CI/CD, Sales, Mindset, Routine, Product, Communication, DevOps.
    • Switched agent workspaces to WORKSPACE; hydrate.sh defaults to ~/ghq/github.com/shunkakinoki/openclaw.
    • WhatsApp channel updates: mediaMaxMb set to 50 and debounceMs set to 300.
    • Kyber fish functions (kyberd, kyberm) now use tmux sessions instead of zellij.
  • Migration

    • Clone shunkakinoki/openclaw to ~/ghq/github.com/shunkakinoki/openclaw so agent workspaces resolve.
    • Verify WhatsApp group IDs and required API keys, then run hydrate.sh in gateway mode.

Written for commit c87948f. Summary will update on new commits.

Copilot AI review requested due to automatic review settings February 15, 2026 19:30
@mesa-dot-dev

mesa-dot-dev Bot commented Feb 15, 2026

Copy link
Copy Markdown

You do not have enough credits to review this pull request. Please purchase more credits to continue.

- Code Review: 9 broadcast agents (Opus, Sonnet, GLM, GPT Codex, Gemini + formatter, security, testing, docs)
- Twitter: 2 broadcast (Gemini + Opus)
- Dev: 2 broadcast (Opus + GPT Codex)
- Strategy: 3 broadcast (Opus + GPT + Gemini)
- CI/CD: GLM (single)
- Sales: GPT 5.2 (single)
- Mindset: Opus (single)
- Routine: Sonnet (single)
- Product: Gemini Pro (single)
- Communication: Sonnet (single)
- DevOps: GLM (single)
- Add __WORKSPACE__ placeholder for openclaw agent workspaces
- Add bindings for single-agent groups
- Add mediaMaxMb and debounceMs to WhatsApp channel config
@coderabbitai

coderabbitai Bot commented Feb 15, 2026

Copy link
Copy Markdown
📝 Walkthrough

Walkthrough

Adds a WORKSPACE variable to the OpenClaw hydration script and replaces WORKSPACE in generated configs; updates template files to use WORKSPACE and adds many new agents, WhatsApp bindings, broadcast mappings, and message settings (mediaMaxMb, debounceMs).

Changes

Cohort / File(s) Summary
Hydration script
config/openclaw/hydrate.sh
Adds a WORKSPACE variable (set to $HOME/ghq/github.com/shunkakinoki/openclaw) and injects it into the hydrated config by replacing the __WORKSPACE__ placeholder.
OpenClaw templates (JSON)
config/openclaw/openclaw.template.json, config/openclaw/openclaw.tpl.json
Replaces agent workspace references from __HOME__ to __WORKSPACE__; adds new agents (cicd-fixer, sales, twitter-gemini, twitter-opus, mindset, routine, dev-opus, dev-gpt-codex, product, strategy-opus, strategy-gpt, strategy-gemini, communication, devops); adds top-level bindings mapping agents to WhatsApp group peers; expands broadcast mappings; augments channels.whatsapp.messages with mediaMaxMb: 50 and debounceMs: 300.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

Poem

🐰 I nudge the WORKSPACE into place, a tidy little patch,
New agents hop in, each with a clever dispatch,
WhatsApp groups chatter, bindings snugly sewn,
Media and debounce keep the flow well-known,
Hooray — the warren hums, a bright config patch!

🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title 'feat(openclaw): 24 agents across 12 WhatsApp groups' clearly and specifically describes the main change—adding 24 agents organized across 12 WhatsApp groups.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Merge Conflict Detection ✅ Passed ✅ No merge conflicts detected when merging into main
Description check ✅ Passed The pull request description comprehensively describes the changeset, providing a clear summary of the 24 agents, 12 WhatsApp groups, and specific configuration changes to openclaw files and hydrate.sh.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat/openclaw-multi-agent

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Summary of Changes

Hello @shunkakinoki, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request significantly scales up the multi-agent system by integrating a diverse set of specialized agents with dedicated WhatsApp groups. The changes streamline agent deployment and management through a new workspace placeholder, while also improving the robustness of WhatsApp communication channels. The overall impact is a more organized and functional multi-agent architecture capable of handling a wider range of tasks across various domains.

Highlights

  • Expanded Multi-Agent System: Introduced 24 new agents across 12 distinct WhatsApp groups, significantly enhancing the system's capabilities and specialization.
  • Dynamic Workspace Configuration: Implemented a new __WORKSPACE__ placeholder in the hydration script and agent configurations, allowing for more flexible and standardized agent workspace paths.
  • WhatsApp Channel Enhancements: Updated WhatsApp channel settings to support larger media files (mediaMaxMb: 50) and improved message handling with debounceMs: 0.
  • New Agent Bindings and Broadcast Groups: Configured 7 new direct agent bindings to specific WhatsApp groups and established 4 broadcast groups for coordinated agent responses.
Changelog
  • config/openclaw/hydrate.sh
    • Added a WORKSPACE variable to define the base path for agent workspaces.
    • Included a sed replacement for the new __WORKSPACE__ placeholder during configuration hydration.
  • config/openclaw/openclaw.template.json
    • Replaced __HOME__ with __WORKSPACE__ in all existing agent workspace paths for consistency and flexibility.
    • Added 14 new agent definitions, including 'CI/CD Fixer', 'Sales Agent', 'Twitter (Gemini)', 'Twitter (Opus)', 'Mindset Coach', 'Routine Manager', 'Dev (Opus)', 'Dev (GPT Codex)', 'Product Manager', 'Strategy (Opus)', 'Strategy (GPT)', 'Strategy (Gemini)', 'Communication Specialist', and 'DevOps Engineer', each with specific models and tool permissions.
    • Introduced 7 new agent bindings, linking 'CI/CD Fixer', 'Sales', 'Mindset', 'Routine', 'Product', 'Communication', and 'DevOps' agents to dedicated WhatsApp group IDs.
    • Expanded the broadcast configuration to include 3 new groups for 'Twitter', 'Dev', and 'Strategy' agents, enabling parallel responses in specified WhatsApp groups.
    • Updated the WhatsApp channel configuration to set mediaMaxMb to 50 and debounceMs to 0, enhancing media handling and message processing.
  • config/openclaw/openclaw.tpl.json
    • Replaced __HOME__ with __WORKSPACE__ in all existing agent workspace paths for consistency and flexibility.
    • Added 14 new agent definitions, including 'CI/CD Fixer', 'Sales Agent', 'Twitter (Gemini)', 'Twitter (Opus)', 'Mindset Coach', 'Routine Manager', 'Dev (Opus)', 'Dev (GPT Codex)', 'Product Manager', 'Strategy (Opus)', 'Strategy (GPT)', 'Strategy (Gemini)', 'Communication Specialist', and 'DevOps Engineer', each with specific models and tool permissions.
    • Introduced 7 new agent bindings, linking 'CI/CD Fixer', 'Sales', 'Mindset', 'Routine', 'Product', 'Communication', and 'DevOps' agents to dedicated WhatsApp group IDs.
    • Expanded the broadcast configuration to include 3 new groups for 'Twitter', 'Dev', and 'Strategy' agents, enabling parallel responses in specified WhatsApp groups.
    • Updated the WhatsApp channel configuration to set mediaMaxMb to 50 and debounceMs to 0, enhancing media handling and message processing.
Activity
  • No specific human activity (comments, reviews, or progress updates) has been recorded for this pull request yet.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@mesa-dot-dev

mesa-dot-dev Bot commented Feb 15, 2026

Copy link
Copy Markdown

Mesa Description

TL;DR

Configured 24 specialized agents and mapped them to 12 WhatsApp groups, including broadcast clusters for code review, dev, Twitter, and strategy. Added workspace templating and tuned WhatsApp for larger media and smoother delivery.

What changed?

  • config/openclaw/hydrate.sh: The script now defines a WORKSPACE environment variable and replaces the __WORKSPACE__ placeholder in a template file with the specified workspace path.
  • config/openclaw/openclaw.template.json: Refined existing agent configurations by changing workspace paths from __HOME__ to __WORKSPACE__, introduced new agents (e.g., 'CI/CD Fixer', 'Sales Agent', 'Dev', 'Strategy'), added new bindings and extended broadcast sections for WhatsApp integration, and enhanced whatsapp configuration with mediaMaxMb and debounceMs.
  • config/openclaw/openclaw.tpl.json: Included numerous new agents (e.g., CI/CD Fixer, Sales Agent, Twitter, Dev, Strategy), updated all agent workspace paths to __WORKSPACE__, added a new bindings section for WhatsApp groups, included new broadcast configurations, and introduced new inbound WhatsApp gateway settings (mediaMaxMb: 50, debounceMs: 300).

Description generated by Mesa. Update settings

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 3 files

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request expands multi-agent capabilities by adding 24 agents across 12 WhatsApp groups, primarily through configuration file changes and the introduction of a new __WORKSPACE__ variable in the hydration script. A critical security vulnerability has been identified due to the use of unvalidated environment variables in sed command strings for configuration hydration, which can lead to command injection or configuration manipulation. Additionally, the script generates configuration files containing secrets without explicitly setting restrictive file permissions, posing a risk of sensitive information leakage. Beyond security, areas for improvement include the portability of the hydration script and a potential reliability issue in the WhatsApp channel configuration.

-e "s|__WHATSAPP_ALLOW_FROM__|${WHATSAPP_ALLOW_FROM}|g" \
-e "s|__GATEWAY_TOKEN__|${GATEWAY_TOKEN}|g" \
-e "s|__CHROMIUM_PATH__|${CHROMIUM_PATH}|g" \
-e "s|__WORKSPACE__|${WORKSPACE}|g" \

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

security-medium medium

The variable ${WORKSPACE} is expanded directly into the sed command string using | as a delimiter. If the variable contains the delimiter character |, it will break the sed command structure. Furthermore, if GNU sed is used, an attacker could potentially use the e flag to execute arbitrary shell commands (e.g., by setting HOME to a value containing |id|e). While WORKSPACE is currently derived from HOME, this pattern of using unvalidated input in sed is insecure and should be avoided, especially as it is also applied to sensitive variables like API keys and tokens in the same command. Consider escaping the variables or using a more robust templating method like jq for JSON files.

ANTHROPIC_API_KEY="${OPENCLAW_ANTHROPIC_API_KEY:-${ANTHROPIC_API_KEY:-$(read_secret "${SECRETS_DIR}/anthropic-key")}}"
CHROMIUM_PATH="@chromium@/bin/chromium"

WORKSPACE="${HOME}/ghq/github.com/shunkakinoki/openclaw"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The WORKSPACE variable is assigned a hardcoded path. This reduces the script's portability and makes it difficult for other developers or deployment environments to use it without modification. It's best practice to allow configuration via environment variables, following the pattern used for other variables like OPENCLAW_STATE_DIR in this script.

Suggested change
WORKSPACE="${HOME}/ghq/github.com/shunkakinoki/openclaw"
WORKSPACE="${OPENCLAW_WORKSPACE:-${HOME}/ghq/github.com/shunkakinoki/openclaw}"

Comment thread config/openclaw/openclaw.template.json Outdated
"group": "mentions"
}
},
"debounceMs": 0

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Setting debounceMs to 0 disables message debouncing. This can lead to a high volume of agent invocations if a user sends multiple messages in rapid succession (e.g., splitting a thought into several messages). This could result in inefficient processing, quicker consumption of API rate limits, and potential system strain. Consider using a small debounce value (e.g., 250-500ms) to group such messages, which generally improves robustness and user experience.

Suggested change
"debounceMs": 0
"debounceMs": 250

Comment thread config/openclaw/openclaw.tpl.json Outdated
"group": "mentions"
}
},
"debounceMs": 0

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Setting debounceMs to 0 disables message debouncing. This can lead to a high volume of agent invocations if a user sends multiple messages in rapid succession (e.g., splitting a thought into several messages). This could result in inefficient processing, quicker consumption of API rate limits, and potential system strain. Consider using a small debounce value (e.g., 250-500ms) to group such messages, which generally improves robustness and user experience.

Suggested change
"debounceMs": 0
"debounceMs": 250

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
config/openclaw/openclaw.template.json (1)

203-281: ⚠️ Potential issue | 🟠 Major

Shared workspace for parallel broadcast agents may cause conflicts.

All five code-reviewer-* agents plus code-formatter, security-scanner, test-coverage, and docs-checker use overlapping or nearby workspace paths under __WORKSPACE__/agents/, and the broadcast strategy is "parallel" (Line 658). The same pattern applies to twitter-* (Line 379/396), dev-* (Line 447/466), and strategy-* (Line 502/519/536) agents that share the exact same workspace path within their respective broadcast groups.

If these agents perform any file I/O in their workspace concurrently (e.g., cloning repos, writing temp files), they will race on the same directory. Consider giving each agent its own workspace subdirectory (e.g., __WORKSPACE__/agents/code-review/opus) or confirm that the runtime isolates workspace access per agent instance.

🧹 Nitpick comments (2)
config/openclaw/openclaw.template.json (2)

343-358: cicd-fixer and devops have full tool permissions (read, write, edit, exec) on a lower-capability model.

These agents use glm-4.7 as primary with no fallback (for cicd-fixer) or no fallback (for devops), yet are granted the broadest tool permissions. A less capable model with unrestricted write+exec access increases the risk of unintended modifications. This is a deliberate trade-off, but worth noting — consider whether edit and write are both needed, or if guardrails (confirmation prompts, dry-run modes) are in place upstream.


733-739: New WhatsApp channel settings look intentional.

mediaMaxMb: 50 and debounceMs: 0 are additive. Setting debounceMs to 0 disables debouncing entirely — with broadcast groups containing up to 9 parallel agents, the group will receive a burst of near-simultaneous replies. If that's the desired UX, this is fine; otherwise a small debounce (e.g., 500–1000ms) could space out responses.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request implements a comprehensive multi-agent system for OpenClaw with 24 AI agents distributed across 12 WhatsApp groups. The configuration enables specialized agents for different functions (code review, CI/CD, sales, Twitter management, etc.) using various AI models including Claude Opus, GPT 5.2/5.3 Codex, Gemini 3 Pro, GLM 4.7, and Claude Sonnet.

Changes:

  • Added 14 new specialized agents with role-appropriate tool permissions (read/write/edit/exec)
  • Updated all agent workspace paths from __HOME__ to __WORKSPACE__ placeholder for consistent path management
  • Configured 7 single-agent bindings and 4 broadcast groups (with 2-9 agents each) across WhatsApp groups
  • Enhanced WhatsApp channel configuration with 50MB media limit and zero-debounce messaging

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
config/openclaw/openclaw.tpl.json Added 14 new agent definitions with model placeholders, workspace path updates, 7 bindings, 4 broadcast groups, and WhatsApp settings
config/openclaw/openclaw.template.json Parallel changes to tpl.json with concrete model names/versions instead of placeholders
config/openclaw/hydrate.sh Added WORKSPACE variable definition and sed substitution pattern to support the new workspace placeholder

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@shunkakinoki
shunkakinoki merged commit 81642ae into main Feb 15, 2026
33 checks passed
@shunkakinoki
shunkakinoki deleted the feat/openclaw-multi-agent branch February 15, 2026 21:40
@coderabbitai coderabbitai Bot mentioned this pull request Apr 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants