Back to all workflow recipes
Multi-Bot Group Chat·feishu·Zero Public IP

Multi-Bot Feishu Engineering Group With Instant Zero-Token /model Swapping

DIRECT ANSWER & GUARDRAILS

In TagTag, each Bot has its own Feishu identity, schedule, and session state decoupled from the underlying CLI. Add two Bots to the same Feishu group to split coding and review—and run `/model harness codex` anytime a provider hits rate limits.

Recommended Harness
Codex CLI (`codex`) + Claude Code CLI (`claude`) + AGY (`agy`)
AccessGuardSink
Group @mention triggered · Owner-only /model & /trace prompt
Stripped Prefixes
FEISHU_*, LARK_*

What It Looks Like in Chat

Product Lead

@dev-bot draft the JWT dual-token migration plan from our local backend repo.

@dev-bot (Codex)

Done — wrote migration checklist and opened local branch `feat/jwt-guard` (24/24 tests pass).

Tech Lead

@review-bot audit `feat/jwt-guard` for token replay edge cases.

Owner

@dev-bot /model harness claude

TagTag Go Core

Switched @dev-bot harness to claude (0 tokens). Schedules and group session preserved.

Setup Steps

1. Create two lightweight Feishu WebSocket bots

Bind `feishu:dev` to `dev-bot` (Codex) and `feishu:review` to `review-bot` (Claude Code) with isolated `env_keys`.

2. Bind owner_ids for zero-token slash controls

Only bound owners can execute `/model harness`, `/stop bot-all`, or inspect `/trace prompt` in DM.

Sanitized Config & Zero-Token Check

connectors.json (zero secrets embedded)
[
  {
    "id": "feishu:dev",
    "type": "feishu",
    "enabled": true,
    "bot_id": "dev-bot",
    "access": "send",
    "env_keys": ["FEISHU_DEV_APP_ID", "FEISHU_DEV_APP_SECRET"],
    "config": { "domain": "feishu" }
  },
  {
    "id": "feishu:review",
    "type": "feishu",
    "enabled": true,
    "bot_id": "review-bot",
    "access": "send",
    "env_keys": ["FEISHU_REVIEW_APP_ID", "FEISHU_REVIEW_APP_SECRET"],
    "config": { "domain": "feishu" }
  }
]
Zero-token dry-run verification
tagtag connector list --data-dir "$TAGTAG_HOME" --json
Local agents
IM platforms