# lark-channel-bridge

A bot that bridges the Feishu/Lark messenger with a local Claude Code or Codex CLI, so a user can run a coding agent from a chat message instead of a terminal, with streaming replies and a separate session per chat.

lark-channel-bridge connects Feishu (Lark) to a locally installed Claude Code or Codex CLI. After a one-time setup that scans a QR code to bind a PersonalAgent app, a direct message or an @mention in a group forwards to the local coding agent, whose text replies and tool calls stream back and update on a single Lark card in real time; an optional mode also shows the agent's progress messages before the final answer.

Each chat, topic or document comment thread keeps its own session, messages sent in quick succession are batched together, and commands such as starting a new session, changing the working directory, switching a saved workspace, or stopping the current task can interrupt a run in progress. Images and files sent to the bot are downloaded locally for the agent to use, and interactive cards provide buttons for help, listing workspaces and checking status.

It runs as a Node.js command-line tool and requires a locally installed and logged-in Claude Code or Codex CLI.

Website: https://github.com/zarazhangrui/lark-coding-agent-bridge
