Vibeleaderboard
Index / tool
Category
Developer Tools
Rank
No. 1051Tools index

Previous survey · No. 1043 ·

Pricing
Open Source
Type
TOOL
Use case
Coding
Interfaces
CLI
Date

About

A bot that connects Feishu and Lark chat to a local Claude Code or Codex CLI, so you can message your coding agent from a phone or group chat. Replies stream into a single card, each chat keeps its own session, and a command switches between project directories. It installs from npm and can run as a background service on macOS, Linux, or Windows.

What it does

Run it on the machine where Claude Code or Codex already works, scan a QR code with the Feishu or Lark app, and the bot becomes a chat front end for that agent. Each message starts an agent run on your own computer, and the answer plus tool activity is redrawn live on one card. Every chat, topic and document comment thread resumes its own agent session. Messages that arrive mid-run wait and merge into the next turn, and per-profile settings decide who may talk to the bot and how much the agent is allowed to touch.

Why it's ranked here

The engineering goes well past a thin relay. Every run passes a policy check covering who sent it, which folder it targets and what access applies, and that decision expires five minutes after it is made if the agent has not started. Card button callbacks require a signed token. Service install covers launchd, systemd and Windows Task Scheduler, and the project's CI runs tests, typecheck and build on macOS, Ubuntu and Windows. It is MIT licensed and installs from npm. The weight against it is the default: new profiles give the agent full, unprompted access.

What's good

Concurrency is handled deliberately. A 600 millisecond quiet window batches rapid messages, only one run is in flight per chat, and a global cap limits how many agent processes run at once. Separate profiles keep credentials, sessions and logs apart, so a Claude bot and a Codex bot can run side by side. The bridge refuses obviously dangerous working folders such as the filesystem root, the home folder and system directories. Exported profiles redact the app secret unless you explicitly ask for it, and the connection fails fast: a 3 second ping watchdog and an 8 second handshake timeout.

Tradeoffs

New profiles default to full access, which maps to Claude's permission-bypass mode and Codex's unrestricted mode, so anyone allowed to message the bot can make the agent run commands on your machine without prompts. Team mode opens use to every sender, with only admin commands still gated. The README states the working folder is not a sandbox. The local secret store derives its key from hostname and username, and its own comments say it does not stop another process running as you. Rejection messages and the agent instructions are written in Chinese, which English-only Lark teams will notice.

How to use it well

Best fit: a developer who already lives in Feishu or Lark and wants to check on, or steer, a local coding agent from a phone. Install globally rather than through npx before registering the background service, because the service records the CLI path. Before inviting anyone, drop the profile to workspace or read-only access and keep personal mode with an explicit allowlist instead of team mode. Run separate profiles for Claude and Codex. It does not cover Slack, Teams or other messengers, and it does not isolate the agent from your files.

Technical notes+

src/policy/run-policy.ts evaluateRunPolicy rejects on access-denied, unverified folder bindings or a rejected required attachment, then clamps permissions.defaultAccess and maxAccess against the agent capability, maps the result to a Claude permissionMode and Codex sandbox, and stamps a policyFingerprint plus an expiry of DEFAULT_TTL_MS (5 * 60 * 1000). src/runtime/run-executor.ts refuses an expired policy, reserves the scope (run-already-active), takes a ProcessPool slot, re-checks the reconnect pause twice, and fans agent events to subscribers through EventFanout with a 2000 ms post-done exit grace before stopping the child. src/bot/run-flow.ts resumes Claude by sessionId and Codex by threadId from a session catalog keyed on scope, agent, cwd realpath and policy fingerprint, so changing access starts a fresh session. src/policy/access.ts returns allowed-team for every sender when the profile mode is team; admin commands stay owner/admin gated. src/config/keystore.ts is AES-256-GCM with PBKDF2-SHA256 at 100,000 iterations over hostname and username plus a 32-byte salt, files written mode 0600. src/bot/channel.ts sets DEBOUNCE_MS 600, wsConfig pingTimeout 3, handshakeTimeoutMs 8000, httpTimeoutMs 30000 and respectProxyEnv. src/agent/bridge-system-prompt.ts, written in Chinese, restricts lark-cli auth login to p2p chats and requires a signed bridge_token on callback buttons. src/daemon/service-adapter.ts wraps launchd, systemd and schtasks behind one ServiceAdapter interface. package.json still points its repository field at feishu-claude-code-bridge.

Observed

License
MIT
Language and runtime
TypeScript (ES modules), Node.js 20.12.0 or later
Install
npm i -g lark-channel-bridge, or pnpm add -g
Interfaces
CLI binary, Feishu/Lark slash commands, and a library export of the card renderers
Supported agents
Claude Code and Codex CLI
Messenger platform
Feishu and Lark, built on @larksuite/channel
Background service
launchd on macOS, systemd user unit on Linux, Task Scheduler on Windows
Default access for new profiles
full: Claude bypassPermissions, Codex danger-full-access
Test and CI setup
Vitest; CI workflow runs test, typecheck and build on macOS, Ubuntu and Windows with Node 20
Secret storage
Local AES-256-GCM keystore, key derived from hostname and username

Read from README.md, package.json, src/index.ts, src/agent/index.ts, src/agent/bridge-system-prompt.ts, src/bot/run-flow.ts, src/bot/channel.ts, src/policy/access.ts, src/policy/run-policy.ts, src/runtime/run-executor.ts, src/config/keystore.ts, src/daemon/service-adapter.ts, .github/workflows/ci.yml.

Similar tools

Browse all tools →

Tags

feishularkclaude-codecodexchatbotcli

Tech Stack

Node.jsTypeScript

Editorially curated, with community endorsements as a secondary signal. Corrections welcome.