🦀 clawBro: Let Coding CLI Agents Work Like OpenClaw in Chat and collaborating as a team at all times
Built around OpenClaw ideas, clawBro helps Claude Code, Codex, Qwen, Qoder, Gemini, and other coding agent CLIs work together and connect to Lark, DingTalk, and team workflows.
Project Status · Architecture · Use Cases · Quick Start · Team Modes · Coding Agent Integration · Setup Guide
clawBro is a Rust-based system for making coding agent CLIs work together across local workflows, chat apps, and long-running team collaboration.
It stays close to the OpenClaw spirit, but pushes toward practical teamwork: Claude Code, Codex, Qwen, Qoder, Gemini, and related coding agents can be organized into solo, role-based, and lead-plus-specialist workflows, then connected to Lark, DingTalk, and WebSocket entrypoints.
- [03-19] One
clawbrosurface now brings together multiple AI coding CLIs instead of forcing one tool per workflow. - [03-19] Team orchestration supports lead-driven workflows, specialist agents, milestone delivery, and named roles like
planner,coder,reviewer, andresearcher. - [03-19] Group and direct-message usage now fit the same routing model, with Lark, DingTalk Stream Mode, DingTalk custom robot webhook, and WebSocket entrypoints.
- [03-19] Multi-IM connectivity is now practical for always-on chat workflows: one runtime can stay online across Lark, DingTalk, and team conversations at the same time.
- [03-19] Operational controls include approvals, allowlists, memory-aware sessions,
/health,/status,/doctor, and diagnostics surfaces. - [03-20] Durable scheduling is now built in: one-shot reminders, exact-time jobs, interval polling, cron schedules, chat-created reminders, and current-session cleanup all share the same runtime scheduler.
clawBrois built for engineering, research, and workflow experimentation. It is meant for real agent collaboration, not just another chat wrapper.
🏛️ Unified Control Plane: One clawbro entrypoint for setup, routing, session management, diagnostics, and runtime dispatch.
🤖 Unified Coding Agents: Bring Claude, Codex, Qwen, Qoder, Gemini, and other coding CLIs into one product surface instead of juggling separate entrypoints.
👥 Team Orchestration: Support solo, multi, and team interaction models with lead + specialists, scope-aware routing, and milestone-style collaboration.
💬 Group Chat Collaboration: Connect workflows to Lark and DingTalk, route group mentions to named agents, and turn chat rooms into AI workbenches.
📡 Always-On Multi-IM: Keep one clawbro runtime online across Lark, DingTalk Stream Mode, DingTalk custom robot webhook, and WebSocket, then keep chatting without switching tools.
🧠 Memory and Habits: Let agents accumulate working memory, repeated preferences, review standards, and recurring project context over time.
⏰ Durable Scheduling: Create reminders, one-time jobs, recurring polling loops, and agent-driven scheduled work through delay, at, every, and cron.
🛡️ Operationally Controllable: Built-in config validation, approval flow, allowlists, doctor/status commands, and health endpoints.
User / Group / WebSocket / Scheduled Jobs
|
v
clawbro
|
+--> Routing / Session / Memory / Bindings / Team
|
+--> ClawBro Native ------> runtime-bridge ------> clawbro-agent-sdk
|
+--> Coding CLI Bridge ---> Claude / Codex / Qwen / Qoder / Gemini / custom coding CLIs
|
+--> OpenClaw Gateway ----> remote agent runtime
|
+--> Channels ------------> Lark / DingTalk / WebSocket delivery
- Project Status
- Key Features
- Architecture
- Features
- Use Cases
- Install
- Quick Start
- Scheduled Tasks
- Team Modes
- Coding Agent Integration
- Chat Channels
- Configuration & Operations
- Project Structure
- Documentation Map
- Positioning
🤖 Coding Agent Hub |
👥 Team Coordination |
🧠 Memory Habits |
|---|---|---|
| One control plane for Claude, Codex, Qwen, Qoder, Gemini, and other coding-focused agents. | Lead + specialists, scope-aware team routing, group mentions, milestone delivery, and task-oriented collaboration. | Shared memory and agent memory help the system keep long-running habits, context, and preferences. |
Turn one request into a coordinated build loop:
@plannerbreaks the product request into milestones@coderimplements API routes, UI flows, and data models@reviewerchecks quality, risks, and regressions@testerfills in edge cases and missing validation
In Team mode, the lead can keep the user-facing conversation clean while specialists work in the background. In group chat, the same setup can feel like an AI project room instead of a single bot window.
Use ClawBro as a research squad:
@researchercollects source material@criticlooks for gaps, counterexamples, and weak assumptions@writerturns the findings into a structured report- the lead agent summarizes progress and final conclusions
This works especially well for technical reports, architecture comparisons, literature reviews, and long-form analysis that benefits from multiple perspectives before one final answer.
Drop a patch, PR, or design note into a chat and route it to the right mix of agents:
@coderfocuses on implementation details@reviewerchecks correctness and maintainability@researcherverifies outside dependencies or competing approaches- the lead returns a consolidated recommendation
This gives you something closer to an AI review room than a single one-shot answer.
ClawBro is a natural fit for role-based group workflows:
@plannerfor decomposition@coderfor implementation@reviewerfor criticism@researcherfor evidence gathering
That pattern works for engineering teams, study groups, product discussions, and internal support rooms. Even when the strongest current Team path is still lead-driven, the group experience can already feel much more structured than a generic bot chat.
ClawBro is not just about one conversation at a time. Over repeated use, it can preserve working context such as:
- architecture preferences
- recurring review standards
- naming conventions
- project-specific workflows
- things a user repeatedly asks the system to remember
That makes it useful for building a long-running coding habit, where your agents gradually become more aligned with how you actually work instead of resetting to zero every day.
The same role system also works for playful group scenarios:
- a lead agent can act as the moderator in Werewolf
- specialist agents can play judge, narrator, analyst, or character roles
- role-based group chats can simulate product debates, mock trial rooms, or scripted multi-character conversations
This is one of the most distinctive parts of the project: the architecture is serious enough for engineering work, but flexible enough for entertainment and social experiments.
Recommended
cargo install clawbroGitHub Release (no Rust required)
- Download the archive for your platform from GitHub Releases
- Unpack it
- Run
./clawbro --version
If you want a global command, move it into your PATH:
chmod +x clawbro
mv clawbro ~/.local/bin/clawbronpm (binary installer)
npm install -g clawbro
clawbro --versionBuild from source (developer path)
cd clawBro
cargo build -p clawbro --bin clawbroTip
The recommended first path is WebSocket + ClawBro Native.
Add agent rosters, bindings, channels, and Team scopes after the base path is working.
1. Install
cargo install clawbroOr choose one of these:
# GitHub Release: unpack and run directly
./clawbro --version
# npm: download the matching binary during install
npm install -g clawbro
clawbro --version2. Initialize
clawbro setupThis creates the default runtime layout under ~/.clawbro/, including:
config.toml.envsessions/shared/skills/personas/
3. Validate your config
clawbro config validate4. Start the gateway
source ~/.clawbro/.env
clawbro serve5. Example: non-interactive Team setup
clawbro setup \
--lang en \
--provider anthropic \
--api-key sk-ant-xxx \
--mode team \
--team-target group \
--front-bot planner \
--specialist coder \
--specialist reviewer \
--team-scope group:lark:chat-123 \
--team-name ops-room \
--non-interactiveclawBro can now keep one eye on the clock while your agents keep coding.
- Four schedule styles:
delay: “in 1 minute remind me to charge my phone”at: “tomorrow at 09:00 remind me about the meeting”every: “check service status every 30 minutes”cron: “every workday at 18:00 summarize today’s issue progress”
- Two execution styles:
- fixed reminders go straight back to chat as durable messages
- dynamic work goes through scheduled agent turns
- Natural-language chat flows:
- “Remind me in 1 minute to charge my phone”
- “Tell me Beijing time every minute”
- “Delete the charging reminder”
- “Clear all reminders in this conversation”
- Operator commands:
clawbro schedule add-delay --name phone-charge --delay 1m --prompt "Reminder: charge your phone"
clawbro schedule add-every --name service-check --every 30m --target-kind agent-turn --prompt "Check service status and report anomalies."
clawbro schedule list
clawbro schedule delete --name phone-charge
clawbro schedule delete-all --current-session-key 'lark@alpha:user:ou_xxx'The important split is simple: reminders are delivered directly, while scheduled agent jobs wake up later and do fresh work when the time comes.
clawBro now ships through three install paths:
- Cargo for Rust-first users:
cargo install clawbro
- GitHub Release binaries for quick download-and-run installs:
- download the archive for macOS or Linux
- unpack it and run
./clawbro - move it into
PATHlater if you want a global command
- npm binary installer for JavaScript-heavy setups:
npm install -g clawbro- the installer downloads the matching GitHub Release binary for your machine
Phase 1 release targets:
- macOS Apple Silicon
- macOS Intel
- Linux x86_64
On macOS, the binary may show the usual first-run Gatekeeper prompt because it is not notarized yet.
ClawBro supports multiple interaction styles from the same control plane.
| Mode | What it does | Current best fit |
|---|---|---|
| Solo | Single-agent setup with one primary backend. | Personal assistant, local coding help, focused one-user workflows. |
| Multi | Generates a starting point for named-agent configuration and bindings. | Role-based group rooms where you want @planner, @coder, @reviewer, or other named agents. |
| Team | Lead agent delegates work to specialists and returns milestone-style output. | Engineering collaboration, deep research, review workflows, and group workbench patterns with one stable front door. |
Today, the strongest product path is lead-driven Team mode: specialists execute as focused workers while the lead remains the stable user-facing output surface.
Team mode examples
Direct message Team
./target/debug/clawbro setup \
--lang en \
--provider anthropic \
--api-key sk-ant-xxx \
--mode team \
--team-target direct-message \
--front-bot planner \
--specialist coder \
--specialist reviewer \
--team-scope user:ou_your_user_id \
--team-name my-team \
--non-interactiveGroup Team
./target/debug/clawbro setup \
--lang en \
--provider anthropic \
--api-key sk-ant-xxx \
--mode team \
--team-target group \
--front-bot planner \
--specialist coder \
--specialist reviewer \
--team-scope group:lark:chat-123 \
--team-name ops-room \
--non-interactiveClawBro separates the business control plane from the execution plane so you can bring multiple coding agents into the same system without turning the README into a protocol manual.
| Integration path | Current role | Notes |
|---|---|---|
| ClawBro Native | Default native execution path | Uses the internal runtime bridge and supports canonical Team Tool RPC. |
| Coding CLI bridge | Compatibility layer for external coding CLIs | Unifies multiple AI coding agents behind one control plane. Internally this is where ACP-style compatibility helps, but users mainly feel a single product surface. |
| OpenClaw Gateway | Remote runtime integration | Active backend family for OpenClaw WS-based execution with explicit helper constraints in Team mode. |
Current documented agent examples include:
- Claude
- Codex
- Qwen
- Qoder
- Gemini
- custom coding CLIs
For the implementation details inside clawBro, see:
ClawBro connects agent workflows to chat delivery surfaces while keeping transcript truth and runtime progress under host control.
| Channel | Current status | Notes |
|---|---|---|
| Lark / Feishu | Complete | Supports final_only and progress_compact presentation modes. |
| DingTalk | Structured | Supports both app/stream mode and custom robot group webhook mode. |
| WebSocket | Structured | Recommended first setup path before adding IM integrations. |
Typical deployment path:
- Start with WebSocket and one native backend.
- Add
agent_roster, bindings, and named roles. - Add Team scope and routing.
- Connect Lark or DingTalk.
For DingTalk, there are now two distinct integration styles:
dingtalk- app / stream mode
- uses
client_id,client_secret, and optionalagent_id
dingtalk_webhook- custom robot group webhook mode
- uses
secret_key, your inboundwebhook_path, and optionalaccess_tokenfallback
The primary user entrypoint is:
clawbroCommon commands:
| Command | Purpose |
|---|---|
clawbro setup |
First-time initialization |
clawbro serve |
Start the gateway |
clawbro status |
Show the active config summary |
clawbro doctor |
Diagnose environment and runtime issues |
clawbro config validate |
Validate topology and config references |
clawbro auth list |
List configured auth material |
clawbro completions zsh |
Generate shell completions |
Default runtime layout:
~/.clawbro/config.toml~/.clawbro/.env~/.clawbro/sessions/~/.clawbro/shared/~/.clawbro/skills/~/.clawbro/personas/
Operational surfaces mentioned in the current docs:
/health/status/doctor/diagnostics/*
clawBro/
├── crates/clawbro-server/ # public clawbro CLI and gateway
├── crates/clawbro-agent/ # routing, context, memory, team orchestration
├── crates/clawbro-runtime/ # backend adapters and runtime contracts
├── crates/clawbro-channels/ # Lark and DingTalk channel integration
├── crates/clawbro-agent-sdk/ # runtime bridge and reusable agent shell
├── crates/clawbro-session/ # session storage and queueing
├── crates/clawbro-skills/ # skills and persona loading
├── crates/clawbro-server/src/scheduler/ # internal scheduler modules
└── docs/ # setup, routing, backend, and operations docs
- Setup Guide
- Getting Started From Zero
- Runtime Backends
- Backend Support Matrix
- Routing Contract
- Doctor and Status Operations
- Context Filesystem Contract
ClawBro currently fits best if you want one of these:
- An engineering control plane that brings multiple coding agents into group chat and workflow operations.
- A lead-plus-specialists setup for complex coding, review, research, and report-generation tasks.
- A unified surface that can sit above Claude, Codex, Qwen, Qoder, Gemini, and related coding CLIs without giving up operational control.
If you want a configurable, IM-connected, team-aware control plane, this project is aimed directly at that problem.